Commit graph

2885 commits

Author SHA1 Message Date
Alf Eaton
f1e1d55d8c Merge pull request #22964 from overleaf/ae-project-search-flush
Ensure that open docs are flushed before running full project search

GitOrigin-RevId: 6707cf982018908a37957503add73a085c749f61
2025-01-24 09:05:05 +00:00
Jessica Lawshe
e1a2bccf53 Merge pull request #22967 from overleaf/jel-user-settings-sso-institution
[web]  Fix SSO available check on user settings page

GitOrigin-RevId: e8322eb9d9cacad26054fc4a6186e41f66de7d22
2025-01-23 09:06:30 +00:00
roo hutton
ad096f82bf Merge pull request #21905 from overleaf/rh-pause-sub
Add support for pausing subscription

GitOrigin-RevId: f939ea4e7f3c2b1fa16dcb8aff1b2460d091d4e2
2025-01-23 09:06:04 +00:00
Domagoj Kriskovic
6fa75eb905 Workaround for editor updating file when not focused in Safari (#23023)
GitOrigin-RevId: da9341b2cadf4b073eb4062619a9fa7bcba17c6b
2025-01-23 09:05:51 +00:00
Alf Eaton
25c401f2a7 Restore padding on search form inputs (#22132)
GitOrigin-RevId: da5826711072fc39ecc8f8db05881bb0dc0eea87
2025-01-23 09:05:29 +00:00
Alf Eaton
50c6b8a831 Avoid mutating the previous state in a set function (#22935)
GitOrigin-RevId: b3613b8476bbb60a10ef6b293487b1017f56ea68
2025-01-23 09:05:19 +00:00
Alf Eaton
53214d4222 Create shared PanelHeading and CollapsibleFileList components (#22995)
GitOrigin-RevId: ffe524cc0ddf6a1cf532a50f37900b1747b2afee
2025-01-23 09:05:09 +00:00
Alf Eaton
25027e0155 Use MEMFS in Hunspell worker (#22998)
GitOrigin-RevId: ef60b2c333484499e6289c51eacab04b983e1090
2025-01-23 09:05:04 +00:00
David
037cc3b7a4 Merge pull request #22930 from overleaf/dp-filetree
Convert filetree components to typescript

GitOrigin-RevId: f06abb9705013d3da1a87c8f4bef4a82c4fab5d2
2025-01-22 09:05:01 +00:00
David
2365d8c199 Merge pull request #22836 from overleaf/dp-filetree-typescript
Convert file-tree util files to typescript

GitOrigin-RevId: bdf8d0655a543a216f028bc8477c3ee47aba5566
2025-01-22 09:04:56 +00:00
Rebeka Dekany
84deec4e5a Merge pull request #22993 from overleaf/rd-searchbar-button-fix-migration
[web] Fix close button alignment of search bar

GitOrigin-RevId: ef6761f6f068090d8cbf7e8922b257bd499ee5c3
2025-01-21 09:06:15 +00:00
Domagoj Kriskovic
1072f836ae Hide reply input if no comment permissions (#22955)
GitOrigin-RevId: eeb323e8d7426388f4291906299397f58095b46a
2025-01-21 09:05:58 +00:00
Domagoj Kriskovic
e5a4a8606f Prevent scrolling when reply input is focused (#22968)
* Prevent scrolling when reply textarea is focused

* remove focusIsOnTextarea check as it is handled above

* remove unnecessery setSelected

GitOrigin-RevId: 5ce3fc6691a19fe2566875785607bb4faa3e9f52
2025-01-21 09:05:49 +00:00
Mathias Jakobsen
6fba73c66a Merge pull request #22987 from overleaf/revert-22866-mj-typing-delay
Revert "[web] Remove activateOnTypingDelay from CM6 autocomplete"

GitOrigin-RevId: 1b598c8790bec1076db4d5a9feb551585565af05
2025-01-21 09:05:27 +00:00
Mathias Jakobsen
d34d15242e Merge pull request #22855 from overleaf/mj-ide-settings
[web] Add settings modal skeleton to editor redesign

GitOrigin-RevId: bc2e7f07f7ab737a67965fa615a04c8ee88b1271
2025-01-21 09:05:23 +00:00
Mathias Jakobsen
144334ec58 Merge pull request #22866 from overleaf/mj-typing-delay
[web] Remove activateOnTypingDelay from CM6 autocomplete

GitOrigin-RevId: 79c39932fce818f13bada824ceaecedd15d36b21
2025-01-21 09:05:18 +00:00
Jakob Ackermann
01ab32c029 [web] bump copyright year for Server Pro/CE to 2025 (#22950)
GitOrigin-RevId: 7747e64e787e22beb5caf6e47255ab6eeeb74d23
2025-01-21 09:05:06 +00:00
Antoine Clausse
d4a10c7b41 [web] Socket diagnostics updates (#22951)
* Increase threshold for "latency in red color"

* Fix online status in Chrome and Safari

* Add "Auto ping" checkbox

* Put `/socket-diagnostics` behind `AuthenticationController.requireLogin`

* Set logs to `logger.info` when debugging

* Add `publicId` and `clientId` to logs

* Fix disconnect logs when debugging

* Refresh UI every second. Display red "Ping Count" if unanswered for 3s

* Update services/web/frontend/js/features/socket-diagnostics/components/socket-diagnostics.tsx

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>

* Update services/web/frontend/js/features/socket-diagnostics/components/socket-diagnostics.tsx

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>

* `npm run format:fix`

---------

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
GitOrigin-RevId: 9faf2abdac51fa4b87c67d8fe89c4125d01d826f
2025-01-21 09:05:01 +00:00
Alf Eaton
413c108c28 Improve project search UI (#22909)
GitOrigin-RevId: 83bc59269250afef3d25434b14151dbde5be5e5c
2025-01-20 09:05:06 +00:00
Alf Eaton
17ae05a055 Add cause to "spell check loading failed" error (#22923)
GitOrigin-RevId: 37772c842bb9d92200c08fa7ce89ec0b85fe1b94
2025-01-20 09:05:02 +00:00
Alf Eaton
ce1d63d92c Create a shared module for CSS styles from user settings (#22925)
GitOrigin-RevId: 1e62258e1e38d8ab2ce8debc51c53a98f4e915f6
2025-01-20 09:04:57 +00:00
Domagoj Kriskovic
58c9f6e76e Hide resolve/edit/delete comment options for users without permissions (#22891)
GitOrigin-RevId: b3d2c1ba03ee836596abfc3da1260dec5a0a7714
2025-01-20 09:04:40 +00:00
Antoine Clausse
7bef003c56 [real-time, web] Create a UI to test socket connection (#22907)
* Create a UI to test socket connection

* Add Clock Delta to the measurements

* Add colors to DiagnosticItem

* Update icon

* Add more info to the diagnostics screen

* Add logs in backend on debug messages, disconnections and connection

* Add last received ping info

* Reorder DiagnosticItems

* Remove "warning" text color (too light)

* Replace Phosphor icons by Material Icons

GitOrigin-RevId: 6a015b4928cd19849ff287cf254f671840ed44af
2025-01-17 09:05:49 +00:00
Antoine Clausse
f9cc0c3bf4 [web] Scope ds-nav split test to project list (#22689)
* Add `dsNavStyle` prop, so `sidebar-navigation-ui-update` doesn't change all pages

* Use `useIsDsNav` instead of `useSplitTestContext`

* Create a `useDsNavStyle` hook

* Use `useDsNavStyle`

* Add comment on `useIsDsNav` and `NavStyleContext`

* Revert "Hide nav dropdown chevron icon in welcome page"

This reverts commit 78b5ba85

* Move `DsNavStyleProvider` usage to project-list-ds-nav.tsx

* Fix typo

* Simplify `useDsNavStyle` conditions

GitOrigin-RevId: df3fe66d772919c40df69d357bee6949ab413928
2025-01-17 09:05:41 +00:00
David
c919960d2b Merge pull request #22902 from overleaf/dp-remove-presentation-mode-flag
Remove pdf-presentation-mode feature flag

GitOrigin-RevId: 14e64115c539fe2721150ed6f09dfcc4ce9cbaaa
2025-01-17 09:04:49 +00:00
Mathias Jakobsen
849275c4b8 Merge pull request #22787 from overleaf/mj-ide-rail
[web] Create rail tabbed layout

GitOrigin-RevId: be54a224087aad8e6e2762d9c26463e37aecd9aa
2025-01-17 09:04:45 +00:00
M Fahru
03bb4c57f9 Merge pull request #22742 from overleaf/mf-remove-frontend-plans-page-dead-code
[web] Remove frontend plans page dead code

GitOrigin-RevId: 6db07b909f99a7afd17880698787a2c3527e879f
2025-01-16 09:06:55 +00:00
M Fahru
da6f332269 Merge pull request #22821 from overleaf/kh-cop-on-upgrade-modal
[web] limit COP group plans to 20 seats in upgrade modal

GitOrigin-RevId: b1d2713b978d0269892d8f547eeccc5ab702ea77
2025-01-16 09:06:37 +00:00
Alf Eaton
f069adaf15 Add full project search UI (#22671)
GitOrigin-RevId: f40c85f40f4c16b4b3c26a197924cd9ac9b3db1f
2025-01-16 09:05:45 +00:00
Alf Eaton
2fbb4615f9 Convert utility functions to TypeScript (#22658)
* Convert event-tracking to TypeScript

* Convert local-storage to TypeScript

* Convert mapSeries to TypeScript

* Convert SessionStorage to TypeScript

* Convert account-upgrade to TypeScript

* Convert isValidTeXFile to TypeScript

* Convert date functions to TypeScript

* Convert EventEmitter to TypeScript

* Convert isNetworkError to TypeScript

* Convert webpack-public-path to TypeScript

* Convert displayNameForUser to TypeScript

GitOrigin-RevId: 79c5a2d1101fcd520f3116f0f4af29d974189d94
2025-01-16 09:05:36 +00:00
Alf Eaton
386d6f8ffd Wrap range building in setTimeout (#22796)
GitOrigin-RevId: a0841e6eb9f2f637653dd0b8a37a61136097cc4f
2025-01-16 09:05:31 +00:00
Alf Eaton
f2f1178bcd Refactor isMac to a utility module (#22829)
GitOrigin-RevId: c6ab1dbeb1c56c35af121e7f657325a89fc847ea
2025-01-16 09:05:26 +00:00
Kristina
7994390967 [web] tear down group-pricing-2025 split test on non-plans pages (#22785)
* [web] rm split test from the change to group modal
* [web] rm split test from cancel flow
* [web] rm split test from checkout flow
* [web] rm unused translations

GitOrigin-RevId: 0188f2631ed18e79fdf55dabedac7cdea4f213d3
2025-01-16 09:05:22 +00:00
Domagoj Kriskovic
36f2e52167 Add comment option in editor toolbar (#22849)
* Add comment option in editor toolbar

* move addComment to commands

GitOrigin-RevId: 690b70f67abe5653f28ec9ec61deb3f201a78131
2025-01-16 09:05:12 +00:00
Domagoj Kriskovic
3d543b20b5 [web] Show most recently resolved comments at the top (#22835)
GitOrigin-RevId: cb42a0fe3d6bf5d23d329b6ef9732f7cb9612907
2025-01-16 09:05:07 +00:00
M Fahru
2ef5db2938 Merge pull request #22340 from overleaf/mf-clean-up-currency-format-test
[web] Clean up localized currency format test (`local-ccy-format-v2`)

GitOrigin-RevId: 30d671479522b87ee9205994508b745d2b0ae4c3
2025-01-14 09:05:49 +00:00
David
bf789a2635 Merge pull request #22799 from overleaf/dp-new-pdf-toolbar
Add toolbar styles and update pdf toolbar to match new editor designs

GitOrigin-RevId: 4d5d9c6fa3353c10dd135aa35440c8512a5d3226
2025-01-14 09:05:45 +00:00
Domagoj Kriskovic
39d1ba7fe0 Allow rejecting reviewers own track changes (#22793)
* Allow rejecting reviewers own track changes

* reject option only for change authors

GitOrigin-RevId: ecbc5ee9dfe6c468a5df3c1ce7b147561802a8c0
2025-01-14 09:05:25 +00:00
David
c0ccb57100 Merge pull request #22756 from overleaf/dp-preload-pdf-presentation
Load full pdf document in background when entering presentation mode

GitOrigin-RevId: 514ef838b155a7f13f3bc12690aef45fd3f2c3fc
2025-01-14 09:05:20 +00:00
Domagoj Kriskovic
1f23b78de2 Fixed equation preview overflow (#22769)
* Fixed equation preview overflow

* Decrease max-height to 200px

GitOrigin-RevId: 4a733d25e86b0d4adfb2dc697bc251ad244949b4
2025-01-14 09:05:15 +00:00
Alf Eaton
cffa9c1a28 Improve spell check when dictionary is edited (#22635)
GitOrigin-RevId: 20d36cb987d014809423240a46c7c577781dfde6
2025-01-14 09:05:03 +00:00
Alf Eaton
003fa536df Convert Chat components to TypeScript (#22672)
GitOrigin-RevId: b47a7fc3f77055335990ee0215bd32ae65b1ebfe
2025-01-14 09:04:45 +00:00
Mathias Jakobsen
182e9deada Merge pull request #22768 from overleaf/mj-ide-source-editor
[web] Add editor to editor redesign

GitOrigin-RevId: cdda3d5391866b882d6696ba833316aa91cf2856
2025-01-13 09:04:55 +00:00
Jimmy Domagala-Tang
6d5354d7fe Merge pull request #22795 from overleaf/jdt-offline-survey
feat: enable temporary survey hardcoded to only non ds-nav users
GitOrigin-RevId: b96ebb64d5a92d1c2421fc828a1769f31b7d363f
2025-01-10 09:05:40 +00:00
Brian Gough
2ce82fabab Merge pull request #22533 from overleaf/ar-only-use-history-for-blobs-when-enabled
[web] only use history for blobs when enabled

GitOrigin-RevId: 010983e9b29657d4c594e03945dca5700577bf0a
2025-01-10 09:05:32 +00:00
Domagoj Kriskovic
3e11fffaf0 Add delay on showing "Add comment" tooltip (#22600)
GitOrigin-RevId: eb2f2abc368fdba0e85a5611a4c73e3500b6bbb2
2025-01-10 09:04:55 +00:00
David
d6e763bc57 Merge pull request #22738 from overleaf/dp-new-editor-pdf
Drop in PdfPreview into new editor skeleton

GitOrigin-RevId: c88806904bd2534690a1540d7e39c5f81ab65709
2025-01-09 09:05:47 +00:00
David
e9e59bbcc9 Merge pull request #22720 from overleaf/dp-editor-redesign
Editor redesign skeleton page

GitOrigin-RevId: 966c88ac3714e4cc7de3e21951e4e1641bfd6852
2025-01-09 09:05:43 +00:00
Rebeka Dekany
65c2adbed0 Merge pull request #22629 from overleaf/rd-recompile-dropdown-close-fix-bs5
[web] Close the Recompile dropdown automatically after item selection

GitOrigin-RevId: 047fdd30990972be07ee2f0572cdf7d7dd3f5584
2025-01-09 09:05:26 +00:00
Alf Eaton
e1f880a62b Wrap dispatchSelectionAndScroll in setTimeout (#22596)
GitOrigin-RevId: 8c2c27acdbbf0e8879978e307ccf952c1be5381e
2025-01-09 09:05:08 +00:00