Commit graph

108 commits

Author SHA1 Message Date
Jakob Ackermann
99a414f345 Merge pull request #4656 from overleaf/jpa-rewrite-quotes-in-locales
[misc] rewrite single quote to left/right single quotation mark in locales

GitOrigin-RevId: a021fb6841425555b9af79a9146820299cb93fc2
2021-08-17 08:04:49 +00:00
June Kelly
4737982cdd Merge pull request #4675 from overleaf/msm-fix-review-button-ce
Remove Track Changes button in CE

GitOrigin-RevId: 7e682ea9cce8d23ba0fffc95cfb379588f0fd42e
2021-08-13 12:57:17 +00:00
June Kelly
1fb1c08348 Merge pull request #4673 from overleaf/msm-rename-project-onblur
Rename project on blur instead of canceling renaming

GitOrigin-RevId: fe58b48d5ab37357df33e970338e8b96c3ec1986
2021-08-13 12:57:09 +00:00
Miguel Serrano
cc2861a2a3 Show hint for Symbol Palette search (#4373)
GitOrigin-RevId: cfdba4f31117cc406cee06e9a97db567c65d5348
2021-08-04 02:05:41 +00:00
Hugh O'Brien
d2f5509fed remove unnecessary extra bool check for cobranding (#4368)
GitOrigin-RevId: 3f1c6b03030d7fd59be802053f6bcf49e919e0ea
2021-08-04 02:05:39 +00:00
Alexandre Bourdin
3d963027eb Merge pull request #4340 from overleaf/jpa-ta-hide-unavailable-new-file-options
[frontend] hide new file from project UX when feature are disabled

GitOrigin-RevId: 8407453267dded1f97d19cede5a13691610b97e7
2021-07-30 13:08:08 +00:00
Jessica Lawshe
944ec4e47b Merge pull request #4320 from overleaf/hb-handle-invalid-filenames-upload
Handle invalid filenames in upload modal

GitOrigin-RevId: f3438d8653cf29ef9536a71692c03b5802d90a6d
2021-07-28 02:07:07 +00:00
Paulo Jorge Reis
0ee18df3e4 Revert "Revert "Improve copy for single errors or warnings""
This reverts commit f01e0726b9a0119bc7f8bda3a98c2c0df5026e51.

GitOrigin-RevId: fc44d227e50c46260fbedb8c80fdca24092f81eb
2021-07-07 02:05:40 +00:00
Miguel Serrano
cbb0fd41e2 Merge pull request #4273 from overleaf/msm-update-publish-modal-permissions
User 'write' permission to display the publish button

GitOrigin-RevId: f73ccf05b165ef1ef9e57e3aea4c04d177aba6d4
2021-07-01 12:29:59 +00:00
Paulo Jorge Reis
f4822e4407 Revert "Improve copy for single errors or warnings"
This reverts commit 1fdd270d4148abd0385e4258bb634cf769cce8c5.

GitOrigin-RevId: f01e0726b9a0119bc7f8bda3a98c2c0df5026e51
2021-06-29 02:05:52 +00:00
Miguel Serrano
9b59c0813c Replaced application-context with user-context (#4246)
* Replaced `application-context` with `user-context`
* deleted `user` initialization with `window.user`
* fixed tests and storybook

GitOrigin-RevId: 0ed4b9070d7c6d370fee2112f310c4bcfea519e7
2021-06-26 02:05:53 +00:00
Miguel Serrano
b7802674d5 Merge pull request #4245 from overleaf/msm-extract-project-context
React `project-context`

GitOrigin-RevId: 6a23437d6e6a328ff5854622ff903d348db1f8b8
2021-06-26 02:05:49 +00:00
Paulo Reis
7b7c6eb1b4 Improve copy for single errors or warnings
GitOrigin-RevId: 1fdd270d4148abd0385e4258bb634cf769cce8c5
2021-06-25 02:06:20 +00:00
Alf Eaton
7c97f8ab6e Switch to new JSX runtime (#4225)
* Use new JSX runtime and update Babel Node target
* Update .eslintrc
* Remove React imports

GitOrigin-RevId: 559de0267f8f2934c56a860ea8701bb522aa861a
2021-06-24 02:06:59 +00:00
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
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
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
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
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
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
Alf Eaton
5653116cdb Reset the "select collaborators" combobox when needed (#3821)
GitOrigin-RevId: 773ea3ff01d2b6ec058728430174b77fadc481c8
2021-04-01 02:05:41 +00:00