This repository was archived by the owner on Oct 7, 2026. It is now read-only.
Repository navigation
Tags
Tags
feat: offer thumbnail regeneration after thumbnail size change (#127) Changing the thumbnail size in admin settings used to be a no-op for already-imported books. After a successful settings save that includes a thumbnailSize change, a confirmation dialog now offers to regenerate book thumbnails — for all books, or only for books whose current thumbnail is smaller than the new size (for_bigger_result_only=true), or to skip — via PUT /api/v1/books/thumbnails. The queued task shows up in the existing task queue panel. Also bumps the version to 0.11.9. Closes #63
feat: smart list browsing, wizard editing and cover management Surface the kmrs smart-list API (kmworks/kmrs#150, kmworks/kmrs#152): user-owned search filters created and edited through a two-step wizard (details, then filters inline), evaluated live by the server. - smartListsApi + SmartList DTOs; SSE wiring for the smart-list events, including read-progress invalidation so items and the continue target stay fresh - new 'entities' filter group kind (libraries / read lists / collections) with multi-select and is/is-not membership; referential options in the wizard follow the selected scope - /smart-lists browse page and /smart-lists/:id detail pages for both targets, reusing the browse grid/filter bar; page-side filters post as an overlay body; owner-scoped edit/delete (new isOwner permission idiom), covers owner-only (admins no longer get a dead Manage posters entry on others' lists); adminOnly filter groups hidden from non-admins; read/peek entry points on book lists - two-step create/edit wizard reusing the filter building blocks inline (no drawer overlay), with a debounced live match-count preview, admin-only visibility and share-target picking, and a lossy warning when a stored document contains conditions the editor cannot represent - stored-filter round-tripping verified lossless across the builder vocabulary: group mode tracked through the same condition→group mapping as values, single-group documents recognized (whole-condition same-key anyOf/allOf and year-pair runs), year-pair bounds arithmetic fixed, and unrepresentable constructs (mixed is/isNot per group, repeated bare keys) flagged instead of silently rewritten - PosterManager gains the 'smartlist' kind (upload/select/delete covers, generated mosaic listed alongside uploads) - smart-list cards use the generated/selected cover with cache busting - i18n: smartlists namespace in all 10 locales plus nav/filter/poster keys - bump version to 0.11.8
fix(filters): restore unset age-rating option and tighten referential… … scoping (#122) - restore the unset age-rating filter option lost with the v2 endpoint (which drops NULLs): the UI injects the "None" sentinel itself, translates it at display time, and maps it to an isNull search condition; the value stays "None" so v1-era bookmarked URLs keep working, and the option is listed first as v1 served it - drop the never-called referentialApi.authorRoles and the authors search param that no caller passes anymore - narrow the library/collection-only referential methods to LibraryCollectionScope so a series/read-list scope can no longer be silently ignored (it used to fall back to site-wide data) - series detail passes only its seriesId as the filter scope; the libraryId was unused with no library/collection-only group on the page - hoist the disabled-filter arrays to module constants so useBrowseFilters' memo/effect deps stay stable across renders - bump version to 0.11.7
fix: PWA safe-area insets and back-navigation flash (#118) - consume env(safe-area-inset-*) across the shell header, sidebar, mobile drawer, main content, reader chrome and side panels, filter drawer, bottom floating bars, and the Komf tab bar offset, so standalone display clears the status bar and home indicator - mount <ScrollRestoration /> in RequireAuth so scroll restores after the new route paints instead of the browser scrolling the still-rendered old page on POP (the back-navigation flash); PUSH/REPLACE now scrolls to top, retiring the manual scrollTo effects in the book/oneshot detail pages and the Komf tab-switch scroll compensation - disable the card entrance animation on back/forward navigation via data-pop-navigation on <main>, derived from the previous location key so cold open (also POP) stays animated chore: bump version to 0.11.6
feat(filters): group filter drawer into sections with drill-down deta… …ils (#117) The drawer laid every group out in one long column, which made high-cardinality referential groups (publishers, genres, tags, ...) push the list into an endless scroll. Restructure it after KMReader's browse options panel: - small enum groups stay inline as chip sections - complete/oneshot/deleted collapse into tri-state flag rows (off > yes > no) - high-cardinality groups become summary rows under a Metadata section and open a drill-down detail view inside the drawer (back, per-group reset, is/is-not and any/all switches, searchable options) - first-letter navigation gets a standalone row outside Metadata Filters still apply instantly and serialize to the same URL params, so existing shared links keep working. Referential option queries now fire only when a group's detail view is opened. Also bumps the patch version to 0.11.5.
fix: coalesce SSE-driven query invalidation during scans (#112) A library scan emits one SSE event per book/series, and each event invalidated its whole query-key families immediately, so a visible dashboard (7 section queries) plus grids refetched hundreds of times against an already-busy server. - Invalidations and thumbnail busts now collect into a pending set and flush at most once per 5s, matching the legacy komga webui dashboard throttle: a lone event flushes immediately, a burst converges in one trailing round. SessionExpired and TaskQueueStatus stay immediate. - EventSource listeners attach once per event name instead of once per subscriber: N subscribers to the same event produced N listeners that each fanned out to the whole handler set (handlers fired N times), and the StrictMode setup/cleanup/setup cycle stacked another generation of anonymous listeners on top. Also bumps the patch version to 0.11.3.
fix: allow deleting the selected poster (#111) The poster manager only rendered the delete button on unselected posters, so a series whose only poster is a user upload — which is necessarily the selected one — could never have it removed. Neither Komga nor kmrs restricts this server-side: deleting the selected thumbnail is allowed, and housekeeping auto-selects another thumbnail on the next read (or falls back to the generated cover when none remain). Also bumps the patch version to 0.11.2.
feat: add PWA support with brand home-screen icons (#110) Installable as a standalone app and fixes the home-screen icon, which previously fell back to a page screenshot or a generic icon. - Web app manifest (standalone, KMReader name, brand colors) - Minimal app-shell service worker, registered in production only: navigations network-first, hashed /assets/* cache-first. /api, /sse and /actuator are never intercepted - Home-screen icons pre-rendered from the official KMReader 2048 canvas: white-fill regular + maskable (glyph inside the safe zone) and a monochrome silhouette for Android themed icons / app shortcuts - Apple meta tags for iOS standalone - AGENTS.md gains a PWA convention entry Also bumps the patch version to 0.11.1.
feat(i18n): add eight UI languages (de, es, fr, it, ja, ko, ru, zh-Ha… …nt) (#109) ## What Expands the UI language set from `en` + `zh-CN` to the ten languages KMReader supports: **en, de, es, fr, it, ja, ko, ru, zh-Hans, zh-Hant**. - New translations for **de, es, fr, it, ja, ko, ru, zh-Hant** — all 18 namespaces each, translated from the `en` source (not borrowed from komga-webui's locales). - Plural keys use each locale's CLDR categories (i18next JSON v4 suffixes): e.g. ru gets `_one/_few/_many/_other`, fr/es/it get `_one/_many/_other`, ja/ko/zh-Hant collapse to `_other` only. - `zh-CN` renamed to **`zh-Hans`** — the BCP 47 script subtag is the correct pair to `zh-Hant` and matches KMReader's codes. Existing `kmweb.language=zh-CN` localStorage entries migrate transparently through the detection mapping. - zh-Hans copy polish: lone 「书」 in 的-phrases and verb objects becomes 「书籍」 ("最近添加的书" → "最近添加的书籍"), plus a halfwidth comma fix. ## Supporting changes - **Language switcher** is now a dropdown `Menu` (globe icon + current language + checkmark on the active item) — the segmented control didn't scale to ten options. Both call sites (login page, account settings) keep their `size` prop. - **Browser language detection** now maps properly: `zh-TW/HK/MO/Hant` → `zh-Hant`, other `zh*` → `zh-Hans`, regional prefixes fall back (`de-AT` → `de`, `pt` → `en`). - **Per-language CJK font stacks**: `html:lang(ja|ko|zh-Hant)` overrides for `--font-sans` and `--font-display`, since CSS font fallback is per-glyph and lang-blind — without these, ja/zh-Hant UI text would render with SC Han glyph norms. - `AGENTS.md` i18n convention updated (source/mirror relationship, CLDR plural suffixes). ## Validation - A structural checker verified every non-source locale against `en`: namespace/key parity (with CLDR plural expansion), `{{interpolation}}` and `<Trans>` tag parity, no empty values — all green, including the pre-existing zh-Hans. - `pnpm build` + `pnpm lint` pass. - Smoke-tested in the browser: the menu lists all ten languages, and switching to ja/ru re-renders the login page fully translated.
PreviousNext