Commit Graph

630 Commits

Author SHA1 Message Date
Alf Eaton
c629355472 Only select content when opening a file if it matches the expected text (#23324)
GitOrigin-RevId: 8b180ab897bb9027743c37f2b7faf690b7177eb6
2025-02-05 09:05:23 +00:00
Alf Eaton
87186eb568 Standardise naming of openDocId as openDocWithId or currentDocumentId (#23307)
GitOrigin-RevId: d71b6d878188c7b916f02a3749976ecd96d648a3
2025-02-05 09:05:15 +00:00
Alf Eaton
797686939f Merge pull request #23284 from overleaf/ae-scope-event-types
Improve scope event types

GitOrigin-RevId: 5327c56a14244a2513748d3bcbac04413d104e12
2025-02-05 09:04:58 +00:00
Jimmy Domagala-Tang
7f7c2408c8 Merge pull request #23281 from overleaf/jdt-opp-prompts-teardown
Opportunistic prompts teardown

GitOrigin-RevId: ccca9b043dce9abc5719371c3adcdf41ec6510c3
2025-02-04 09:05:25 +00:00
Alf Eaton
5e491cc0c0 Use thread id in removeNewCommentRangeEffect (#23205)
GitOrigin-RevId: 6082f5e6d6f548eff43da657526097118a2d3c11
2025-02-03 09:04:48 +00:00
David
d731afed90 Merge pull request #23134 from overleaf/dp-remove-math-preview-flag
Remove math-preview feature flag

GitOrigin-RevId: a5235cf36b692b0e3dc36ff6185ebc7ef169d21e
2025-01-30 09:05:17 +00:00
Alf Eaton
6ccf61e1f2 Disable spell check if WebAssembly is not available (#23136)
GitOrigin-RevId: c209540579e0d8ff7f62dc66ff5d850450b18600
2025-01-29 09:04:41 +00:00
Alf Eaton
9e040d6946 Select matched text when a file is opened from a full project search result (#23139)
GitOrigin-RevId: bd3b66e89b70c4fa1d77e401d9e5fa755876ce9f
2025-01-29 09:04:33 +00:00
Alf Eaton
b0a1a4e9d8 Remove equation preview beta badge (#23133)
GitOrigin-RevId: 1fb233dbceaf7f006f29b4f457084c802696e108
2025-01-28 09:04:58 +00:00
Alf Eaton
daaf134b07 Fix Vim search input color (#23094)
GitOrigin-RevId: bf0d5e3417f3ba9fe669c3baf4a34a54c4b61900
2025-01-28 09:04:54 +00:00
Alf Eaton
4351805f7c Remove CM6 performance measurement (#22663)
GitOrigin-RevId: 2178f2b66c200005517ed8ff52afadd8b5fda14b
2025-01-28 09:04:50 +00:00
Mathias Jakobsen
77dd468c20 Merge pull request #23026 from overleaf/mj-wc-settings-second-try
[web] Move write and cite setting storage

GitOrigin-RevId: 88a234c15b4dd2a9b451170e3b474d88bb6d45f7
2025-01-24 09:05:22 +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
25027e0155 Use MEMFS in Hunspell worker (#22998)
GitOrigin-RevId: ef60b2c333484499e6289c51eacab04b983e1090
2025-01-23 09:05:04 +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
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
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
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
f2f1178bcd Refactor isMac to a utility module (#22829)
GitOrigin-RevId: c6ab1dbeb1c56c35af121e7f657325a89fc847ea
2025-01-16 09:05:26 +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
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
e1f880a62b Wrap dispatchSelectionAndScroll in setTimeout (#22596)
GitOrigin-RevId: 8c2c27acdbbf0e8879978e307ccf952c1be5381e
2025-01-09 09:05:08 +00:00
Alf Eaton
45facc0f78 Call MathJax.typesetClear after typesetting a table cell (#22604)
GitOrigin-RevId: d36236a47815841ee3662f1b9121b4a224d3dada
2025-01-09 09:05:04 +00:00
Alf Eaton
aaeac2cd72 Ensure that all callbacks for useEventListener are wrapped in useCallback (#22618)
GitOrigin-RevId: 4a7c409a9720eab04fc17e5111b6a3aeeac6871d
2025-01-09 09:05:00 +00:00
Alf Eaton
823069d13e Remove feedback link from spelling suggestions (#22634)
GitOrigin-RevId: f75dffe5395ad15441aee603c494afdf8488642e
2025-01-09 09:04:47 +00:00
Alf Eaton
9c9ffd8a08 Improve spell check edit tracking (#22577)
GitOrigin-RevId: 237e454b56fc18199bf64087dd3cfb93749b8468
2024-12-19 09:04:37 +00:00
Eric Mc Sween
659f15d010 Merge pull request #22571 from overleaf/dk-add-comment-mouseup2
Show add comment tooltip on mouse up

GitOrigin-RevId: d12b10c0c3d481a509c19eaacaf8055c2c65ff30
2024-12-18 09:05:47 +00:00
Alf Eaton
c0cbe51828 Avoid dispatching unnecessary transaction for review panel tooltip (#22524)
* Avoid dispatching unneeded review panel effects
* Remove event listeners

GitOrigin-RevId: 17fec45f660fdd7934aa6ef3202159377902f6a5
2024-12-17 09:05:11 +00:00
Alf Eaton
d434a2ba86 Remove toolbar visibility button (#22519)
GitOrigin-RevId: 51084bf6f21a6ecaf9d38dab33a8e1541bf62bc8
2024-12-17 09:05:06 +00:00
Alf Eaton
9b82969e44 Upgrade CodeMirror dependencies (#22489)
GitOrigin-RevId: 77d2773a382ddb8dfa8f3a66bd6f8041720490b3
2024-12-17 09:05:02 +00:00
David
4a8163b3f3 Add new trackedWrite frontend permission for review panel (#22486)
* Add new trackedWrite frontend permission for review panel

* Fix test lint

* Remove comment

* Fix codemirror tests

* hide file actions for reviewer

---------

Co-authored-by: Domagoj Kriskovic <dom.kriskovic@overleaf.com>
GitOrigin-RevId: 6aab5c662287a02750d81b3960bbdd9c98b325db
2024-12-17 09:04:48 +00:00
Domagoj Kriskovic
174d62e4cc Improve positioning of "Add comment" tooltip when selecting entire line(s) (#22277)
* Avoid obscuring text with "Add comment" tooltip when selecting entire line

* tooltip position change on direction of selection

GitOrigin-RevId: d8cd301091104dae2422e34e14f90afd4c0927c4
2024-12-09 09:04:52 +00:00
Tim Down
b3edd2b6c6 Merge pull request #22288 from overleaf/td-history-dropdown-layout-fix
Fix history dropdown layout issue in Bootstrap 3

GitOrigin-RevId: 85709eaa45fd496128afb95738841894c5d211dd
2024-12-04 09:04:51 +00:00
Alf Eaton
078a3b8d05 Use --font-sans in the Visual Editor widgets (#22085)
GitOrigin-RevId: 64a480562b3e7d2fda7d41ed402511290f800f14
2024-11-28 09:04:54 +00:00
Tim Down
065464f722 Merge pull request #22147 from overleaf/td-bs5-beta-badge-special-cases
Alpha/beta badge fixes and change warning badge colours in Bootstrap 5

GitOrigin-RevId: f60610572c62607db7e5cf349c5791c3519c74ed
2024-11-27 09:05:04 +00:00
Alf Eaton
b4f624d8f6 Record events for shortcut usage (#22062)
GitOrigin-RevId: ff85e0719fca24a3723ea62119fa254226cd65c0
2024-11-26 09:04:37 +00:00
Alf Eaton
3bbde49781 Merge pull request #22055 from overleaf/ae-restore-review-tooltips
Reapply "Allow position of review tooltip to be calculated automatically (#21803)"

GitOrigin-RevId: b6dff2d12627b04ff1859bd4765be01670256aa4
2024-11-22 09:05:33 +00:00
Alf Eaton
bc310ddd1e Revert "Allow position of review tooltip to be calculated automatically (#21803)" (#22022)
This reverts commit 7d285a9c76032a3238422e15a73ae4b819612b31.

GitOrigin-RevId: 792391619bd6f2a9483428088c31ece09a441b33
2024-11-21 09:05:12 +00:00
Antoine Clausse
e576ffd63c [web] Hide pdf-log-entry-content when empty + fixup search "count" color (#21977)
* Hide `PdfLogEntryContent` when there is no content

* Fixup in search "count": `--ol-blue-gray-4` doesn't exist in SCSS

* Update `AiErrorAssistant` with a `shouldRender` export, allowing to hide the element from the caller

* Revert "Update `AiErrorAssistant` with a `shouldRender` export, allowing to hide the element from the caller"

This reverts commit 01812fa2b108b94c99d250c9a39e4f3c41b36781.

* Hide .log-entry-content when empty, using CSS

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>

---------

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: c5096b362600058535bd645cf11dad255e941fb9
2024-11-21 09:04:34 +00:00
Alf Eaton
2304e6d32b Upgrade Lezer dependencies (#21987)
GitOrigin-RevId: 5eb834bb1144c499ea29539750f1b73edeeff2f8
2024-11-21 09:04:03 +00:00
Alf Eaton
598ccab8b4 Allow position of review tooltip to be calculated automatically (#21803)
* Remove view from textSelectedEffect
* Upgrade @codemirror/view to 6.34.3

GitOrigin-RevId: 7d285a9c76032a3238422e15a73ae4b819612b31
2024-11-21 09:03:59 +00:00
Alf Eaton
36acad4d1b Rename $SectioningCommand to $SectioningCtrlSeq or $Section (#21534)
GitOrigin-RevId: 5b3173d82ec4c00fe69e2ab059bf48a872a4ca3e
2024-11-18 09:04:51 +00:00
Alf Eaton
2dee905361 Merge pull request #21535 from overleaf/ae-grammar-grouping
* Move $MathContainer grouping into the LaTeX grammar
* Remove $Environment grouping from NodeProp.group

GitOrigin-RevId: 96c74edd818bf84acf4b492702864c3c71a9bee3
2024-11-18 09:04:46 +00:00
Antoine Clausse
bf26ef58a2 [web] Migrate "Manage Template" option in editor left menu to BS5 (#21799)
* Update manage template modal to BS5

* Update `ManageTemplateButton` to BS5

* Update `OLFormControl` prop types so it has its `as` props

* Update `LeftMenuButton` to BS5

* Fixup linting

* Update `ManageTemplateModalBody` style:

* Bold label
* Correct rows in BS3

* Set spinner color to `text-muted` instead of blue

* `npm run format:fix`

GitOrigin-RevId: c5311e4786b2859a8b7cf567d19cd3d7614dd3db
2024-11-15 09:05:37 +00:00
Domagoj Kriskovic
edb4e3d537 Improve selection detection for "Add comment" tooltip (#21731)
GitOrigin-RevId: cd13cacea0d6e45015997f3a831d0f127ddf8cd8
2024-11-12 09:05:57 +00:00
Alf Eaton
66fee7a794 Only use the LaTeX indent service for when inserting a line break (#21530)
GitOrigin-RevId: 15c5e5afdee59badc833fe2deb13a80b3c409862
2024-11-12 09:05:30 +00:00
Mathias Jakobsen
595c60327e Merge pull request #21737 from overleaf/dp-eq-preview-beta-badge-v2
Update split test badge for math preview tooltip V3

GitOrigin-RevId: 9ff41f5bc68ba6cd4d7a1c7e8d5f1f725369c02a
2024-11-11 09:05:17 +00:00
Rebeka Dekany
4563273396 Merge pull request #21680 from overleaf/rd-dyslexic-font
Add OpenDyslexic Mono typeface font to the source editor

GitOrigin-RevId: 8826e51cfa50f1d5ffc2217fb86fb4d1dec21b92
2024-11-11 09:04:42 +00:00