aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/composables
Commit message (Collapse)AuthorAgeFilesLines
* feat(files): add search scope toggle and logicFerdinand Thiessen2025-07-012-47/+20
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): also show file list headers on empty viewsFerdinand Thiessen2025-03-052-0/+60
| | | | | | | It is needed, e.g. for the note-to-recipient, that the headers are also shown when there is no content (yet). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): add opendetails param and file list up/down keyboard shortcutskjnldsv2024-12-171-0/+8
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* refactor(files): Provide `useFileListWidth` composableFerdinand Thiessen2024-11-202-0/+106
| | | | | | | | 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(files): Adjust `useNavigation` composable to enforce active viewFerdinand Thiessen2024-11-162-12/+15
| | | | | | | | | 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>
* test: Migrated all Jest tests to vitestFerdinand Thiessen2024-08-261-3/+6
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: Load limited depth treeChristopher Ng2024-08-081-0/+2
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files): `openfile` is set on the query not as a paramFerdinand Thiessen2024-08-031-2/+5
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: Navigate via folder treeChristopher Ng2024-08-011-1/+3
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* refactor: Make route parameters accessible using composables to reuseFerdinand Thiessen2024-07-251-0/+47
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): Implement files list filters for name, modified time and typeFerdinand Thiessen2024-07-252-20/+47
| | | | | 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-0/+20
| | | | | | | 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>
* chore: Enable ESLint for apps and fix all errorsFerdinand Thiessen2024-07-091-9/+7
| | | | | | | | | Nevertheless this causes a huge amount of new warnings. Previously the shell script for directories to lint was wrong it was generating all app names to lint, but was missing the `apps/` prefix. Causing only `core` to be linted. Co-authored-by: Grigorii K. Shartsev <me@shgk.me> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor: Use composable for `currentView` and `views` to make it reactive ↵Ferdinand Thiessen2024-06-232-0/+144
when shared with other Vue apps Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>