Ferdinand Thiessen
eb897b112e
fix(files): Make openMenu watcher null safe
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-11 11:53:15 +02:00
Ferdinand Thiessen
2a5d6bb713
fix(files): Reset context menu position on close
...
* 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>
2024-09-11 09:15:41 +02:00
skjnldsv
bcb536e04d
fix(files): undefined displayname for outdated @nextcloud/files<3.6.0 apps
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-09-04 17:01:53 +00:00
Ferdinand Thiessen
adacfa8e9b
fix(files): Provide file actions from list entry to make it reactive
...
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>
2024-08-08 17:20:54 +02:00
Ferdinand Thiessen
190f3a901b
fix(files): Do not split filename into base and extension for folders
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-26 02:23:19 +02:00
Ferdinand Thiessen
57869f565f
refactor: Use composable for currentView and views to make it reactive when shared with other Vue apps
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-10 19:05:38 +02:00
Ferdinand Thiessen
07fa445f38
refactor(files): Update @nextcloud/files to v3.5.0
...
* Removed now duplicated code
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-10 19:05:38 +02:00
Louis Chemineau
a91d44b15e
fix(files): Don't react to clicks when renaming
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-01 18:34:32 +02:00
Louis Chemineau
f8446f73f7
fix(files): Ignore right click for default action
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-13 16:23:02 +02:00
skjnldsv
e2adc32175
fix(files): do not rely on unique fileid
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-06-13 09:32:23 +02:00
John Molakvoæ (skjnldsv)
1981d84938
fix(files): also trigger new tab on file name middle click
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-12 14:48:08 +00:00
John Molakvoæ (skjnldsv)
9142ad65f4
fix(files): reset menu pos when opening in grid mode
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-06-11 18:13:13 +02:00
Ferdinand Thiessen
10cbc5748f
refactor(files): Fix TypeScript issues in FileEntryActions
...
* 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>
2024-06-08 15:10:16 +00:00
Ferdinand Thiessen
87ebfe3eef
refactor(files): Consistently sort imports of FileEntryMixin
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-07 12:11:42 +02:00
Ferdinand Thiessen
b0c29f2622
fix(files): Ensure entry with fileid is marked as active
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-07 12:09:53 +02:00
skjnldsv
0aa4e0a675
chore: add drag and drop recursion and FilesystemAPI testing
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-04-04 11:58:34 +00:00
skjnldsv
e099318ab5
feat(files): unify drag and drop methods
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-04-04 11:58:34 +00:00
skjnldsv
8503e2d4bc
fix(files): breadcrumbs dnd
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-04-04 11:58:34 +00:00
Christopher Ng
742e5b6329
fix(files): Right click menu positioning
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-03-12 14:59:46 -07:00
John Molakvoæ (skjnldsv)
e453b700b9
fix(files): properly reset preview component
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-03-07 21:47:50 +00:00
John Molakvoæ
d50127f093
fix(files): setup cannot be in mixins
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-02-07 07:57:23 +00:00
John Molakvoæ
6e0499461d
chore(files): move shared FileEntry and FileEntryGrid into a mixin
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-02-07 07:57:23 +00:00