aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/components/FilesListVirtual.vue
Commit message (Collapse)AuthorAgeFilesLines
* refactor(styles): Adjust code style in SCSS sources to match our stylelint ↵Ferdinand Thiessen2024-11-191-5/+2
| | | | | | config Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Revert CSS causing the file name to have no bounding boxFerdinand Thiessen2024-11-111-1/+1
| | | | | | Instead add the direction only to the filename wrapper not the button. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Fix file names alignment in Files List in UI RTL mode.Faisal Alghamdi2024-11-091-1/+1
| | | | Signed-off-by: Faisal Alghamdi <falghamdi125@gmail.com>
* fix(files): Do not jump to top when fileId is set to currentFolderartonge/fix/file_list_jump_on_viewer_closeLouis Chemineau2024-10-291-0/+5
| | | | | | Fix https://github.com/nextcloud/server/issues/48545 Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix: Restore missing dot in FilesListVirtual.vueartonge/fix/missing_dotLouis Chemineau2024-09-151-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* feat: Reset route if neither the Viewer of the Sidebar is openLouis Chemineau2024-09-141-7/+23
| | | | | | | | | | When the viewer or the sidebar is opened, we add the fileid to the route. When both of them are closed, we do not remove the fileid from the route. This means that, upon reload, the sidebar will be opened even though it was closed previously. This PR ensure that the fileid is removed from the route when both the Sidebar and the Viewer are closed. Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files): Fallback icons should fill the containerFerdinand Thiessen2024-09-061-2/+5
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: Use the blurhash in FilesLouis Chemineau2024-08-291-1/+14
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files): Remove margin and width to not break layoutLouis Chemineau2024-08-291-2/+0
| | | | | | | | | In grid view, this was messing with the reported available list width which was breaking the computed layout. Fix https://github.com/nextcloud/server/issues/47599 Signed-off-by: Louis Chemineau <louis@chmn.me> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix: Adjust more places for logical positionFerdinand Thiessen2024-08-291-17/+16
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: Add bidi support in core directoryMostafa Ahangarha2024-08-291-11/+11
| | | | Signed-off-by: Mostafa Ahangarha <ahangarha@riseup.net>
* fix(files): Remove huge margin on bottomFerdinand Thiessen2024-08-261-5/+0
| | | | | | Instead make it relative to screen size. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Drop unneeded initial stateFerdinand Thiessen2024-08-141-11/+20
| | | | | | | The initial state is no longer used, it was only used in legacy UI and in the f2v rewrite it was only used for the `id` which can be loaded just from the URL. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): file name and header sort buttons alignmentsskjnldsv2024-08-071-1/+2
| | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> 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>
* fix(files): Provide file actions from list entry to make it reactiveFerdinand Thiessen2024-08-011-9/+7
| | | | | | | | This fixes non reactive default action text of the name component. Also use download action as default action so that only one place is needed to define how to download a file. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Ensure scrolled file list does not leak through file filtersFerdinand Thiessen2024-07-261-1/+11
| | | | | | | 1. when scrolling the file list should not be visible behind the filters 2. on mobile we need to remove the padding of the filters to ensure they are accessible Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor: Make route parameters accessible using composables to reuseFerdinand Thiessen2024-07-251-12/+6
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): Implement files list filters for name, modified time and typeFerdinand Thiessen2024-07-251-14/+12
| | | | | Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): Allow to add file list filtersFerdinand Thiessen2024-07-251-2/+27
| | | | | | | 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/+2
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files): Reduce preview size in grid view modeLouis Chemineau2024-07-241-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files): Add rounded corners back in grid viewLouis Chemineau2024-07-111-5/+2
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* chore(files): Fix ESLint issues with files and files_sharing appFerdinand Thiessen2024-07-091-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Correctly center the checkbox's background in grid viewLouis Chemineau2024-07-081-1/+2
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* feat(files): Refresh grid view layoutLouis Chemineau2024-07-041-30/+55
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files): Rename openFileInfo to fileInfoLouis Chemineau2024-06-191-2/+5
| | | | | | And check if openFile is set in the URL before opening a file. Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files): Only execute default action if there is an action to performFerdinand Thiessen2024-06-041-7/+11
| | | | | | | Some files do not have a default action (can not be viewed and only downloaded). If the `openfile` query is set on them the `handleOpenFile` will throw an error. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Make `currentView` a prop of `FilesListTableFooter`Ferdinand Thiessen2024-05-311-1/+2
| | | | | | | | We already have this as a required prop in `FilesListVirtual`, so passing it to the footer is straight forward and removed need of computed value. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Correctly cast table ref to fix TypeScript errorsFerdinand Thiessen2024-05-311-6/+7
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Update `@nextcloud/files` to 3.4.0 to fix public link sharesFerdinand Thiessen2024-05-311-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-291-20/+3
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(files): Display selected files countChristopher Ng2024-04-171-0/+6
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files): Right click menu scroll reset glitchChristopher Ng2024-03-121-1/+0
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* enh(files): Add modal to set filename before creating new files in the fileslistFerdinand Thiessen2024-02-091-7/+28
| | | | | | * Reactive `openfile` query Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): do not open file by id on load for foldersGrigorii K. Shartsev2024-02-021-2/+2
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* fix(files): selected files actions position on scroll/with readme blockGrigorii K. Shartsev2024-01-301-4/+11
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* fix(files): prevent dragging previews and appear as an external files DnDJohn Molakvoæ2024-01-171-1/+0
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(files): use `getSummaryFor` for better files summary translationsJohn Molakvoæ2024-01-121-14/+4
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(files): move header actions out from the tableGrigorii K. Shartsev2024-01-101-0/+35
| | | | | | 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): drag and drop events chain and cancelJohn Molakvoæ2023-12-201-1/+3
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(files): Remove confusing table header labelsFerdinand Thiessen2023-12-011-1/+2
| | | | | | | | | | For screen readers the table header was very verbose and confusing, as the SR reads out e.g. "sort list by name button FILENAME" for every row / file. Instead reduce it to "name button FILENAME" and add information about sorting to caption, as recommended by WCAG [1] [1]: https://www.w3.org/WAI/ARIA/apg/patterns/table/examples/sortable-table/ Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): remove focus outline on file list item clickGrigorii K. Shartsev2023-11-281-2/+4
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* fix(config): Adjust typescript config to allow `.ts` imports and Typescript ↵Ferdinand Thiessen2023-11-271-6/+7
| | | | | | in Vue files Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Allow to drag and drop new files also on empty directoriesFerdinand Thiessen2023-11-271-83/+51
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Fix star stroke color on hoverMarco Ambrosini2023-11-231-1/+1
| | | | | Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Trigger default action when open file initial state is setLouis Chemineau2023-11-211-2/+23
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): make table view a valid html tableGrigorii K. Shartsev2023-11-181-2/+5
| | | | | | <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-7/+8
| | | | | | Otherwise it is not valid and does not ception the table. Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* fix(files): Use color-primary-element-text for files/folders overlay iconsJonas2023-11-141-1/+1
| | | | Signed-off-by: Jonas <jonas@freesources.org>