aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/components
Commit message (Collapse)AuthorAgeFilesLines
* fix(files): File type filter UI sync with filter stateFerdinand Thiessen2025-01-171-2/+14
| | | | | | | When changing the folder the filter will be re-mounted by the file list, so we need to pass the current state of the filter to the filter UI. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Resolve ESLint warningsFerdinand Thiessen2025-01-162-5/+5
| | | | | | | | | | - Add default value to non-required Vue props - Reformat function to async function if needed - Add some documentation - Allow `any` in places where it makes sense (tests) - Order vue component sections as required Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): sort not working after changing viewsfix/files/sort-after-view-changeRichard Steinmetz2025-01-161-1/+1
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* fix: Show full template nameJulius Knorr2025-01-151-3/+0
| | | | Signed-off-by: Julius Knorr <jus@bitgrid.net>
* fix(files): rename actions submenu back entrybackport/50123/masterskjnldsv2025-01-101-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): close submenu on main actions state changeskjnldsv2025-01-101-0/+7
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files): add selection keyboard shortcutsskjnldsv2024-12-172-6/+59
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files): add hotkey service and unify action handlingskjnldsv2024-12-175-65/+87
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): virtual scroller item size computationskjnldsv2024-12-171-15/+44
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files): add opendetails param and file list up/down keyboard shortcutskjnldsv2024-12-171-43/+129
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): failsafe when executing actions methodsskjnldsv2024-12-112-16/+48
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): cancel renaming on enter if no file name changesskjnldsv2024-12-101-0/+4
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files): Update caption for screen readers when uploading is not possibleChristopher Ng2024-12-031-2/+18
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* feat(templates): make second click as confirmation on templates pickerLuka Trovic2024-12-021-1/+6
| | | | Signed-off-by: Luka Trovic <luka@nextcloud.com>
* refactor(files): Provide `useFileListWidth` composableFerdinand Thiessen2024-11-208-47/+44
| | | | | | | | 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>
* refactor(styles): Adjust code style in SCSS sources to match our stylelint ↵Ferdinand Thiessen2024-11-194-8/+6
| | | | | | config Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Adjust `useNavigation` composable to enforce active viewFerdinand Thiessen2024-11-164-13/+16
| | | | | | | | | In some cases it is guaranteed that we have a proper active view, e.g. when the file list is loaded (so within FileEntry* components). This does not change anything but the Typescript types, so the `currentView` is typed as `View` instead of `View | null´. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Make injected actions reactiveFerdinand Thiessen2024-11-151-3/+3
| | | | | | | Provided values are not reactive by default and by design, we must need computed to make them reactive. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): ensure valid mtime and fallback to crtime if definedskjnldsv2024-11-141-1/+15
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): Revert CSS causing the file name to have no bounding boxFerdinand Thiessen2024-11-112-4/+3
| | | | | | 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>
* feat(systemtags): add cypress tests and fix a few logic issuesskjnldsv2024-10-293-2/+4
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): add title for files list table header buttonGrigorii K. Shartsev2024-10-251-0/+1
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* refactor(files): migrate to @nextcloud/sharingGrigorii K. Shartsev2024-10-251-3/+3
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* chore(files): migrate davUtils to TSGrigorii K. Shartsev2024-10-251-1/+1
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* fix(files): Adjust NavigationQuota for Nextcloud 30 designFerdinand Thiessen2024-10-211-5/+8
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Ensure renaming state is correctly resetFerdinand Thiessen2024-10-151-58/+12
| | | | | | | | | | | | | Problem: Is a node is renamed and the new name is out of the current visible list of nodes the component will be recycled, this means the props will change, so when the `onRename` functions is about to reset the state the `this.source` will point to a different node. To fix this, but also to separate business logic from visual representation, the logic is moved into the renaming store and the component is only responsible for rendering. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Add more visual move / copy notificationfix/files-add-move-infoFerdinand Thiessen2024-09-301-1/+2
| | | | | | | | * Resolves: https://github.com/nextcloud/server/issues/46645 This adds loading toast notification while the move operation is running. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Show storage full warning when storage is actually fullartonge/fix/storage_full_warningLouis Chemineau2024-09-251-2/+2
| | | | | | | < 0 values for "free" do not mean that the storage is full: https://github.com/nextcloud/server/blob/6befdd6dd7cd20fe7f7036e4665bcfbb783d6803/lib/public/Files/FileInfo.php#L31-L42 Signed-off-by: Louis Chemineau <louis@chmn.me> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* 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): Make `openMenu` watcher null safeFerdinand Thiessen2024-09-111-3/+5
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Reset context menu position on closeFerdinand Thiessen2024-09-101-0/+17
| | | | | | | | | * Resolves https://github.com/nextcloud/server/issues/46934 Ensure that after a right-click the context menu position is resetted, so that pressing the "actions"-menu button it is displayed on the correct location. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Fallback icons should fill the containerFerdinand Thiessen2024-09-061-2/+5
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Do not add click listener if there is no default action on ↵Ferdinand Thiessen2024-09-061-11/+14
| | | | | | public shares Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): "New folder" menu entry requires read permissionFerdinand Thiessen2024-09-061-5/+7
| | | | | | This will disable "New folder" menu entry for file-drop shares. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): Allow to download files on public sharesFerdinand Thiessen2024-09-061-12/+18
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Fix file previews for public sharesFerdinand Thiessen2024-09-061-7/+17
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): undefined displayname for outdated `@nextcloud/files`<3.6.0 appsskjnldsv2024-09-041-1/+2
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): Fix navigating with breadcrumbs not highlighting navigation entryChristopher Ng2024-09-031-1/+4
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files): Node loading information should be accessibleFerdinand Thiessen2024-08-311-1/+6
| | | | | | | The loading icon visually informs that the node is currently loading, but there is no non-visual information (accessible information). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(files): Fix remaining TypeScript errors in FileEntryPreviewFerdinand Thiessen2024-08-291-7/+9
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: Use the blurhash in FilesLouis Chemineau2024-08-292-11/+68
| | | | 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-296-19/+20
| | | | Signed-off-by: Mostafa Ahangarha <ahangarha@riseup.net>
* feat(templates): add support for checkboxes in template fillerElizabeth Danzberger2024-08-273-12/+100
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.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>
* fix(files): Reset drop notice on firefoxFerdinand Thiessen2024-08-261-7/+32
| | | | | | | | | | | On firefox there is an old bug where when you move a dragged file outside the window the `dragleave` event is never emitted. So we just use a timeout to reset the drag over state. Also a small change: Use the ID of the main container instead of relying on tag name and class. (The ID is guranteed as other APIs rely on it, while the class is just used internally). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>