aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/composables/useNavigation.spec.ts
Commit message (Collapse)AuthorAgeFilesLines
* refactor(files): Adjust `useNavigation` composable to enforce active viewFerdinand Thiessen2024-11-161-9/+9
| | | | | | | | | 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>
* 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-231-0/+98
when shared with other Vue apps Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>