Commit 153da23
authored
Faster folders, working breadcrumbs and bug fixes (#7675)
## What this changes
- **Big folders don't lag.** The file list only draws the rows you can
actually see, so a folder with thousands of files feels the same as one
with ten. Selecting a file redraws that file, not the whole folder.
- **The 500-file limit is gone.** A mounted disk folder used to list
only its 500 newest files and quietly hide the rest. You now see
everything in it.
- **Back and the breadcrumbs work.** Walking into folders now leaves
proper history, so Back steps up one folder. Before, every folder
overwrote the same history entry, so Back dumped you out of the library
entirely.
- **Deep links to a folder work.** Opening a link to a folder that
hadn't finished loading used to bounce you to the top of the library. It
now waits for the folder to appear.
- **"New folder" is one button.** The version on an empty folder was a
different button, with a different name, that guessed where to put the
folder and greyed itself out when it couldn't. It's now the same menu as
the one in the top right.
- **"Local" in the left bar is just a filter.** Clicking it filters the
list by source. It used to switch you into a separate view with its own
rules for what counted as a file, its own empty screen, and its own
exceptions everywhere folders were involved.
- **Folders obey the source filter.** Picking Cloud or Local now filters
folders too, not just files, so mounted folders stop appearing under
every setting.
- **Opening a file that's already open** takes you to it, instead of
trying to add it a second time.
- **Opening a cloud file keeps it in its folder** instead of dropping it
at the top of the library.1 parent 987756a commit 153da23
19 files changed
Lines changed: 1609 additions & 632 deletions
File tree
- frontend/editor
- public/locales/en-US
- src
- core
- components/filesPage
- contexts
- hooks
- services
- tests/stubbed
- desktop/services
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4289 | 4289 | | |
4290 | 4290 | | |
4291 | 4291 | | |
| 4292 | + | |
4292 | 4293 | | |
4293 | 4294 | | |
4294 | 4295 | | |
| |||
4410 | 4411 | | |
4411 | 4412 | | |
4412 | 4413 | | |
4413 | | - | |
4414 | 4414 | | |
4415 | 4415 | | |
4416 | 4416 | | |
| |||
4420 | 4420 | | |
4421 | 4421 | | |
4422 | 4422 | | |
4423 | | - | |
4424 | | - | |
4425 | | - | |
4426 | | - | |
4427 | 4423 | | |
4428 | 4424 | | |
4429 | 4425 | | |
| |||
Lines changed: 97 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
112 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
113 | 125 | | |
114 | 126 | | |
0 commit comments