Commit graph

86 commits

Author SHA1 Message Date
Alf Eaton
44b241b5ca Upload files dropped onto the file tree (#8064)
GitOrigin-RevId: 97043661e344b72ff742326c9dc2809e46d0bb9c
2022-07-22 08:04:02 +00:00
Jakob Ackermann
50dd7a37f7 Merge pull request #8567 from overleaf/jpa-missing-class
[web] fetch compileBackendClass for linked project output downloads

GitOrigin-RevId: fc29aa700df879402ba1734775160799ce8ce61d
2022-06-24 08:05:01 +00:00
June Kelly
c07aa9638b Merge pull request #8258 from overleaf/jk-clean-up-too-many-files-errors
[web] Count folders toward entity limit on frontend

GitOrigin-RevId: ef07a61639f0dc516c83e4ed0f2fdc35e8b6d3fa
2022-06-09 08:02:18 +00:00
Timothée Alby
5731463d32 Merge pull request #7956 from overleaf/ii-refactor-toolitp-usage
Tooltip usage refactoring

GitOrigin-RevId: f4b2d4d57722172141a081dd60e4394ff7fff332
2022-05-19 08:04:07 +00:00
Alf Eaton
54d66a8e09 Handle undefined $scope.connection (#7899)
GitOrigin-RevId: d54fbd9da2bfe694cca91a81ccff3ec669b181e3
2022-05-17 08:04:53 +00:00
Alf Eaton
cd09e2c029 Retry after re-linking reference provider (#7904)
GitOrigin-RevId: f34e78e4594404ec74acaa40230d8bfe9dcd7661
2022-05-17 08:04:31 +00:00
Jakob Ackermann
52073a13a9 Merge pull request #7867 from overleaf/jpa-compile-group
[web] pass compileGroup to clsi-lb

GitOrigin-RevId: c15adbff27e702b3e0f29be5b57f7a9520d8d02f
2022-05-16 08:03:36 +00:00
Alf Eaton
11b3e7b6c8 Improve spacing in file tree (#7736)
GitOrigin-RevId: f1cbc3b3f637d15d56d40693b15f53c53a24792f
2022-05-12 08:04:30 +00:00
Alf Eaton
3ccd925d29 Merge pull request #7866 from overleaf/ae-createref
Replace createRef with useRef

GitOrigin-RevId: c037806acaa917a5aa7a41a6f07747bd24410de7
2022-05-12 08:04:24 +00:00
Alf Eaton
af77e97e4f Handle file upload errors without response (#7490)
GitOrigin-RevId: 359870a45e501af85618dd4a33b7b1618e8902ac
2022-04-25 08:04:34 +00:00
Timothée Alby
a110c4d7bd Merge pull request #7323 from overleaf/ta-synctex-disable-multi-one-way
Don't Disable Synctex PDF-to-Code Button

GitOrigin-RevId: 90328e0fea8cb5358217ce866839f5e1a4a73b94
2022-04-13 08:03:36 +00:00
Alf Eaton
cdbf3879b4 Handle file upload errors without response.body (#7047)
GitOrigin-RevId: a6c06bac5a74d2d4e9ea9c65f5d62b105e17ef24
2022-04-11 08:03:19 +00:00
ilkin-overleaf
57e60c05ca Merge pull request #7066 from overleaf/ta-synctex-disable-multi
Disable Synctex Controls for Docs and Multiselections

GitOrigin-RevId: 9f14e68228f9aa13a4188918930fc8cdb5eefabf
2022-03-22 09:03:21 +00:00
Timothée Alby
f8988e8087 Merge pull request #6958 from overleaf/ta-file-tree-selection-flat-3
Explicitly Distinguish Docs and Files

GitOrigin-RevId: 90738dd47b36342aed0eaf46a3842042d9d0f4b6
2022-03-03 09:02:59 +00:00
Timothée Alby
b2e93f7db7 Merge pull request #6800 from overleaf/ta-file-tree-selection-flat-2
File Tree File Selection in Flat PDF View Take 2

GitOrigin-RevId: 0e7732e3a4df0650a6410d202c06c4852666615d
2022-03-02 09:02:27 +00:00
Timothée Alby
4dc4286d1b Merge pull request #6778 from overleaf/ta-revert-file-tree-selection-flat
Revert File Tree File Selection in Flat PDF View

GitOrigin-RevId: c82b0155c4e028ee54345083c97c4ee3b7cc7ed5
2022-02-16 11:40:46 +00:00
Timothée Alby
9049691f42 Merge pull request #6683 from overleaf/ta-file-tree-selection-flat
File Tree File Selection in Flat PDF View

GitOrigin-RevId: a6169e7d167e26f4b086ca13acd863988ce07c2f
2022-02-16 11:40:09 +00:00
Alf Eaton
f065a7a909 Improve the Icon component (#6245)
GitOrigin-RevId: fbb23b32c47edbe5a22badc627318accbd09e82a
2022-01-20 09:03:58 +00:00
Timothée Alby
6319455e91 Merge pull request #6236 from overleaf/ta-project-context-strict
Strict Project Context

GitOrigin-RevId: a0f7f2b3dcb29fbd0102dcb920cf5424a921d583
2022-01-11 09:05:03 +00:00
Timothée Alby
24bd557485 Merge pull request #6210 from overleaf/ta-file-tree-data-in-context
Remove rootFolder from EditorContext

GitOrigin-RevId: 827b046046265ad2418eb91d5a69eae02aa8b5a4
2022-01-11 09:04:56 +00:00
Timothée Alby
392410390e Merge pull request #6209 from overleaf/ta-file-tree-rework
File Tree Misc Code Changes

GitOrigin-RevId: dce64a5378ecee5c8a2e25e02502ae631d87f36b
2022-01-11 09:04:50 +00:00
Alf Eaton
50df230846 [web] Upgrade Prettier to match version in monorepo root (#6231)
GitOrigin-RevId: 02f97af1b9704782eee77a0b7dfc477ada23e34d
2022-01-11 09:03:23 +00:00
Timothée Alby
1201a733d9 Merge pull request #6083 from overleaf/ta-on-select-conditional
Avoid Calling onSelect When Selection Hasn't Changed

GitOrigin-RevId: 20e9b9a905195c98c60fafe132adfbaa90925e40
2021-12-15 09:04:39 +00:00
Hugh O'Brien
a5323293e0 Merge pull request #5636 from overleaf/hb-single-context-menu-for-file-tree
Use context menu for all file tree dropdowns

GitOrigin-RevId: 8283093b428b4cb53bc1ed7795e398ffe4bd3496
2021-11-10 09:02:32 +00:00
Alexandre Bourdin
4b4ed6147c Merge pull request #4341 from overleaf/jpa-ta-error-message-linked-files
[misc] better error msg for failed compiles when linking project files

GitOrigin-RevId: cac3d9e5cf25918dc8f5e259d106c145235c15c1
2021-07-30 13:08:12 +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
Alexandre Bourdin
89b031a21a Merge pull request #4240 from overleaf/ns-trim-urls
Trim outer whitespace when adding file from external URL

GitOrigin-RevId: b85b1aac81a138d7ebc11b36f180468cdf778b8c
2021-07-06 02:05:58 +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
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
eebeffc1c5 Merge pull request #4188 from overleaf/ae-memo
Improve React performance by memoizing components and values

GitOrigin-RevId: 805278b8b7ac04c3dc4b078fa53cc0e3770d261b
2021-06-22 02:07:08 +00:00
Shane Kilkelly
05e427624b Merge pull request #4180 from overleaf/ae-new-file-button
Open the new file modal with an event

GitOrigin-RevId: 1eca8faf63bdd2011b931868b0e1073bb047266e
2021-06-12 02:08:36 +00:00
Shane Kilkelly
3020999924 Merge pull request #4163 from overleaf/ae-handle-import-from-project-errors
Display a message if there's an error loading the list of projects/files/entities

GitOrigin-RevId: dae3ab2b5f33d3c286064dec05567a80cbc23a0e
2021-06-12 02:08:32 +00:00
Alf Eaton
fe6970f30f Improve bibliography import error handling (#4145)
GitOrigin-RevId: 3b379580635e1f6f2f518d416b8c72e0dadc0df6
2021-06-11 02:06:56 +00:00
Alf Eaton
7964067827 Merge pull request #4126 from overleaf/ae-read-only-file-tree
Only allow dragging in file tree with write permission

GitOrigin-RevId: fcd316cda044a7c5e001fa4b874982f470978b15
2021-06-04 02:08:36 +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
Alf Eaton
fb9579c2b7 Merge pull request #4023 from overleaf/ae-reset-file-tree-state
Reset file tree component state when rootFolder prop changes

GitOrigin-RevId: acf23ce7c7a8f175c4e12b367bfa9e48d2f946c8
2021-05-19 02:05:58 +00:00
Alf Eaton
8c3578e74b Merge pull request #4041 from overleaf/ae-use-ref-with-autofocus
Rename hooks files and move to shared folder

GitOrigin-RevId: 9659247b5e767197c3e11acc9a3922ecaab49162
2021-05-19 02:05: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
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
Hugh O'Brien
d9b369c6c1 Merge pull request #3997 from overleaf/ae-react-translations
Ensure that all strings are translated in React components

GitOrigin-RevId: 855280150a21982fcf0ba57a39002451d37621e8
2021-05-08 02:10:10 +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
Alf Eaton
13e6166259 Merge pull request #3974 from overleaf/ae-refactor-context-hooks-usememo
Refactor functions from hooks into context providers

GitOrigin-RevId: f985ec15c16bdb49bedf7b64a0f5fe2853b6bb85
2021-05-05 02:09:50 +00:00
Alf Eaton
dbc909ae54 Merge pull request #3970 from overleaf/ae-remove-filetreereactbridge
Remove showReactAddFilesModal, showReactFileTree, useFileTreeAngularListener and FileTreeReactBridge

GitOrigin-RevId: 61fc54efe761922137b032b9b532975fc101264d
2021-05-01 02:13:18 +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
Jakob Ackermann
adfde7d26b Merge pull request #3950 from overleaf/msm-reenable-lint-prefer-regex-literals
Reenable `prefer-regex-literals` eslint rule

GitOrigin-RevId: 3c576d92a08dfcb745d447b1bf8c7b828753010d
2021-04-29 02:09:10 +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
Alf Eaton
15011a9982 Merge pull request #3946 from overleaf/ae-upload-error-response
Handle undefined response in upload error handler

GitOrigin-RevId: 09c09bc353d3db3c0f5040c4d99d64fbe3ba56db
2021-04-28 02:09:57 +00:00
Alf Eaton
ff62a7e63c Enable React add files modal for all users (#3941)
GitOrigin-RevId: 923bf41a8c5e9f0932a1711530446dfd5c8d0d7f
2021-04-23 02:10:09 +00:00