Commit graph

224 commits

Author SHA1 Message Date
Alf Eaton
2328dd1705 Add useAbortController hook (#4234)
GitOrigin-RevId: 731f86a2b07cd2c3189e6ca86bba9fbbc913f429
2021-06-24 02:06:45 +00:00
Alf Eaton
754fe8bff6 Merge pull request #4227 from overleaf/ae-enable-file-upload-test
Enable file drop/paste upload tests

GitOrigin-RevId: 90d4fc3621cee7142c1016aa8637bea2620b6ad0
2021-06-22 02:07:00 +00:00
Alf Eaton
03b11b2b6c Improve bibliography import tests (#4217)
GitOrigin-RevId: 25ddff808a8b427e024d9d1375a24fc86305c38e
2021-06-22 02:06:56 +00:00
Alf Eaton
1760d93fc4 Upgrade React to v17 (#4201)
* Upgrade react and react-dom
* Fix test
* Ensure that the "history:toggle" event is broadcast when switching in or out of history view
* Add ControlledDropdown
* Remove DropdownButton stories

GitOrigin-RevId: 3810f6986bb60e59af31f960f431c31be16554f5
2021-06-19 02:08:29 +00:00
Alasdair Smith
27cc8c5adf Merge pull request #4215 from overleaf/ae-symbol-search
Improve symbol palette search

GitOrigin-RevId: 03492ed8d94f1f7e8a8ed70757283fd4f565a360
2021-06-18 02:05:44 +00:00
Miguel Serrano
8856f3121d Merge pull request #4118 from overleaf/msm-fix-nav-toolbar-anonymous
Fix problems with React Navigation Toolbar on anonymous access

GitOrigin-RevId: 29b652ac2765129e3adf2f9bca2309e8a18ac823
2021-06-18 02:05:40 +00:00
Alf Eaton
387950b495 Add conditional rendering to CobrandingLogo (#4221)
Co-authored-by: Miguel Serrano <mserranom@gmail.com>
GitOrigin-RevId: 033cc5bfdbbd3cc03d11f28f9e2dc0cd6d95b8ff
2021-06-18 02:05:32 +00:00
Jessica Lawshe
f8ab7c32ea Merge pull request #4202 from overleaf/jel-gallery-pagination
Add pagination to the gallery

GitOrigin-RevId: 7107133da5e5ccf316235a6688070203c8bfa566
2021-06-17 02:09:38 +00:00
Jessica Lawshe
c34d5997e9 Merge pull request #4157 from overleaf/jel-gallery-search-via-algolia
Add gallery search via Algolia

GitOrigin-RevId: 82f306154c990e5ba047b7a7ab9e98f193995ede
2021-06-17 02:09:33 +00:00
Alf Eaton
ad3c66b36e Add IdeProvider (#4161)
GitOrigin-RevId: cab09354cf4b325a1ea3814a8c4c49fac7c831be
2021-06-17 02:09: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
Alexandre Bourdin
c634f51eee Merge pull request #4116 from overleaf/ab-paywall-prompt-events
Add paywall prompt events

GitOrigin-RevId: 6b1b3b384590f14828f37210b2e14047e2ee33d6
2021-06-11 02:05:54 +00:00
Alf Eaton
f5a9b80052 Merge pull request #4087 from overleaf/hb-chat-error-boundary
Chat error boundary

GitOrigin-RevId: 19bc6ee243d9b30510f2164462760bad04516ec3
2021-06-08 02:05:49 +00:00
Alf Eaton
35770f50ca Merge pull request #4127 from overleaf/ae-file-tree-menu-multiple-selection
Only show the file tree item menu when a single item is selected

GitOrigin-RevId: fe98ffb4627beba376b20432a1d489eeeadc520b
2021-06-04 02:08:32 +00:00
Alasdair Smith
3f4fa4c6cc Merge pull request #4099 from overleaf/as-clean-up-share-modal-window
Pull `user` and `isRestrictedTokenMember` from `ApplicationContext`/`EditorContext` instead of `window`

GitOrigin-RevId: 9084d4f1b075123fe4b10b1156c7b844595827e2
2021-06-04 02:08:24 +00:00
Jakob Ackermann
12eb7b38a2 Merge pull request #4096 from overleaf/msm-online-user-widget-test
OnlineUsersWidget and ToolbarHeader unit tests

GitOrigin-RevId: 5a8dfe94d54590b108a2caaa938f6e01ef844b67
2021-06-01 02:05:40 +00:00
Jakob Ackermann
1c2314a854 Merge pull request #4095 from overleaf/msm-fix-react-navbar-history-toggle
Fix history mode not being restored with React Nav Toolbar

GitOrigin-RevId: 0022153b24db015c6122f45ad7965830e0033540
2021-06-01 02:05:27 +00:00
Alf Eaton
cc6629693e Merge pull request #4114 from overleaf/ae-fix-share-modal-test
Fix share modal test by ensuring that scoped value is used

GitOrigin-RevId: 618dd15bf1b21403cc9a64d3174707ee713bda86
2021-05-30 02:08:54 +00:00
Jakob Ackermann
8f0a0439cd Merge pull request #4069 from overleaf/as-file-views-use-context
Pull project id from `EditorContext` instead of `window` in file views

GitOrigin-RevId: 78c2686d8bcd1e95414631ca77143fd9ae3edbc6
2021-05-22 02:05:56 +00:00
Jakob Ackermann
3f1ae7bff2 Merge pull request #4044 from overleaf/as-file-views-text-extension
Pull text extension list from settings, instead of hard-coding it

GitOrigin-RevId: b5ba956b8f065b852a2f5efc1a775ccb70df3226
2021-05-22 02:05:53 +00:00
Alf Eaton
609c4495f5 Check that user.refProviders[provider] is set to a truthy value (#4063)
* Ensure that user.refProviders is set to a truthy value

* Update stories

* Update tests

GitOrigin-RevId: 51919f755f6d3bcb9d3564685253222691b0d92b
2021-05-20 02:05:21 +00:00
Alf Eaton
b777e958d4 Merge pull request #3926 from overleaf/ae-decaffeinate
Decaffeinate settings files

GitOrigin-RevId: e9eed42864d537bb1ff5a46c05d990c819afc8eb
2021-05-20 02:05:15 +00:00
Timothée Alby
70952906c9 Merge pull request #4043 from overleaf/as-clean-up-exposed-settings
Remove `exposedSettings` from `ApplicationContext`

GitOrigin-RevId: 02acd3a7cf36d184560ff6df13acff515da908fa
2021-05-20 02:05:05 +00:00
Jessica Lawshe
fefb588d71 Merge pull request #3973 from overleaf/as-clean-up-hue-generator
Clean up hue generator

GitOrigin-RevId: 1b7fad05d7c2f6519efbbe0379f2449c273e4f4b
2021-05-19 02:06:15 +00:00
Alf Eaton
85347293ff Merge pull request #4037 from overleaf/ae-symbol-palette-test
Enable symbol palette test

GitOrigin-RevId: 5610c3bb82197f4c1a7a2768e1fe6924632a9300
2021-05-15 02:10:02 +00:00
Alf Eaton
0360d01aeb Add Symbol Palette component, data and stories (#4027)
GitOrigin-RevId: b00128bc087e2ebe9911fa19b7e62fd4bb492226
2021-05-14 02:09:50 +00:00
Miguel Serrano
bb88af80cf Merge pull request #3947 from overleaf/msm-reenable-eslint-rules
Reenable `eslint` rules

GitOrigin-RevId: a0aa5f941ba1bc49ff758b5256f91d696f442c6d
2021-05-14 02:09:45 +00:00
Miguel Serrano
1d4c7f71d5 Merge pull request #4010 from overleaf/msm-navbar-tests
Added tests for navbar chat button and project name

GitOrigin-RevId: fc33142ef80254d65505c2b623ac768f8a4dfdf2
2021-05-14 02:09:41 +00:00
Alf Eaton
7d3b989d74 Merge pull request #3977 from overleaf/as-file-tree-application-context
Pull user id from ApplicationContext instead of window in file tree

GitOrigin-RevId: e6c037b4a46ecdca066bcb5c67f6eeb8834f11fd
2021-05-13 02:09:11 +00:00
Alf Eaton
669e8f923f Merge pull request #4014 from overleaf/ae-react-translations
Add more translations to React components

GitOrigin-RevId: c0392472f4d6603c147876c30def36f329994af5
2021-05-13 02:08:56 +00:00
Miguel Serrano
f9871103bf Merge pull request #3949 from overleaf/msm-reenable-eslint-const-rule
Reenable eslint `prefer-const` rule

GitOrigin-RevId: 4f3825be8b8dff381095209085a36eaab76260d5
2021-05-06 02:09:14 +00:00
Shane Kilkelly
f1f8c4e152 Merge pull request #3965 from overleaf/ae-file-tree-popup
Use custom overlay for file tree dropdown menu

GitOrigin-RevId: 261b21953f9331427d6d368716662d7eaec65477
2021-05-01 02:13:14 +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
Alf Eaton
1be43911b4 Merge pull request #3942 from overleaf/prettier-trailing-comma
Set Prettier's "trailingComma" setting to "es5"

GitOrigin-RevId: 9f14150511929a855b27467ad17be6ab262fe5d5
2021-04-28 02:10:01 +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
Alasdair Smith
f33c00f2fd Merge pull request #3944 from overleaf/revert-3943-revert-3735-as-chat-reducer
Re-do Refactor chat store to use React state

GitOrigin-RevId: 626e3379ddb2f75680742df8957fbe350ba89881
2021-04-24 02:10:01 +00:00
Alasdair Smith
b3b8502e5e Merge pull request #3943 from overleaf/revert-3735-as-chat-reducer
Revert "Refactor chat store to use React state"

GitOrigin-RevId: e75e2d56a80c3741415bea3941a26f7dd8f505d3
2021-04-23 02:09:59 +00:00
Alasdair Smith
bb4523b7f6 Merge pull request #3735 from overleaf/as-chat-reducer
Refactor chat store to use React state

GitOrigin-RevId: 800a21c3c8a5c3c628c0a13bcb091675d1fb6f25
2021-04-23 02:09:54 +00:00
Jakob Ackermann
b276587c42 Merge pull request #3911 from overleaf/ae-share-modal-link-sharing
Only use project sharing data from the websocket connection

GitOrigin-RevId: 4549a6379dfebb00581ca4ddf276654fbbb3701d
2021-04-16 02:05:24 +00:00
Alf Eaton
1ebc8a79cb Merge pull request #3495 from overleaf/ae-prettier-2
Upgrade Prettier to v2

GitOrigin-RevId: 85aa3fa1acb6332c4f58c46165a43d1a51471f33
2021-04-15 02:05:22 +00:00
Miguel Serrano
f9962fefe8 React git-bridge modal (#3869)
GitOrigin-RevId: 5b2609ed9ad7909a10cb08342053e955447688f5
2021-04-01 02:06:05 +00:00
Alf Eaton
5653116cdb Reset the "select collaborators" combobox when needed (#3821)
GitOrigin-RevId: 773ea3ff01d2b6ec058728430174b77fadc481c8
2021-04-01 02:05:41 +00:00
Alf Eaton
d0d28524a2 Switch to useScopeValue for project data in Share modal (#3823)
GitOrigin-RevId: f82170c241c59cf7b66fea7e1471004e46ab3547
2021-04-01 02:05:30 +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
Miguel Serrano
7a36373a0f Merge pull request #3863 from overleaf/hb-clear-content-outside-heading-def
Remove content outside of the title commands for outline

GitOrigin-RevId: 4361521b5e1ae8adc853ed4fb250cbeeaebb1d71
2021-04-01 02:04:54 +00:00
Alf Eaton
79a520dd1c Use defaultVariables to define variables for all translations (#3815)
GitOrigin-RevId: d7b30f523edba7c384d5207a44643acdbbedc74c
2021-03-26 03:04:45 +00:00
Alf Eaton
ee79728bf9 Only check a user's features for importing from reference provider (#3797)
GitOrigin-RevId: cc5a36be20c673f8941a2694eaeba80eebb4db6a
2021-03-25 03:04:57 +00:00
Paulo Jorge Reis
15f49994bd New compile UI autocompile (#3762)
* Animate recompile button when autocompile is waiting

* Add code-check failed notice to the new compile UI

GitOrigin-RevId: 83b62f41438e8e5b94bd893c222bec37745c0f57
2021-03-19 03:04:50 +00:00
Alf Eaton
ba4300d9e1 Merge pull request #3518 from overleaf/ae-react-create-file-modal
Migrate "Add Files" modal to React

GitOrigin-RevId: fc5235108ee65294e3176da9c327791c34aa5b3c
2021-03-19 03:04:46 +00:00
Alf Eaton
d9576189a3 Merge pull request #3636 from overleaf/ae-share-modal-split
Migrate Share modal to React

GitOrigin-RevId: 96a52df6ffd751cfcca2bbb68eb9e7a6dc31ff28
2021-03-13 03:05:10 +00:00
Miguel Serrano
a555f0d309 [ReactNavToolbar] Project name + pdf and share project buttons (#3709)
* Added project name, pdf toggle and share project buttons to navigation toolbar

* Added PropTypes check to `useChatContext()`

* React context updates for project name/rename, pdf view and share moda

* Hide PDF button when pdfLayout != 'flat'

GitOrigin-RevId: 3f4a1b072259df7148d3417cd22116702bdd79ac
2021-03-11 03:05:33 +00:00
Alf Eaton
59f6f34083 Merge pull request #3710 from overleaf/ae-refactor-hotkeys-modal
Refactor "HotKeys" modal

GitOrigin-RevId: 1df86322bac229bb04092e872300e5f1ee4cbddc
2021-03-06 03:04:46 +00:00
Alf Eaton
c8f139cced Merge pull request #3707 from overleaf/ae-refactor-word-count-modal
Refactor "Word Count" modal

GitOrigin-RevId: 00561b5b3f8f161238321c440ecde67cd42ece1c
2021-03-06 03:04:42 +00:00
Alf Eaton
1707a2555b Merge pull request #3705 from overleaf/ae-refactor-clone-modal
Refactor "Copy Project" modal

GitOrigin-RevId: b6039d57c29c04a7cd20dd4a2ab5216d485c05ed
2021-03-06 03:04:39 +00:00
Miguel Serrano
d55e46d3c0 Merge pull request #3642 from overleaf/msm-history-track-changes-toggles
[ReactNavToolbar] Track changes and History toggle buttons.

GitOrigin-RevId: a67a9a488c0960dba3f3d374cde4db0080ed2952
2021-02-24 03:04:17 +00:00
Eric Mc Sween
2138bd2a80 Merge pull request #3680 from overleaf/as-em-tm-remove-uiconfig
Remove unused uiConfig global variable from frontend and tests

GitOrigin-RevId: 390abdc097cd9904f7a1c1849e58baf70bea5c72
2021-02-23 03:04:39 +00:00
Paulo Jorge Reis
326c63e2af Compile UI improvements for beta release (#3644)
* Increase errors cap in the new compile UI to 99

* Improve messaging for stopped compiles

GitOrigin-RevId: d34973e9ef71562d64cfc8018634753e47e4dee8
2021-02-18 03:05:29 +00:00
Jakob Ackermann
da641ba039 Merge pull request #3649 from overleaf/as-chat-test-cleanup
Chat test cleanup

GitOrigin-RevId: 4323d93f64f0e51efd2931acbc77fc9b43a216cd
2021-02-18 03:04:51 +00:00
Miguel Serrano
d78644e02c Merge pull request #3632 from overleaf/msm-navbar-collaborator-widget
[ReactNavToolbar] Collaborators widget

GitOrigin-RevId: 65f2484962591103f02eb7624a974d0806b1abf0
2021-02-11 03:04:36 +00:00
Miguel Serrano
77c35e3715 Merge pull request #3633 from overleaf/msm-react-context-validation
Added PropTypes validation to react context

GitOrigin-RevId: 86950bdacf366035d1cfd923c7e7674d543b380f
2021-02-11 03:04:33 +00:00
Alf Eaton
c7f3c72663 Merge pull request #3618 from overleaf/ae-fetch-json-oerror
Ensure that fetchJSON always throws OError

GitOrigin-RevId: 24bea67992e7b5957b2eaaf5ffe2202879534d39
2021-02-11 03:04:25 +00:00
Miguel Serrano
b35114b81a Merge pull request #3628 from overleaf/ae-global-localstorage
Use Object.defineProperty to set global.localStorage for tests

GitOrigin-RevId: 541a253a6d19fcc93b40c74942ae8ecffb85fa60
2021-02-10 03:04:51 +00:00
Miguel Serrano
260b878b7d [ReactNavToolbar] Chat Toggle Button + chat-context (#3625)
* Added toggle chat button to navigation header

* new `useBrowserWindow` hook to work with browser title and focus

* react2angular chat toggle button plumbing

GitOrigin-RevId: 4380f1db9c7cc9a25bfb8d7a33e18d61b1d32993
2021-02-10 03:04:39 +00:00
Timothée Alby
b6eefe4e6e Merge pull request #3640 from overleaf/ta-file-tree-input-draggable
[ReactFileTree] Disable Draggable when Renaming Entity

GitOrigin-RevId: 7241815d43791685453431aa95b8258ec17d3f81
2021-02-10 03:04:28 +00:00
Alf Eaton
dfffc76562 Merge pull request #3617 from overleaf/ae-fetch-json-data
Rename "responseBody" to "data" in fetchJSON error object

GitOrigin-RevId: 75c166b23cbef22e82232f334ef373c66d9612a7
2021-02-06 03:04:30 +00:00
Eric Mc Sween
6d2a041b1c Merge pull request #3612 from overleaf/ae-upgrade-testing-library
Upgrade testing-library

GitOrigin-RevId: 600fec9e497d7ec5743a15de892d0dc55e6b95db
2021-02-04 03:04:54 +00:00
Hugh O'Brien
9b70fe7318 Merge pull request #3614 from overleaf/msm-chat-add-message-id
[Chat] Added `id` to message groups

GitOrigin-RevId: 45e73ad236984bfbac45c837e603c6ae04382972
2021-02-04 03:04:39 +00:00
Miguel Serrano
4955231abf Merge pull request #3601 from overleaf/ta-file-tree-open-doc-null
[ReactFileTree] Fix Possible Entities Not Found Error

GitOrigin-RevId: 15fd8c0ad115cc30427114330e2a6e960fd2e9a2
2021-01-28 03:04:47 +00:00
Paulo Jorge Reis
11e58b5844 Add timeout upgrade prompt to the new compile UI (#3528)
* Uncouple account-upgrade and exposted-settings from Angular

* Mock socket shim with the correct methods

* Extract timeout upgrade prompt to a component

GitOrigin-RevId: ee8058b38bf5e20924a21f40d32c5bb0ee06c555
2021-01-15 03:05:48 +00:00
Eric Mc Sween
5f9544ad69 Merge pull request #3559 from overleaf/ta-file-tree-404-fix
[ReactFileTree] Fix Handling of 404 on Deletion

GitOrigin-RevId: 8b955710929246168ac5cc29acda7a893164fc1d
2021-01-15 03:05:34 +00:00
Eric Mc Sween
dc48ba1d61 Merge pull request #3550 from overleaf/ta-disconected-overlay
Add Disconnected Overlay Over File Tree

GitOrigin-RevId: bdcd4f58effe841eb223abbb852e0b0f574efefd
2021-01-15 03:05:29 +00:00
Eric Mc Sween
e1ffeef06a Merge pull request #3561 from overleaf/ta-file-tree-move-fixes
[ReactFileTree] Move & Rename Validation Fixes

GitOrigin-RevId: 30c2ff17454246c82a03d0b869a810048c9f5dad
2021-01-15 03:05:24 +00:00
Miguel Serrano
864a75c284 Fixed unread message count in react chat (#3529)
* Fixed unread message count in react chat

The problem was caused by ChatStore being instantiated multiple times on each `useRef` call, plus also incorrectly cleaned-up, since it should be calling `socket.removeListener` instead of `socket.off` on effect destroy.

* deferred loading messages until chat is opened

GitOrigin-RevId: b990cd06cea6630472b0911b56219766717aaff6
2021-01-12 03:04:26 +00:00
Timothée Alby
d121b81896 Merge pull request #3548 from overleaf/ta-file-tree-init-fix
[ReactFileTree] Fix Initial State When Selected File Doesn't Exist

GitOrigin-RevId: 92ee8573203e66abf26c9b3afab2fccd90ec8c2e
2021-01-09 03:04:15 +00:00
Timothée Alby
759fbe8587 Merge pull request #3535 from overleaf/spd-ta-bugfix-crash-on-selected-child
[ReactFileTree] Unselect Children when Deleting Folder

GitOrigin-RevId: 410183f5af596ec70f9c739503944966c68677fc
2021-01-08 03:05:33 +00:00
Timothée Alby
2ca6d2dadb Merge pull request #3430 from overleaf/msm-filetree-open-selected-entity
[ReactFileTree] Use Local Storage for Open/Closed state of folders and selected doc

GitOrigin-RevId: 55073c92fef6c6e1d538a42b22d60d8657b92153
2021-01-08 03:05:18 +00:00
Alf Eaton
669c72ed2c Merge pull request #3445 from overleaf/ae-wordcount-modal
Migrate word count modal to React

GitOrigin-RevId: cfb5beceec7ba3a992a808b9e7417170d580b392
2021-01-07 03:04:59 +00:00
Alf Eaton
0135236df8 Merge pull request #3446 from overleaf/ae-clone-project-modal
Migrate left menu Clone Project modal to React

GitOrigin-RevId: ad113e2b40de4007def513d40551d55bb0c913db
2021-01-07 03:04:54 +00:00
Timothée Alby
f36269ef0a Merge pull request #3466 from overleaf/ta-accessible-modal
Fix Aria-Hidden Modals

GitOrigin-RevId: bcce61104220ebcf04e9c348d9f3ab84bff8804a
2021-01-06 03:08:14 +00:00
Alf Eaton
2ff1cf43d6 Merge pull request #3470 from overleaf/eslint
Upgrade and configure ESLint

GitOrigin-RevId: ad5aeaf85e72c847a125ff3a9db99a12855e38aa
2020-12-16 03:08:28 +00:00
Miguel Serrano
1fcf94c3b9 Merge pull request #3436 from overleaf/msm-react-shared-context
React shared context

GitOrigin-RevId: ebc6fa90dd8c65ddf803fd457c99a30f0e8e3c9c
2020-12-15 03:05:07 +00:00
Jakob Ackermann
50b7591a11 Merge pull request #3469 from overleaf/msm-add-koma-outline-sections
Add addpart, addchap, addsect levels to Outline

GitOrigin-RevId: 4e750664011c208df6403a7d6efd52ce30fc5310
2020-12-12 03:04:30 +00:00
Alf Eaton
4c42f6fd71 Merge pull request #3443 from overleaf/ta-file-tree-noselect
[ReactFileTree] Show Create Actions When No Entities Are Selected

GitOrigin-RevId: b98146fe83ce72b3122e8c8905c864a2fd73c5ad
2020-12-11 03:04:47 +00:00
Alf Eaton
771a39f267 Merge pull request #3441 from overleaf/3803-hotkeys-modal
Migrate hotkeys modal to React

GitOrigin-RevId: 78399d3d62771cd296bdc2f4f8b1083263d31551
2020-12-11 03:04:42 +00:00
Hugh O'Brien
88b9c371bc Merge pull request #3447 from overleaf/ae-eslint-braces-rule
Enable react/jsx-curly-brace-presence rule

GitOrigin-RevId: f3683cf7ae4566bcfa442fff2242370331209a54
2020-12-10 03:04:57 +00:00
Hugh O'Brien
be51810be5 Merge pull request #3410 from overleaf/hb-validate-new-folder
React File Tree - Validate new folder names and renames

GitOrigin-RevId: f040eb08e2daefb3dfd639e18aaef95d7123d727
2020-12-10 03:04:38 +00:00
Jakob Ackermann
fae53738f5 Merge pull request #3423 from overleaf/as-ta-sentry-fixes
Improve loading of Sentry reporter in frontend

GitOrigin-RevId: fc05aa48ad0e816b4ef0f5dafb6cf00525a28223
2020-12-04 03:05:43 +00:00
Paulo Jorge Reis
4e74fb2694 Log pane improvements (#3418)
* Ordering of log entries in the new errors UI

* Don't show the expand-collapse widget when not needed; smaller font size in the raw log output

* Expose log actions in the log pane.

* Use "This project" instead of "Your project" in the new errors UI

* Better handling of long log messages; left-ellipsize the file/line number button

* Make log location more button-like; add tooltip when needed.

* Add a PDF expand button to the toolbar.

* Add a stop compilation button to the new compile UI

* Use aria-label for button accessible text; improve handling of long filenames in the log location button

* Set max-height correctly for the logs pane dropdown

* Avoid changing raw logs sizing when expanded and collapsed

* Add comment on the solution for right-to-left text and ellipsis

* Improve logs pane actions

GitOrigin-RevId: 4098d77a9ee6d333644906876b9ff27035b79319
2020-12-03 03:04:28 +00:00
Jakob Ackermann
1fe7eaab90 Merge pull request #3417 from overleaf/ta-outline-noinfo
Remove New Feature Info from Outline

GitOrigin-RevId: 61c737d77ffa020d291da5ab1022dfd2057141f6
2020-12-01 03:04:23 +00:00
Timothée Alby
420aa4a657 Merge pull request #3232 from overleaf/ta-file-tree-react
React File Tree

GitOrigin-RevId: fb3141ba8cd9ca0d68e87edb74764a360144c8fe
2020-11-27 03:05:05 +00:00
Jessica Lawshe
d7f32179e4 Update download dropdown style (#3399)
* Update translation

* Move dropdown header to top of list

* Do not wrap header in download dropdown

GitOrigin-RevId: 326428272592fc54f9915d5946877e59a60f967e
2020-11-27 03:04:44 +00:00
Paulo Jorge Reis
081f4212a8 Add error and validation issues (#3400)
* Remove references to the duplicatePaths validation

* Make the log entries more generic, to support validation and CLSI errors

* Add validation issues to the new logs UI

* Add CLSI errors to the new logs UI

* Update tests; accessibility fixes

* Disable PDF viewing when compile fails; address PR feedback.

* Add accessible description for error and validation failed compiles

GitOrigin-RevId: 8b0597af8857712d47c20e4915470e8e745bb315
2020-11-27 03:04:38 +00:00
Miguel Serrano
3b1c4e19a4 Merge pull request #3300 from overleaf/msm-chat-react-store
React chat store

GitOrigin-RevId: 204009eb5798b02a41e621b33b05ef0cb9d10b15
2020-11-25 03:04:29 +00:00
Paulo Jorge Reis
01cc057f6b Add raw logs to new errors UI (#3378)
* Add raw logs to new compile UI

* Address feedback

* Update test/frontend/features/preview/components/preview-logs-pane.test.js

Co-authored-by: John Lees-Miller <jdleesmiller@gmail.com>

Co-authored-by: John Lees-Miller <jdleesmiller@gmail.com>
GitOrigin-RevId: af9c653e13d93434467b122f4c388493e786212c
2020-11-17 03:04:16 +00:00
Paulo Jorge Reis
619ec15309 Add first error popup (#3369)
* Add first error popup

* Address PR feedback

GitOrigin-RevId: e924b3e6096584de6f363aae70a62328cd3de83d
2020-11-17 03:04:11 +00:00
Jessica Lawshe
d138837049 Merge pull request #3367 from overleaf/ho-ms-jel-chat-a11y
Improve chat accessibility

GitOrigin-RevId: 853da57460c7e3a18abbe1130553e34bd661b6b3
2020-11-10 03:04:40 +00:00
Jessica Lawshe
21ffe27bdd Merge pull request #3330 from overleaf/jel-toolbar-btns
Hide toolbar text and show tooltip when out of space

GitOrigin-RevId: 5a73b69e7d92695c4f8691a747307908550e3790
2020-11-10 03:04:35 +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
Jessica Lawshe
6a837ce457 Merge pull request #3311 from overleaf/jel-button-test
Add required prop to button test

GitOrigin-RevId: c653b0429e4b9e9921e3e913fc0ff5ea445615a3
2020-11-03 03:05:03 +00:00
Jessica Lawshe
edd43228a1 Merge pull request #3305 from overleaf/jel-download-dropdown-divider
Only show header/divider if download list is separated

GitOrigin-RevId: 832c53bf973e6615a5c2ef526a8fad0835913bcc
2020-11-03 03:04:58 +00:00
Miguel Serrano
df37668180 Merge pull request #3267 from overleaf/msm-react-chat-tests
React chat tests

GitOrigin-RevId: e3b4d5b7cb2657d9aad7e1006c18db4e6c0d8a3f
2020-10-28 03:04:53 +00:00
Jakob Ackermann
85d37f8990 Merge pull request #3308 from overleaf/revert-3278-as-prop-type-test-fail
Revert "Make prop-type errors fail the frontend tests"

GitOrigin-RevId: 903fba2a6f22d392ba748ff334db0ddbc63ac896
2020-10-22 02:04:54 +00:00
Jakob Ackermann
a124c3e4f4 Merge pull request #3278 from overleaf/as-prop-type-test-fail
Make prop-type errors fail the frontend tests

GitOrigin-RevId: 4676239be8bfc541397740bdbe4044751e088c82
2020-10-22 02:04:32 +00:00
Jessica Lawshe
6fe36b6acb Merge pull request #3282 from overleaf/jel-download-dropdown-menu
Add output download dropdown

GitOrigin-RevId: 1f97f0d681679268d28796fbc8251ffbc6e98433
2020-10-21 02:04:32 +00:00
Jessica Lawshe
f8a8c9bbd6 Merge pull request #3242 from overleaf/jel-add-recompile-from-scratch
Add recompile from scratch option

GitOrigin-RevId: 59836df9049e307acb11824058024919409ea4a4
2020-10-21 02:04:27 +00:00
Paulo Reis
4f847b35d3 Fix tests.
GitOrigin-RevId: 18e4d9e58922aae00e603269c907499da949d27f
2020-10-16 02:05:06 +00:00
Paulo Reis
876c292d22 Add compile status indicator to new React-based errors UI.
GitOrigin-RevId: 545953e156d589a56ffd038bb7a40bba97770d06
2020-10-16 02:04:45 +00:00
Alasdair Smith
0d78719320 Merge pull request #3224 from overleaf/ta-frontend-tests-lint
Run Lint Test Rules on Frontend Tests

GitOrigin-RevId: 03d3618eab2c6d2822233607da3ffa64ac132cd0
2020-09-27 02:05:27 +00:00
Jessica Lawshe
d87ad11719 Merge pull request #3210 from overleaf/ta-icon-component
Create Icon Component in React

GitOrigin-RevId: 34161b3afa2c00dbca2423b1e5a42b29846fa6e4
2020-09-22 02:05:09 +00:00
Chrystal Maria Griffiths
512e76ef4e Merge pull request #3195 from overleaf/ta-outline-tests
More outline tests

GitOrigin-RevId: d0f4d6137cf0bf5f408801983658a79bf230967d
2020-09-19 02:04:55 +00:00
Chrystal Maria Griffiths
170f996e5f Merge pull request #3199 from overleaf/ta-outline-parser-tests
Add Outline Parser Tests

GitOrigin-RevId: 2f487c7c70bc7441a828922f8273351bffcdfef2
2020-09-19 02:04:49 +00:00
Chrystal Maria Griffiths
81ddc5c382 Merge pull request #3205 from overleaf/ta-as-local-storage
New Custom LocalStorage Implementation

GitOrigin-RevId: f80fd5f9f24af02690a51cf3c57f61f95b90e98e
2020-09-19 02:04:43 +00:00
Timothée Alby
3f99a5ca73 Merge pull request #3157 from overleaf/ta-outline-item-tests
Outline Item Tests

GitOrigin-RevId: fa8c564ce75e3abfa9b977691635392e87cdde81
2020-09-16 02:04:31 +00:00
Miguel Serrano
b573374d0e Merge pull request #2950 from overleaf/as-jsdom-tests
JSDOM tests

GitOrigin-RevId: d9e39c61fb2028c5b5577488d74720ef2985eebc
2020-07-11 02:04:35 +00:00
Jessica Lawshe
d9e4bda90b Merge pull request #2859 from overleaf/ns-cmg-history-labels-deletion
Ensure history label dissapears from UI when deleted

GitOrigin-RevId: fe48cbce9fbd70f7008043dc202a5d985bd6c5fb
2020-06-12 02:10:35 +00:00
Alasdair Smith
8f5270899f Merge pull request #2707 from overleaf/as-transform-esm
Transform frontend module format from AMD to ESM

GitOrigin-RevId: 9adbcdc95e819a54114010c6fd3521d8f58ef2fe
2020-05-20 03:21:38 +00:00
Alasdair Smith
bc1b73d74e Merge pull request #2515 from overleaf/as-transform-absolute-paths
Transform absolute paths in frontend to relative

GitOrigin-RevId: c1914c0fd09d68984ba6c85a1f00aa3e6858d944
2020-04-07 03:18:45 +00:00
nate stemen
3a2bdfe7f1 Merge pull request #2665 from overleaf/pr-fix-spelling-markers-safari
Spellcheck improvements + fix spelling markers being out of place

GitOrigin-RevId: fa70e257f96f78d3570c86871f85c79daf08014c
2020-03-19 04:17:09 +00:00
Timothée Alby
620b95fbe8 Merge pull request #2656 from overleaf/jpa-import-709
[misc] fileOperationI18nNames: drop blocking DOM access

GitOrigin-RevId: e6aab686fc8d4fe3b5515033b88548278c7bf7c0
2020-03-10 04:14:42 +00:00
Simon Detheridge
73defe82d9 Merge pull request #2561 from overleaf/pr-reduce-spellcheck-initial-req
Reduce spellcheck initial (and subsequent) requests

GitOrigin-RevId: 81eee359ea1bc740991ba84b0fe121c37cb4c6a2
2020-02-13 04:20:44 +00:00
Alasdair Smith
f2ad7ebfc3 Merge pull request #2429 from overleaf/as-move-deps-to-bundle
Move jQuery and Angular dependencies to bundle

GitOrigin-RevId: cee1507044438c8c435d934476f6ea6281215ccd
2019-12-17 04:22:53 +00:00
Alasdair Smith
e035d526d6 Merge pull request #2287 from overleaf/as-frontend-rearch
Restructure frontend directories

GitOrigin-RevId: 5a1224ca186f4809df45680a80d374c1c318d7bf
2019-11-05 14:22:52 +00:00