Commit graph

63 commits

Author SHA1 Message Date
Jakob Ackermann
1182049d89 Merge pull request #20057 from overleaf/jpa-readonly-tuning
[web] tuning for readonly mirror on client

GitOrigin-RevId: c0ecc8923cdec6c515da17750133632ebc430e8d
2024-08-23 08:04:48 +00:00
Alf Eaton
66c55b0647 Streamline the project references context provider (#19387)
GitOrigin-RevId: 9af00459ec121a605b84809b349a0bc258896048
2024-07-16 08:04:30 +00:00
Jakob Ackermann
aa480a2663 Merge pull request #18898 from overleaf/jpa-no-window
[web] migrate from window attributes to getMeta

GitOrigin-RevId: 3dcf1ab6b01155e5e4abeb3e78d0fa9053e055bc
2024-06-19 08:04:21 +00:00
Jimmy Domagala-Tang
a40c593a21 Merge pull request #18174 from overleaf/jdt-file-name-context
[Web] add selectedFileName to context in editor (fileTreeActionable)

GitOrigin-RevId: 53bc1a9692cbd6626a44ae8f0cd8ac68d6ce69ae
2024-05-08 08:03:55 +00:00
Alf Eaton
6212f340d3 Allow individual docs to be downloaded from the file tree (#17137)
GitOrigin-RevId: d0b2ce9f3a252e34f452155ed83c3c04e7916ef0
2024-02-22 09:04:48 +00:00
Alf Eaton
bef2e4fbce Allow any single file to be uploaded (#17215)
GitOrigin-RevId: 9eecc9e044ec1a489b42ccf697806fecfbe5dfc8
2024-02-22 09:04:43 +00:00
Alf Eaton
f4b176c93d Preserve folder structure when uploading folders (#16502)
GitOrigin-RevId: 791233ce1e68920a4f2d7042ed4c60ca3f4be8fb
2024-02-16 09:05:07 +00:00
Alf Eaton
6dc7ced2df Upgrade react-dnd (#16753)
GitOrigin-RevId: 5a62bed823b716a6e0d6d3aa57ee187d161f3346
2024-02-06 09:03:31 +00:00
Alf Eaton
0cde5be165 Merge pull request #14709 from overleaf/ae-context-typescript
Convert React context providers to TypeScript [don't squash!]

GitOrigin-RevId: d92a91798286978410956ab791d73c17c5086d86
2024-01-29 09:03:04 +00:00
Alf Eaton
612c7c28b0 Merge pull request #16511 from overleaf/ae-upgrade-uppy
Upgrade Uppy to v3

GitOrigin-RevId: ca3e366a20ac651a98aafe12bf319b1968ac6ec1
2024-01-19 09:05:05 +00:00
Alf Eaton
bbbda35d63 Allow Shift-click to select a range of items in the file tree (#15147)
GitOrigin-RevId: 4651b5d094c45fb8a7447d1f3439c2f6b3578403
2024-01-15 09:04:36 +00:00
Tim Down
13f246a85e Merge pull request #15342 from overleaf/td-remove-file-tree-manager-in-react
Remove use of FileTreeManager in React code

GitOrigin-RevId: f15bc9b4f84e0f65709b9850ed8cc5d3637efa7f
2023-10-27 08:03:10 +00:00
Alf Eaton
2678600108 When the root folder is selected, ignore the selected items when dragging (#15392)
GitOrigin-RevId: a43e4f668d2df8c9abe5d67bd42546eaa5496c59
2023-10-26 08:03:15 +00:00
Alf Eaton
949d4facc7 Highlight dragged and target items when dragging in the file tree (#15384)
GitOrigin-RevId: 4eaace34434753f6674724adafcf3b0754365d15
2023-10-26 08:03:12 +00:00
Alf Eaton
6903d5c945 Avoid sending move requests for files in moved folders (#15313)
GitOrigin-RevId: 87244b785eeeb2dadb0b4b06c9725a1ddee0562f
2023-10-24 08:03:24 +00:00
Alf Eaton
0572535a7e Avoid changing the view when selecting a folder (#15315)
GitOrigin-RevId: 272c6f87507c65581041150905406f5c38e490d4
2023-10-23 08:04:08 +00:00
Tim Down
3be937c503 Migrate layout context to TypeScript (#15275)
Migrate layout context to TypeScript

GitOrigin-RevId: ce453bfb67f7c36176fa24144413b556cd3c117e
2023-10-19 08:03:01 +00:00
Alf Eaton
b9a6e7009d Improve context menu behaviour in the file tree (#15142)
* Tidy up menu button
* Unselect all items when clicking in the file tree root
* Close the context menu when selecting a new item
* Avoid selecting multiple items with Ctrl+click on macOS

GitOrigin-RevId: b67a724909668ec13d7a6d09ffc31574cb42238f
2023-10-13 08:03:26 +00:00
Jakob Ackermann
9daa8f5d98 Merge pull request #15040 from overleaf/jpa-js-to-jsx
[web] rename all the JSX files to .jsx/.tsx

GitOrigin-RevId: 82056ae47e017523722cf258dcc83c8a925a28f7
2023-09-29 08:04:29 +00:00
Tim Down
6fc312165f Reindex references on deleting or refreshing a .bib file (#14938)
* Reindex references on deleting or refreshing a .bib file

* Remove rendundant props

* Tweak file refresh payload, send refresh response after update to keys, remove some unnecessary returns

* Tidy up

GitOrigin-RevId: bc0309a54fbfd0eb7d8285032300453d360d6b2f
2023-09-29 08:04:25 +00:00
ilkin-overleaf
b05f8ad7e7 Merge pull request #14339 from overleaf/ii-filetree-empty-space-click-3
[web] Select project root folder improvements

GitOrigin-RevId: 48b80f26adf239215bf04d3db95a61ef35b5cf77
2023-08-18 12:11:06 +00:00
ilkin-overleaf
d8e2c10257 Merge pull request #14291 from overleaf/ii-filetree-empty-space-click-2
Select project root folder

GitOrigin-RevId: 146bf9dcbfbd037c51529b80104495bd95922471
2023-08-15 08:03:22 +00:00
ilkin-overleaf
738ff5e63c Revert filetree empty space click (#14283)
GitOrigin-RevId: e019f88631e91ffefd71cae145b5355372f12df7
2023-08-14 08:05:26 +00:00
Alf Eaton
3ae32f8332 Merge pull request #14197 from overleaf/ii-filetree-empty-space-click
[web] Select project root folder

GitOrigin-RevId: 78272a6af16879e9c71c9167ba066c258b0ff7b7
2023-08-14 08:04:41 +00:00
Rebeka
485fc64bcc fix: revert the move in the file tree on error
GitOrigin-RevId: 580241cd771671ae8cfd93910f2e231e0e1b5148
2023-08-01 08:04:08 +00:00
Alf Eaton
ec13ebdc7c Add "Download" item to file tree context menu (#9190)
GitOrigin-RevId: af55d782aeaab3acd516a1581d59dd3332109cb8
2022-08-15 08:03:07 +00:00
Alf Eaton
44b241b5ca Upload files dropped onto the file tree (#8064)
GitOrigin-RevId: 97043661e344b72ff742326c9dc2809e46d0bb9c
2022-07-22 08:04:02 +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
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
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
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
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
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
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
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
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
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
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
ee79728bf9 Only check a user's features for importing from reference provider (#3797)
GitOrigin-RevId: cc5a36be20c673f8941a2694eaeba80eebb4db6a
2021-03-25 03:04:57 +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
Alexandre Bourdin
623d77cef6 Merge pull request #3717 from overleaf/ae-file-tree-context-minimal
Wrap file tree context functions in useCallback

GitOrigin-RevId: 86fbaf4f168bbe31f474bdea38d2cd09b69c950f
2021-03-11 03:05:11 +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
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
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