skjnldsv
74b2562e6b
feat(files): add hotkey service and unify action handling
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-17 09:59:57 +01:00
Ferdinand Thiessen
675e7a953f
refactor(files): Provide useFileListWidth composable
...
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>
2024-11-20 19:08:21 +01:00
Ferdinand Thiessen
c06723c44a
refactor(files): Adjust useNavigation composable to enforce active view
...
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>
2024-11-16 22:00:30 +01:00
Ferdinand Thiessen
aad09764cd
refactor: Make route parameters accessible using composables to reuse
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 19:33:28 +02:00
Ferdinand Thiessen
5dc8e06014
fix(files): Do not split filename into base and extension for folders
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 01:24:26 +02:00
Louis Chemineau
e8790f0b89
feat(files): Display mtime in grid view
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-04 18:48:29 +02:00
Ferdinand Thiessen
d4352fe2ff
fix(files): Properly handle files in failed state
...
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>
2024-06-24 12:52:11 +02:00
Ferdinand Thiessen
3ed32ffbb4
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-06-23 16:53:27 +02:00
John Molakvoæ (skjnldsv)
a094ac0b6d
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>
2024-06-12 11:52:22 +00:00
Andy Scherzinger
5b7dcc1427
chore: Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-29 08:58:16 +02: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
John Molakvoæ
97cd038cf2
fix(files) selection store typing
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-02-07 07:57:23 +00:00
John Molakvoæ
9e1efe0538
fix(files): drop to folder path and user feedback
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-02-07 07:57:23 +00:00
Christopher Ng
1b0eb2bebd
fix(files): Fix checkbox state semantics
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-20 12:23:51 +01:00
Christopher Ng
5e7ba125f0
fix(files): Fix unresponsive file click to download
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-05 16:46:39 -08:00
Julius Härtl
2c7f63276e
fix(files): Allow Ctrl/Command click on file entries to open in a new tab
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-27 10:15:42 +01:00
John Molakvoæ
4db03884a5
fix(files): drop visible and adjust drag-to-scroll feature
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-19 06:42:33 +00:00
John Molakvoæ
16975ae457
feat(files): grid view
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:19:02 +02:00