Commit Graph

13 Commits

Author SHA1 Message Date
schroda
daeb2a4e45 Access reader store setters directly without hook 2026-02-21 16:41:56 +01:00
schroda
4da2f67b75 Fix page shift when toggling "offset double spreads" setting
The pages should get shifted to
- the left when enabling
- the right when disabling
the setting.

Currently, the "page push" is inverted.
This can cause the page that is most likely being read to get pushed out of the screen. Which then requires the user to change the page.

Example:

Active page: 1+2
Enable setting: -> 2 (currently) instead of -> 1
2026-02-21 15:15:47 +01:00
schroda
ec49cd1ad9 Fix updating reader "page urls" in "page store"
The page urls never got updated in the store
2026-02-21 15:15:45 +01:00
schroda
65a9a905be Migrate to lingui
Switch to "lingui" for better DX.
Tried to persist existing languages as much as possible.

Removed "vite-plugin-node-polyfills" because it's incompatible with "lingui"
2026-01-13 17:33:36 +01:00
schroda
f37d7e892a Fix tsc issues 2025-09-22 17:58:28 +02:00
schroda
ed53aff071 Extract "reader chapters store slice" into file 2025-09-21 01:16:39 +02:00
schroda
6da8a3fd87 Move reader store in sub dir 2025-09-21 01:16:33 +02:00
schroda
98ec5257b9 Move reader "settings state" to "reader store" 2025-09-21 01:16:26 +02:00
schroda
bada26ead6 Move reader "pages state" to "reader store" 2025-09-21 01:16:22 +02:00
schroda
4cc5821ead Move reader "scrollbar state" to "reader store" 2025-09-21 01:16:10 +02:00
schroda
4e30081ed8 Move reader "pages" state to base reader types 2025-09-21 01:16:01 +02:00
schroda
9e5af57a5f Move "core" folder out of "features" into "base" 2025-08-16 15:44:17 +02:00
schroda
f548ba9502 Structure "reader" in sub-features 2025-08-16 02:02:13 +02:00