Commit graph

56 commits

Author SHA1 Message Date
Domagoj Kriskovic
3d5e8c9877 add 'Ace removal' notification (#12800)
* add 'Ace removal' notification

* prettier

* add memo, window.clearTimeout

* remove warning for server pro

* added tracking events

* useCallback for onClick

* fix: event rename

GitOrigin-RevId: 70bce8b93bae233e7183a941abaf2ec7a70ddfb6
2023-04-28 08:04:19 +00:00
ilkin-overleaf
d1d47b2767 Merge pull request #12339 from overleaf/ii-react-history-editor-and-change-list-init
[web] History editor and change list initialisation

GitOrigin-RevId: bb7800301d28c296bd524212cd27ddcd8defd149
2023-03-23 09:06:24 +00:00
Tim Down
1f2c06b1d0 Position Grammarly button on top of CM6 editor
GitOrigin-RevId: f96d1897c38e8e14e9247690ee49972a2170f80e
2023-03-07 09:06:33 +00:00
M Fahru
b62cb86bf8 Create new SplitMenu component and implement it for the pdf compile button (detached & non-detached) (#11772)
* Create a new shared `SplitMenu` component.

* Refactor the pdf compile button & detached compile button:
    - Rename `detach-compile-button` to `detach-compile-button-wrapper`
    - Rename `pdf-compile-button-inner` to `detach-compile-button`
    - Move some of the logic from `detach-compile-button-wrapper` to `detach-compile-button`
    - Create a new `compile-button.less` to centralize all of the compile button (detached/non-detached) custom styles rule.
    - Extract the animated striped CSS definition to the dedicated CSS file, change the class from `btn-recompile-group-has-changes` to `btn-striped-animated`
    - Refactor other className(s) appropriately according to the new component name
    - Delete the unused `changes-to-autocompile` css rule since it has not been used anywhere

* Implement the new pdf compile button with the new `SplitMenu` component.

GitOrigin-RevId: d1d055bffd311923fc47b4681605ce8ba8e26f25
2023-02-22 09:04:42 +00:00
Alf Eaton
85fbded781 Improve the Rich Text toolbar (#11616)
GitOrigin-RevId: d1999be629ac048058ffd82004865728796a3feb
2023-02-07 09:04:39 +00:00
Mathias Jakobsen
f3dac1aa95 [cm6+rt] Move CM6 formatting toolbar to panel (#11395)
GitOrigin-RevId: 97036c57d63fb7590dda7c98df3347ee83f41ae5
2023-01-25 09:05:05 +00:00
Miguel Serrano
ed9bd54836 Merge pull request #11308 from overleaf/revert-11289-mj-right-toolbar
Revert "[web] Change pdf control toolbar alignment for CM6 RT"

GitOrigin-RevId: 71e7941afbdb3e77186760e3d2a0ce3655bdbc1a
2023-01-18 15:07:50 +00:00
Alf Eaton
a1aa65724a Merge pull request #11289 from overleaf/mj-right-toolbar
[web] Change pdf control toolbar alignment for CM6 RT

GitOrigin-RevId: c3906df7ebf8da7097c680cdd58fc4bfb3f75704
2023-01-18 09:04:23 +00:00
Mathias Jakobsen
778aa45e96 Merge pull request #11247 from overleaf/mj-toolbar-overflow
[cm6+rt] Wrap formatting buttons if editor is too narrow

GitOrigin-RevId: d1b234c721f4bed67f1da567b90139f0c95895f0
2023-01-17 09:05:27 +00:00
Tim Down
08567c290e Add second CM6 switch-away survey (#10789)
Restart CM6 switch-away survey

GitOrigin-RevId: 1d62aaf27834cb3919f6ca30c269a1ef3c2e9a5e
2022-12-07 09:04:35 +00:00
M Fahru
d70e0b1c0e Implement grammarly warning alert on cm6 users
GitOrigin-RevId: ed272bbc385faa69811ec1891075906cdca1c984
2022-11-16 09:06:39 +00:00
M Fahru
19dd2f67e2 Implement "switch away survey" when users switching back to ace from cm6 (#10201)
Implement legacy source editor survey:

* Force user to switch to cm6 if they haven't seen switch away survey

* Only show user switch away survey if they open ace from another editor

* We need to wait 3 seconds until the survey is being shown

* Add comment to explain the reasoning of not showing cm6 switch away survey for rich text users

* Use localstorage `editor.has_seen_cm6_switch_away_survey` setter to not show the survey if user has seen the survey

* the `editor.has_seen_cm6_switch_away_survey` will have the value `true` even if user is not interacting with it, so update comment to reflect that

* Add `once: true` option to keydown event to avoid unnecessary callback invocation upon key presses

GitOrigin-RevId: c26be2bb39efac2dff112c821fca893e5993dcbf
2022-11-04 09:05:50 +00:00
M Fahru
d98e32f38a Remove unused class selector.
This is an artefact and should have been removed when we removed the rich text survey component.

GitOrigin-RevId: cdda625b02328b8c300a91178733321ecfcd7290
2022-10-28 08:05:07 +00:00
Timothée Alby
4af5ed24ad Merge pull request #9866 from overleaf/ta-pdf-detach-safari-no-warnings
Remove PDF Detach Safari Warning

GitOrigin-RevId: 80f17660d81dc3812fab74c5e2ea4ff23cd7f1d0
2022-10-18 08:03:20 +00:00
Tim Down
5aa325cf51 Merge pull request #9712 from overleaf/td-galileo-notification-close-button
Improve styling of Galileo notification close button

GitOrigin-RevId: faf0a4180f4f3e837bd4f2302e2689aa4dd1564e
2022-10-04 08:03:19 +00:00
Alf Eaton
25725bd79f Add Rich Text survey message in PDF preview pane (#9423)
GitOrigin-RevId: e190ae569d5e2390e8bcf52672757cc7f269ea56
2022-09-02 08:04:41 +00:00
Timothée Alby
c074e7acf8 Merge pull request #9432 from overleaf/ta-galileo-bibtex-copy-hint
Show Bibtex Copy Hint After Selecting Galileo Suggestion

GitOrigin-RevId: 879598d7a949f99c248b6536ca86542b63906be1
2022-09-02 08:04:02 +00:00
Alf Eaton
d905863002 Merge pull request #8747 from overleaf/ae-error-boundary-fallback
Create a generic ErrorBoundaryFallback component

GitOrigin-RevId: 0c9200ddef2be3b90030a32eb8c36a59047cf2b4
2022-08-10 08:03:51 +00:00
Alexandre Bourdin
d501bc4820 [web] Compile time warning split test (#8813)
* Implement compile time warning split test

* Add i18n for compile time warning

* Memoize CompileTimeWarning component

* Reuse startFreeTrial() function from account-upgrade

* Improve usage of react bootstrap native properties

* Cleanup compile-time-warning

* Move all logic into CompileTimeWarning component

* Only show compile time warning to project owners

* Handle compile time warning in detached mode and while switching layout

GitOrigin-RevId: 4fc40acfc113f91c81a6744c14c0f8b3ef766e39
2022-07-14 08:03:50 +00:00
Alf Eaton
c8b0e81550 [cm6] Tidy up advanced references search banner code (#8674)
GitOrigin-RevId: a0044b9328af03a77ac3c3e5d5caa594bbd5fe6b
2022-07-08 08:04:49 +00:00
Jakob Ackermann
bfad0841a4 Merge pull request #8483 from overleaf/jpa-faster-compiles-feedback-ui
[web] faster compiles feedback UI

GitOrigin-RevId: 9feea47503aa6bddf51adb73b8c9fbef394fda14
2022-06-22 08:05:14 +00:00
Timothée Alby
32741c07e0 Merge pull request #8218 from overleaf/ta-pdf-detach-safari-warnings
PDF Detach Safari Warning

GitOrigin-RevId: e6f8942d8c8c141d887c44921a09716c4e4c85ae
2022-05-31 08:04:36 +00:00
Timothée Alby
c66278cf89 Merge pull request #8148 from overleaf/ta-pr-dictionary-style
Polish Dictionary Modal UI

GitOrigin-RevId: 48aceb56c84a218380c619ecc5cd527f5062d3c4
2022-05-27 08:04:16 +00:00
Alf Eaton
12369b9f9a Merge pull request #7809 from overleaf/jpa-more-references-search-results
[misc] show more references search results

GitOrigin-RevId: e3edc78b85a13e663f692ab90b7bf8cd0246a34f
2022-05-12 08:04:12 +00:00
Timothée Alby
c16762e347 Merge pull request #7503 from overleaf/ae-revert-7286
Revert "Increase z-index of full-size and navbar-main components"

GitOrigin-RevId: 4949fac2dabbb7d356fc4ced27181a90a269128e
2022-04-13 08:03:31 +00:00
Alf Eaton
ef77b23888 Increase z-index of full-size and navbar-main components (#7286)
GitOrigin-RevId: dec7c507f896a7775fdf71784ad60a8645b2474d
2022-04-11 08:03:17 +00:00
Alf Eaton
69a2283984 Upgrade to webpack v5 (#7249)
GitOrigin-RevId: 69dc5f9aad3e045cc6904e3663e9965094eced76
2022-04-07 08:03:46 +00:00
Timothée Alby
ac3eb878d6 Merge pull request #7172 from overleaf/ta-pdf-viewer-backdrop-hide
Fix Logo Backdrop in PDF Viewer

GitOrigin-RevId: ae9eb98dc8a51a882354b6ddea095df2bed51346
2022-03-24 09:03:44 +00:00
Timothée Alby
dfa3178034 Merge pull request #7162 from overleaf/ta-pdf-viewer-backdrop-fix
Fix Logo Backdrop in PDF Viewer

GitOrigin-RevId: 2c0c6c0921d4cc02720d4f5339dbbfb16f28363f
2022-03-23 09:02:48 +00:00
ilkin-overleaf
e20cbad116 Merge pull request #7086 from overleaf/ta-pdf-viewer-backdrop
Add Logo Backdrop in PDF Viewer

GitOrigin-RevId: 242a8c5a08abf5b90f8abdb144eb768a63fd1a0e
2022-03-22 09:03:46 +00:00
June Kelly
d71da1de88 Merge pull request #6177 from overleaf/jk-resizer-z-index
[web] Fix z-index on panel resizers

GitOrigin-RevId: 4f31fd6fc05f7eb88631f6aab6926d17b2e35e14
2022-01-13 09:03:19 +00:00
Timothée Alby
f6fc3d468c Merge pull request #5854 from overleaf/ta-pdf-detach-v2
PDF Detach Updates

GitOrigin-RevId: c09c4fe37a922b041cfa1376e110a264a88177c8
2021-12-01 09:03:41 +00:00
Alf Eaton
3a2b5f06a2 Merge pull request #5820 from overleaf/ae-codemirror-editor-height
[web] Set source-editor id attribute

GitOrigin-RevId: 62ddc44f5de52aad9a6117e28be45f7641b1c277
2021-11-23 09:02:48 +00:00
Alf Eaton
3feca1ffc6 Move symbol palette to module and add overlay (#5396)
GitOrigin-RevId: 649dd56aaecd60662bd2bf534bda323ee541874f
2021-11-11 09:03:05 +00:00
Jakob Ackermann
d257884dce Merge pull request #4318 from overleaf/pr-fix-review-panel-preview
Force visible overflow in the editor container

GitOrigin-RevId: 7509f428fdce211b1443324eb92bc622af6159f1
2021-07-20 11:33:29 +00:00
Alf Eaton
764234e42b Merge pull request #4158 from overleaf/ae-rename-file-view
Rename `binary-file` components to `file-view`

GitOrigin-RevId: b960d4e6f154ee1a5847782a1fcb1e4e61159603
2021-06-11 02:06:38 +00:00
Alf Eaton
0360d01aeb Add Symbol Palette component, data and stories (#4027)
GitOrigin-RevId: b00128bc087e2ebe9911fa19b7e62fd4bb492226
2021-05-14 02:09:50 +00:00
Chrystal Maria Griffiths
3dfcb95802 Merge pull request #3960 from overleaf/cmg-binary-file
[BinaryFile] Reopening of Binary file React migration

GitOrigin-RevId: 050e66e3321bd6579d44932b669fc0a31df06d18
2021-04-29 02:09:38 +00:00
Alexandre Bourdin
82d7d6681e Merge pull request #3927 from overleaf/msm-react-navbar-rename-tooltip
React navbar rename tooltip

GitOrigin-RevId: a933aa8654e0c5b0e22cfc72f6262cc75da0ccf7
2021-04-28 02:10:15 +00:00
Chrystal Maria Griffiths
4e9d7c36ff Merge pull request #3952 from overleaf/revert-cmg-binary-file
Revert "Merge pull request #3526 from overleaf/cmg-binary-file"

GitOrigin-RevId: 5f539f26992fefd01b07922b1f43a3a3bc753141
2021-04-24 02:10:12 +00:00
Eric Mc Sween
1186c3e9a4 Merge pull request #3526 from overleaf/cmg-binary-file
[BinaryFile] Binary file React migration

GitOrigin-RevId: e229ad8ec3781607b5ca28387927b84d4af95060
2021-04-24 02:10:07 +00:00
Miguel Serrano
f9962fefe8 React git-bridge modal (#3869)
GitOrigin-RevId: 5b2609ed9ad7909a10cb08342053e955447688f5
2021-04-01 02:06:05 +00:00
Miguel Serrano
445c850004 Revert "React Git Bridge Modal (#3757)" (#3867)
This reverts commit cf883b776a9ddc7975977534dc453ece4b3ec431.

GitOrigin-RevId: 462d7282d2c706ef5395c25a335239bfac4787a6
2021-04-01 02:05:27 +00:00
Miguel Serrano
835c60071d React Git Bridge Modal (#3757)
* git-bridge-modal react component and stories
* added react git-bridge-modal to angular tree

GitOrigin-RevId: cf883b776a9ddc7975977534dc453ece4b3ec431
2021-04-01 02:05:24 +00:00
Simon Detheridge
12f3e8d6bb Merge pull request #3847 from overleaf/ae-user-select-out-of-sync
Display the Out Of Sync modal file contents in a readonly textarea

GitOrigin-RevId: b91ff3ad32c3ed07987858e83571887ae356f4f3
2021-03-31 02:05:42 +00:00
Jakob Ackermann
c6a853c7ed Merge pull request #3332 from overleaf/pr-new-log-entries-ui
New log entries ui

GitOrigin-RevId: a13ccac04197e7c8f3777750b956d550c95c8f0d
2020-11-06 03:04:59 +00:00
Miguel Serrano
c504f2a64c Merge pull request #3320 from overleaf/hb-spellcheck-visibility-on-current-line
Add z-index to spellcheck highlight to make it always visible in some themes

GitOrigin-RevId: 5e29ec5ddb6dd40d908e6c044f529edbcf0dd615
2020-10-28 03:04:48 +00:00
Timothée Alby
1012dbc3c4 Merge pull request #2961 from overleaf/ta-spike-outline
Document Outline Spike

GitOrigin-RevId: adc315a3546147eb10c7a40ae70f9cab1cbf7b8d
2020-06-30 02:10:19 +00:00
Jessica Lawshe
176c0f3742 Merge pull request #2942 from overleaf/jel-css-is-overleaf
Start removing is-overleaf from CSS

GitOrigin-RevId: fa37bedd857fc492f8d2e1df1758e2e5f924f000
2020-06-26 02:10:02 +00:00
Eric Mc Sween
67874f1f53 Merge pull request #2852 from overleaf/cmg-highlight-references-keyboard
Fix highlights on reference search not working on key down

GitOrigin-RevId: ab123e40e99b66389a725476645a7abb881776ad
2020-05-21 03:22:12 +00:00