Commit Graph
132 Commits
Author SHA1 Message Date
Alex 1e763b1e89 refactor(ui): fix prime menu positioning + cleanup (#1377) 2026-05-20 18:14:47 +01:00
Alex 398b1fa590 chore(ui): add tailwind 4.3 and update classes (#1379) 2026-05-19 06:43:10 +01:00
brios c6cbdcfa11 perf(frontend): optimize initial bundle size with lazy-loaded dialogs and localized chart providers (#1110) 2026-05-18 23:05:10 +02:00
Zach 168c915d57 fix(sidebar): add the notification badge to the sidebar (#1299) 2026-05-13 23:28:46 -04:00
Zach ff5f054bd3 feat(oidc): add configurable mobile redirect URI to the admin settings UI (#1287) 2026-05-13 23:19:28 -04:00
Alex a0a710079b feat(ui): add native control CSS system + button/text/tab examples (#1267) 2026-05-12 22:05:47 +01:00
Alexandbrios 1042cad74a feat(ui): add enhanced user popover + rearrange sidebar (#1246)
Co-authored-by: brios <127139797+balazs-szucs@users.noreply.github.com>
2026-05-10 14:23:55 +01:00
Alex 868e8e6262 chore(ui): move theme/language preferences into user profile (#1243) 2026-05-10 10:33:35 +01:00
James Ward 60ffb09795 fix: avoid parsing access token on frontend during login (#1201) 2026-05-09 17:05:39 -04:00
Alex e8c56e2f8f refactor(ui): native angular menu component + usage in sidebar (#1229) 2026-05-09 20:10:35 +01:00
Alex 3ecf312388 refactor(ui): create shared grid layout for author/series/book browser (#1193) 2026-05-09 10:46:10 +01:00
Alex 249878b9bb chore(ui): rename menu references to sidebar (#1212) 2026-05-08 17:47:25 +01:00
Alex d792d32806 fix(ui): mobile UI enhancements (#1184) 2026-05-07 16:59:28 +01:00
Alex 3f3beaf86b refactor(ui): remove mobile-specific grid size controls (#1105) 2026-05-04 17:56:18 +01:00
briosandAlex 237171ffe4 fix(frontend): unify custom metadata fetch dialog flow (#1088)
Co-authored-by: Alex <25013571+alexhb1@users.noreply.github.com>
2026-05-04 16:41:48 +02:00
Alex 1f3d776169 fix(ui): fix upload books height and scroll issue (#1104) 2026-05-04 13:35:58 +01:00
Alex e4c7eb9028 fix(ui): fix sidebar height and button inconsistency (#1103) 2026-05-04 13:34:42 +01:00
Alex 0d1a4ca930 fix(ui): refine mobile sidebar layout (#1100) 2026-05-04 13:01:30 +01:00
Alex b2285131fb fix(ui): sidebar active outline consistency (#1093) 2026-05-04 12:54:36 +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
brios 9e14f3b319 refactor(styles): unify scrollbar styles (#990) 2026-04-29 21:17:08 +02:00
James Ward 0fad5c11e4 fix(ui): prevent directory picker folder clicks selecting (#986) 2026-04-29 12:32:13 +02:00
Alex 005d2f0039 fix(ui): virtual grid scroll restore (#948) 2026-04-27 20:10:56 +01:00
Alex d256fbf389 refactor(ui): unify author/series/book browsers using tanstack virtual (#941) 2026-04-27 19:01:37 +01:00
Alex 75568d3ce6 chore(ui): replace showdown markdown renderer (#936) 2026-04-27 09:33:39 +01:00
brios 62434c590d fix(auth): add global error handler and PWA update service, and update auth logout to force full page reload (prevent reload-hell) (#741) 2026-04-22 17:27:47 -04:00
James Ward 8047f87700 fix(ui): handle RFC5987 content-disposition headers (#730) 2026-04-22 17:27:43 -04:00
brios 284e7bec49 fix(loading): update loading checks to use signal() for reactive state management (#727) 2026-04-22 17:27:43 -04:00
brios 7a88b12430 refactor(cover): add async cover notifications, for real time updates (#716) 2026-04-22 17:27:42 -04:00
brios d9d7a18d89 fix(file-mover): fix file mover never updating (#651) 2026-04-22 17:27:41 -04:00
brios bf4fab3785 fix(upload): add ChangeDetectorRef calls to ensure UI updates during file upload process (#557) 2026-04-22 17:27:38 -04:00
brios 13f282fe72 fix(books): make "select all" actually select all not just the books loaded in (#533) 2026-04-22 17:27:38 -04:00
brios e26df36a33 fix(collapse-series): fix series collapsing (#541) 2026-04-22 17:27:38 -04:00
Zach 5a6b70262c feat(brand): update app to use the Grimmory brand identity (#550) 2026-04-22 17:27:37 -04:00
Alex 6f2b86a7c5 fix(ui): properly scale placeholder artwork text with smaller sizes (#531)
* chore(ui): scale down placeholder text sizes

* chore(ui): switch to inline-size
2026-04-22 17:27:35 -04:00
brios 902f5f5d67 fix(user-settings): fix settings loading errors (#527)
* refactor(user): optimize detail fetching with custom repository implementation

* refactor(fonts): fix font loading and improve custom font handling

* refactor(user-data): update userSettings to use input() for better reactivity

* refactor(fonts): improve font loading logic and improve readi ness state management again

* refactor(user-data): simplify user fetching logic and improve batch loading

* refactor(custom-fonts): improve font loading logic with run ID for better state management
2026-04-22 17:27:35 -04:00
brios fcee609b15 fix(metadata): refactor book metadata fetching to use fetch API and signals for state management (#495)
* fix(metadata): refactor book metadata fetching to use fetch API and signals for state management

* fix(metadata): update tests to mock fetch API for book metadata streaming

* fix(metadata): improve metadata fetching with error handling and retry logic

* fix(metadata): update author photo search to use SSE with auth headers and improve error handling

* fix(metadata): require bookId for cover fetching and improve error handling

* fix(metadata): simplify error handling in DuckDuckGo cover image fetching

* fix(metadata): refactor SSE data handling for cover image and book metadata fetching
2026-04-22 17:27:15 -04:00
Zach cefa3ac434 feat(ui): allow copying non-release app version from sidebar (#472) 2026-04-22 17:27:12 -04:00
brios 7abac02b0c refactor(settings): replace unsubscribe logic with takeUntilDestroyed for better resource management (#443)
* refactor(settings): replace unsubscribe logic with takeUntilDestroyed for better resource management

* refactor(settings): streamline saveSettings method and improve error handling

* fix(settings): improve error handling in saveSetting method

* refactor(settings): update tab structure

* refactor(settings): implement OnDestroy interface and clean up unused destroyRef instances
2026-04-22 17:27:11 -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 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
brios 6c8a907325 feat(pdf): move ebook reader to embedpdf, add bookmarks, remove old pdf.js stuff (#393)
* feat(pdf): move ebook reader to embedpdf, add bookmarks, remove old pdf.js stuff

* feat(pdf): add page number support for bookmarks and enhance mobile navigation

* feat(pdf): implement document ID tracking for search functionality

* feat(pdf): add page number column to book marks and update unique index

* feat(pdf): enhance annotation handling and improve search result scrolling

* feat(pdf): improve layout handling and enhance resize observer functionality

* feat(pdf): improve document viewer initialization and improve close button styling

* fix(pdf): remove 'form' from disabled categories

* feat(pdf): add pan mode functionality and enhance sidebar layout

* feat(pdf): improve book viewer initialization with enhanced element detection

* feat(pdf): add link handling to text selection and improve popup actions

* feat(pdf): enhance link detection and improve selection handling in event service

* feat(pdf): improve accessibility and improve resource management in PDF viewer

* feat(pdf): add resize observer for improved layout handling

* feat(pdf): error handling and improve navigation in PDF reader
2026-04-22 17:27:07 -04:00
brios b2ff955e9c fix(cache): improve cache handling by checking availability before operations (#397)
* fix(cache): improve cache handling by checking availability before operations

* fix(cache): improve cache handling and improve error management
2026-04-22 17:27:06 -04:00
NamLe029 d502c18948 fix(frontend): fixes library health pinging even when the user is not authenticated (#385)
* fix(frontend): library health pings even not authenticated

* test

* authInitialized guard

* subscription
2026-04-22 17:27:05 -04:00
James Ward 91c19739dc feat(api): allow disable of kobo store proxy (#337)
* chore(api): fix typing for kobo sync service

* feat(api): add more paths for grimmory/kobo API

* fix(api): disable kobo features if kobo is unavailable

* feat(api): add proxy flag to kobo setting

* feat(api): adhere to kobo proxy enabled flag

* feat(ui): add forward requests toggle

* fix(ui): load setting

* style: use assertNotNull

* fix: reduce advertised routes

this cuts down the advertised routes - in particular to reduce the
number of auth-related requests we will be taking on.  we may eventually
want to do this but I want to reduce the amount of change in this PR

* fix: undo disable of kobo features

This reverts commit 1b242fa6614084b05c58ff3b24e142adb1bcf729.
2026-04-22 17:27:05 -04:00
NamLe029andbrios 5495225ad5 feat(web-reader): HTTP Caching & Cache Storage for content responses (#75)
* Squashed commit of the following:

commit e799d02a1b3557fcbe9c67bd276ced9ddc783e83
Author: Nam Le <namle888029@gmail.com>
Date:   Wed Apr 1 18:47:08 2026 +0700

    should be done

commit d232c4d48bd97dbc7d8d800cdb3d18e85a73b8ec
Author: Nam Le <namle888029@gmail.com>
Date:   Wed Apr 1 18:32:49 2026 +0700

    ok done

commit 911d69c3347c6596ae0feb3261355f7b234b6171
Author: Nam Le <namle888029@gmail.com>
Date:   Wed Apr 1 18:32:15 2026 +0700

    dont break pls

commit 498e996bb42a74f9edda65b914a9124b15a8baea
Author: Nam Le <namle888029@gmail.com>
Date:   Sat Mar 21 11:35:32 2026 +0700

    changes:
    + avoid double caching
    + detach get & validate logic
    + error handling for cache insert

commit a215d11d6855a3381e4f2ecbca32d45d4b06869f
Author: Nam Le <namle888029@gmail.com>
Date:   Fri Mar 20 22:01:37 2026 +0700

    fix dup

commit 539b70f6f9c859bdf6d2a2557e3ba1c1fc10a601
Author: Nam Le <namle888029@gmail.com>
Date:   Fri Mar 20 21:46:43 2026 +0700

    fix
    + leaking Blob resource
    + scss lint
    + extra `}`

commit d1c8ceea944c0a25a9a2a54bb83122e0a9480b05
Author: NamLe029 <146613205+NamLe029@users.noreply.github.com>
Date:   Fri Mar 20 21:34:14 2026 +0700

    Apply suggestions from code review

    Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

commit ca14572c8c6df143295ebff2acf210f3a5164ed5
Author: Nam Le <namle888029@gmail.com>
Date:   Fri Mar 20 20:25:46 2026 +0700

    wording

commit 558b0f69fe6a6736aa114f592abd87451b173ccb
Author: Nam Le <namle888029@gmail.com>
Date:   Fri Mar 20 19:51:28 2026 +0700

    remove dexie

commit 4b0750824685e70dd5a13fd9e899064fd6b009c6
Author: Nam Le <namle888029@gmail.com>
Date:   Fri Mar 20 19:22:43 2026 +0700

    use observable for pdf bookdata

commit 1c88aff7c01a51a5263aca3522797624ed794862
Author: Nam Le <namle888029@gmail.com>
Date:   Wed Apr 1 18:07:14 2026 +0700

    switch to cache storage

commit c766428c32b97fab339b3438b6c4e693082a07a3
Author: Nam Le <namle888029@gmail.com>
Date:   Fri Mar 20 15:13:42 2026 +0700

    error handling

commit bdbaa8f5f769fcd80f3f93aac0c52ffba8bcec27
Author: Nam Le <namle888029@gmail.com>
Date:   Fri Mar 20 14:16:49 2026 +0700

    cleanup unecessary validation

commit 56e264ee5570948cf1512c8ce4de4622430d3cdc
Author: Nam Le <namle888029@gmail.com>
Date:   Fri Mar 20 12:50:45 2026 +0700

    apply simpleCacheService

commit 45ef6ae5d460b27d134b696951fd613eefcb2d64
Author: Nam Le <namle888029@gmail.com>
Date:   Wed Apr 1 18:02:44 2026 +0700

    interface for local settings

commit 421305dbcb108647b5f0cc29c567de5daee2a93d
Author: Nam Le <namle888029@gmail.com>
Date:   Wed Apr 1 18:01:20 2026 +0700

    simple cache service for caching request response

commit 1aa81b4a08b006d52e398da61464527fd90e51cb
Author: Nam Le <namle888029@gmail.com>
Date:   Fri Mar 20 12:47:54 2026 +0700

    local settings service for device-scoped settings

commit 647b4f561336617651f5c4f14fe83dc70df3f30f
Author: Nam Le <namle888029@gmail.com>
Date:   Fri Mar 20 12:46:35 2026 +0700

    add dexie dependency

commit d8bfed64b0096c2d99052fceee718413b5dc8b40
Author: Nam Le <namle888029@gmail.com>
Date:   Fri Mar 20 12:46:00 2026 +0700

    enable HTTP Caching (Last-Modified) for PDF, EPUB, audiobook content response

* delete unused

* final touch

* move local settings

* test

* remove test case for deleted  method

* lint

---------

Co-authored-by: brios <127139797+balazs-szucs@users.noreply.github.com>
2026-04-22 17:27:00 -04:00
Alex f376b68873 chore(ui): enforce placeholder aspect ratios (#320)
* chore(ui): enforce placeholder aspect ratios

* chore(ui): add proper cover crop behavior
2026-04-22 17:26:59 -04:00
Alex 2fd7310e81 refactor(ui): replace SVG artwork placeholders with CSS (#292)
* chore(ui): replace SVG placeholders with CSS alternative

* fix(ui): Placeholder review followup
2026-04-22 17:26:58 -04:00
Alex 55a6343f65 refactor(frontend): decouple app shell from PrimeNG layout system (#307)
* refactor(layout): decouple shell from PrimeNG

* fix(frontend): review fixes for layout decoupling

- Rewrite layout service spec to match new API surface
- Remove dead ToastModule import from AppLayoutComponent
- Add missing type="button" to profile and logout buttons
- Add missing i18n keys to all non-English locales

* chore(frontend): Layout shell consistency

* chore(frontend): shell and routing improvements

* chore(frontend): remove stray shimmer effect

* chore(frontend): code cleanup

* chore(ui): Fix navitem types consistency

* chore(frontend): simplify layout structure + imports

* chore(frontend): remove empty files

* chore(frontend): Menu component cleanup

* chore(frontend): remove nav translation layer

* chore(frontend): revert stray artwork change

* chore(frontend): revert author animation tweak

* chore(frontend): review fixes

* fix(frontend): restore topbar template after rebase conflict
2026-04-22 17:26:57 -04:00