Commit Graph

5 Commits (f3383f9f90729c81ef18f37cff5d62bcef9b6e5a)

Author SHA1 Message Date
Ferdinand Thiessen f3383f9f90
chore: split frontend building into legacy Vue 2 and Vue 3
- Built the frontend in separate packages until we migrated everything
  to Vue 3.
- Separate logic into two packages controlled by main package.json

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-22 17:10:28 +07:00
Ferdinand Thiessen 0e50ba839c
test: ignore git-ignored files from tests
Fix running `npm run test` when your development setup has other apps
checked out - like having the viewer app installed locally in `apps`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-29 10:15:29 +07:00
Ferdinand Thiessen c7014a7cc4
fix(files_trashbin): correctly sort custom columns in trashbin view
1. Refactor to make code better testable (move columns and view source to `files_views` folder)
2. Fix deletion time fallback (JS Date vs unix timestamp for
   "delted"-column)
3. Correctly sort `deletedBy` and `originalLocation` columns to use
   natural sort like any other column
4. Add unit tests for columns and views

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-11 15:05:44 +07:00
Ferdinand Thiessen 4a90d5328c
test: Add end-to-end tests for new public share Vue UI
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:48 +07:00
Ferdinand Thiessen c0b39bb909
chore: Move from Jest to vitest
There are some benefits, like faster tests and thus saving CI time, but the main reason for me is:

Jest still does not properly support ESM packages, this casues a lot of breaking stuff.
Sometimes you need to adjust imports for mocking, and somethimes other random stuff break.
Instead of wasting valuable developer lifetime we can use vitest which works perfectly with ESM.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-26 17:27:22 +07:00