aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/components/FileEntry/FileEntryActions.vue
Commit message (Collapse)AuthorAgeFilesLines
* 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-33/+8
| | | | | | | | 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>
* refactor(files): Fix nullish operator usage and add missing code commentFerdinand Thiessen2024-06-241-2/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Properly handle files in failed stateFerdinand Thiessen2024-06-241-1/+2
| | | | | | | When files are loaded from API the `fileid` might be set to `-1` indicating an error on the API. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor: Use composable for `currentView` and `views` to make it reactive ↵Ferdinand Thiessen2024-06-231-8/+16
| | | | | | when shared with other Vue apps Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Fix TypeScript issues in FileEntryActionsFerdinand Thiessen2024-06-081-5/+5
| | | | | | | | * We filter the array in `enabledSubmenuActions` so we can be sure the action does have a parent * Node attributes must be accessed using the `attributes` getter not the private `_attributes` property * Cast action ref to correct component interface to make TypeScript happy 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): Inherit some node attributes when creating new nodes to preserve ↵Ferdinand Thiessen2024-04-161-5/+3
| | | | | | shared state Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Right click menu positioningChristopher Ng2024-03-121-2/+3
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files): Close submenu actions after click like top-level actionsChristopher Ng2024-03-081-1/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix: Correctly import types in Typescript filesFerdinand Thiessen2024-02-131-3/+5
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #42444 from ↵John Molakvoæ2024-02-081-1/+5
| | | | nextcloud/fix/41877/files--move-focus-to-sidebar-on-open
* Revert "Merge branch 'master' of github.com:nextcloud/server"Louis Chemineau2024-02-081-5/+1
| | | | | This reverts commit d9d60238c7aaab9c61bf2d50c15aa59bc88c8975, reversing changes made to ba3fdb0cdcfbb84f0080a2146a4ba2f01569915d.
* fix(files): do not disable action on load to keep focusGrigorii K. Shartsev2024-02-071-1/+5
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* chore(files): move shared FileEntry and FileEntryGrid into a mixinJohn Molakvoæ2024-02-071-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(files): make sure we focus the parent actions submenu entryJohn Molakvoæ2024-01-311-1/+17
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(files): open menu on right click positionJohn Molakvoæ2024-01-031-1/+17
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Show shared label only if the current user have shared the file.Marco Ambrosini2023-11-221-1/+5
| | | | | | | | | The presence of the text "Sharing label" in all shared files caused the view to be too loaded, so it's been decided to show it only when the current user is the owner of the share. Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix: Be less strict about action exec return valueJulius Härtl2023-11-191-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* fix(files): make table view a valid html tableGrigorii K. Shartsev2023-11-181-1/+1
| | | | | | <div> is not allowed as a <table> child Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* Improve shared status buttonMarco2023-11-141-1/+14
| | | | Signed-off-by: Marco <marcoambrosini@icloud.com>
* fix(cypress): formatFileSize change revert from files libraryJohn Molakvoæ2023-11-081-19/+17
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* chore(files_reminders): upgrade to 28 APIsJohn Molakvoæ2023-11-081-10/+15
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): support nested actionsJohn Molakvoæ2023-11-081-17/+94
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* display inline title alwaysSimon L2023-11-071-1/+1
| | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* Revert "display inline title always"Simon L2023-11-071-1/+1
| | | | This reverts commit 9ea30dcab612b8b1d035525ab4ae3b1990d0022e.
* display inline title alwaysSimon L2023-11-071-1/+1
| | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* fix(files): drop visible and adjust drag-to-scroll featureJohn Molakvoæ2023-10-191-10/+3
| | | | | 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-4/+7
| | | | Signed-off-by: Varun Patil <varunpatil@ucla.edu>
* perf(files): optimize virtual scroller computationJohn Molakvoæ2023-10-171-1/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files): grid viewJohn Molakvoæ2023-10-171-2/+6
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(files): split FileEntry NameJohn Molakvoæ2023-10-171-2/+6
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(files): split FileEntry ActionsJohn Molakvoæ2023-10-171-0/+238
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>