aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/components/VirtualList.vue
Commit message (Collapse)AuthorAgeFilesLines
* refactor(files): Provide `useFileListWidth` composableFerdinand Thiessen2024-11-201-8/+13
| | | | | | | | Replace the mixin with a composable, this is better typed and works in both: Options- and Composition API. Also added component tests for it. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): fix list gap at bottomElizabeth Danzberger2024-08-271-1/+1
| | | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* refactor(files): Migrate logger util to TypescriptFerdinand Thiessen2024-08-011-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): Allow to add file list filtersFerdinand Thiessen2024-07-251-0/+4
| | | | | | | This adds sticky file list filters above the file list. Those filters are used to filter the directory content and thus filter the file list. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Grid view virtual scrolling computationsLouis Chemineau2024-07-241-4/+4
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files): Reduce preview size in grid view modeLouis Chemineau2024-07-241-4/+4
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* chore: Enable ESLint for apps and fix all errorsFerdinand Thiessen2024-07-091-3/+7
| | | | | | | | | Nevertheless this causes a huge amount of new warnings. Previously the shell script for directories to lint was wrong it was generating all app names to lint, but was missing the `apps/` prefix. Causing only `core` to be linted. Co-authored-by: Grigorii K. Shartsev <me@shgk.me> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): Refresh grid view layoutLouis Chemineau2024-07-041-4/+4
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* chore(deps): Update `debounce` to 2.1.0Ferdinand Thiessen2024-06-231-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Ensure that focussed file is always scrolled rightFerdinand Thiessen2024-06-081-0/+24
| | | | | | | | Ensure the correct file is scrolled if the content changes, this also sets a minimal height to the virtual scrolling area so that the `scrollTop` can be set. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-291-0/+4
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(files): Do not scroll if there is no scrolling areaFerdinand Thiessen2024-02-091-0/+5
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): selected files actions position on scroll/with readme blockGrigorii K. Shartsev2024-01-301-5/+5
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* fix(files): move header actions out from the tableGrigorii K. Shartsev2024-01-101-0/+4
| | | | | | Having actions in the table header is no valid for a11y and counts as a column name. Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* fix(files): Allow to drag and drop new files also on empty directoriesFerdinand Thiessen2023-11-271-1/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): make table view a valid html tableGrigorii K. Shartsev2023-11-181-30/+32
| | | | | | <div> is not allowed as a <table> child Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* fix(files): make caption a direct child of the files tableGrigorii K. Shartsev2023-11-181-0/+12
| | | | | | Otherwise it is not valid and does not ception the table. Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* fix(files): correct item heightVarun Patil2023-10-211-1/+1
| | | | | | | | | 1. grid: typo? The icon size is 160 - 44 + (44 / 2) = 138px 2. non-grid: border is already included in height because the tr is a border-box (made this explicit to be safe) Signed-off-by: Varun Patil <varunpatil@ucla.edu> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): drop visible and adjust drag-to-scroll featureJohn Molakvoæ2023-10-191-1/+0
| | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* perf(files): performance optimizationsVarun Patil2023-10-191-7/+10
| | | | Signed-off-by: Varun Patil <varunpatil@ucla.edu>
* perf(files): optimize virtual scroller computationJohn Molakvoæ2023-10-171-10/+31
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* perf(files): reuse keys for virtual scrollingJohn Molakvoæ2023-10-171-6/+35
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): grid viewJohn Molakvoæ2023-10-171-23/+57
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat: allow external drop and add dropzoneJohn Molakvoæ2023-10-101-4/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat: migrate FileAction from serverJohn Molakvoæ2023-08-231-2/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(cypress): adjust selectorsJohn Molakvoæ2023-08-171-4/+7
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(files): active and open sidebar on mountJohn Molakvoæ2023-08-171-4/+10
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* perf(files): reuse vnode with unique keyJohn Molakvoæ2023-08-171-13/+6
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat: virtual scrolling updateJohn Molakvoæ2023-08-171-0/+161
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>