Commit Graph
18 Commits
Author SHA1 Message Date
Alex cac86818c5 refactor(ui): restore deferred render state service (#1255) 2026-05-10 17:49:47 +01:00
Alex 3ecf312388 refactor(ui): create shared grid layout for author/series/book browser (#1193) 2026-05-09 10:46:10 +01:00
James Ward de96fd89c9 fix(ui): revert to UI-based filtering & sorting (#935) 2026-05-04 13:37:07 -04:00
Alex 3f3beaf86b refactor(ui): remove mobile-specific grid size controls (#1105) 2026-05-04 17:56:18 +01:00
Alex f3138a88c5 feat(ui): New sidebar & search UI (#831) 2026-05-04 09:46:48 +01:00
Alex 1c9902448f refactor(ui): use tanstack virtual+table for book browser table view (#1047) 2026-05-03 08:11:19 +01:00
Alex d256fbf389 refactor(ui): unify author/series/book browsers using tanstack virtual (#941) 2026-04-27 19:01:37 +01:00
brios 791a4eab6e fix(table-view): table-view to also actually select all when users select press all (#645) 2026-04-22 17:27:40 -04:00
brios 1f5f99d958 refactor(ebook-reader): optimize destruction handling and improve reactive subscriptions (#478) 2026-04-22 17:27:38 -04:00
brios 502f5738bf feat(filters): add age rating and content rating filters, improve filter options (#479)
* feat(filters): add age rating and content rating filters, improve filter options

* fix(book-browser): update view mode handling to use reactive properties

* fix(book-browser): update view mode handling to use getter methods

* feat(filters): improve filtering capabilities with comic creators and validate input values

* test(filters): fix AppBookServiceFilterOptionsTest with additional query mocks

* fix(filters): improve error handling for invalid filter bucket IDs and roles

* refactor(book-browser): remove unused computedFilterLabel

* fix(filters): validate shelfStatus values and throw error for invalid inputs

* test(book-browser): mock TranslocoService for language changes in tests

* fix(book-browser): ensure active language is set before syncing browser state
2026-04-22 17:27:15 -04:00
brios 85e8d235b6 fix(dashboard): improve performance with OnPush change detection (#440)
* fix(dashboard): improve performance with OnPush change detection

* fix(dashboard): refactor book card component for improved readability and performance

* fix(tests): mock matchMedia for improved test compatibility

* fix(tests): matchMedia mock for better CI compatibility and support

* fix(dashboard): add clearAll method to BookBrowserScrollService and update tests

* fix(dashboard): improve performance with content visibility and refactor styles

* fix(dashboard): improve scroll performance with estimated total height and refactor layout

* fix(tests): add mock for getCurrentUser in userService for improved test coverage

* fix(dashboard): implement infinite scroll for book loading and scroll restoration

* fix(tests): fix lint error

* fix(tests): mock ResizeObserver and IntersectionObserver

* fix(tests): mock ResizeObserver and IntersectionObserver (again)

* fix(dashboard): improve accessibility and performance by updating aria attributes and optimizing animations

* fix(dashboard): improve submenu accessibility and optimize virtual scroller performance

* fix(dashboard): clean up imports and improve component structure

* fix(dashboard): correct mobile check in author browser component

* fix(dashboard): add OnDestroy lifecycle hook to BookBrowserComponent
2026-04-22 17:27:11 -04:00
brios 4a68fa28f6 fix(filter): update filter options to use CountedOption for read statuses and file types (#448)
* fix(filter): update filter options to use CountedOption for read statuses and file types

* fix(specification): validate file types and read statuses, throwing APIException for invalid values
2026-04-22 17:27:10 -04:00
brios 3e5a6a9de8 refactor(api): optimize caching mechanisms and improve book filtering (#372)
* refactor(api): optimize caching mechanisms and improve book filtering logic

* refactor(preferences): remove unused ExternalDocLinkComponent and enhance translate function typing

* refactor(initializer): add Duration import for improved cache management

* refactor(docker): increase MaxMetaspaceSize for improved memory management

* refactor(repository): replace findAllForSummaryByIds with findAllById

* refactor(cache): implement invalidateAppBooksQueries for improved cache management

* refactor(AppBookService): increase default page size and optimize magic shelf book resolution

* refactor(AppBookSpecification, MagicShelfBookService, TaskCancellationManager, magic-shelf-component): streamline join handling and improve memory management

* refactor(AppBookService, MagicShelfBookService): enhance book retrieval logic and improve error handling

* chore: fix formatting

* chore: fix formatting
2026-04-22 17:27:10 -04:00
Alex be0b717ff4 perf(ui): decouple book browser rendering pipeline (#341)
* perf(ui): deferred processing for book browser

* perf(ui): Further optimisation + toolbar tweaks

* perf(ui): layered pipeline, toolbar and error-state fixes

- Layered computed signals for memoized pipeline stages
- bookIndexById map replaces O(n) indexOf in template
- Remove BookFilterOrchestrationService
- Filter sidebar icon: pi-filter / pi-filter-fill
- View toggle moved into display settings popover
- Toolbar alignment fix
- Error state no longer stuck on skeleton

* perf(ui): split cache pathways + added specs

* perf(ui): final spec updates

* perf(ui): revert view toggle change

* perf(ui): review followup

* perf(ui): make spec loading state explicit
2026-04-22 17:27:01 -04:00
Alex 09c36dfa0b chore(ui): drop book and author animations (#270)
* chore(ui): drop book and author animations

* chore(ui): remove stale import
2026-04-22 17:26:56 -04:00
James Cox 18784fd12d chore(ui): clear eslint interaction accessibility bucket
Add keyboard handlers and focus support to clickable UI affordances across reader dialogs, metadata views, cards, and layout controls.

Keep the existing click behavior intact while making non-button elements operable from the keyboard and clearing the remaining template interaction accessibility backlog.

Validation: just ui lint
2026-04-22 17:26:48 -04:00
James Cox b03ecf3a5e chore(ui): clear eslint label-association bucket
- Frontend accessibility cleanup:
  - add concrete `for` and `id` or `inputId` bindings where labels map to real inputs, selects, and number fields
  - convert remaining row headers and grouped-control captions from `<label>` to `<span>` where the markup described composite controls rather than a single form element
- Lint progress:
  - clear the remaining `@angular-eslint/template/label-has-associated-control` backlog from 109 issues to 0
  - reduce total frontend lint errors from 532 to 423 while keeping the next accessibility buckets isolated
- Validation:
  - `just ui lint`
2026-04-22 17:26:47 -04:00
James Cox 874b013f75 refactor(frontend): rename booklore-ui to frontend
- Frontend path:
  - rename the tracked Angular app tree from `booklore-ui/` to `frontend/`
  - preserve file contents during the move so this commit stays focused on the path change itself
- Frontend docs:
  - update the moved frontend README and contribution guide where they refer to the renamed folder
  - keep those edits limited to path references introduced by the directory rename
2026-04-22 17:26:39 -04:00