Commit graph

60 commits

Author SHA1 Message Date
NBA2K1
0a2c8e2649 rename files manga.dart and chapter.dart 2026-04-23 18:53:25 +02:00
NBA2K1
6aef999fd1 move extensions to correct files 2026-04-15 23:41:19 +02:00
NBA2K1
09a4517d33 Fix reader 2026-04-15 22:08:54 +02:00
NBA2K1
04e04010f4 Reduce Code Duplication 2026-04-15 22:04:15 +02:00
Moustapha Kodjo Amadou
feb0a3635f Fix sorting logic for chapters 2026-04-13 10:40:05 +01:00
NBA2K1
9f113f2956 Optimize downloaded‑chapter filtering
- Precompute downloaded chapter IDs in a single query
- Replace per‑chapter lookups with in‑memory `Set` checks
2026-04-12 23:02:43 +02:00
NBA2K1
547413cad3 return correct List<Chapter> 2026-04-12 23:02:26 +02:00
NBA2K1
7f12e1ae6e cache settings 2026-04-12 01:56:31 +02:00
NBA2K1
590ce38f29 save last index 2026-04-12 00:04:31 +02:00
Moustapha Kodjo Amadou
7c13d15c49
Merge pull request #695 from NBA2K1/gray-screen-fix
Potential fix for gray screen bug on vertical reading mode
2026-04-11 15:11:57 +01:00
NBA2K1
2e5335eed7 Potential fix for gray screen bug on vertical reading mode 2026-04-10 19:55:14 +02:00
NBA2K1
e8e3a4a2d8 make ts readable
Same logic, nothing has changed.
Just more readable.
2026-04-09 17:52:54 +02:00
NBA2K1
b760e37ff0 Revert "fix(reader): stabilize chapter progress and page cache writes"
This reverts commit 9f6bf93876.
2026-04-04 02:29:42 +02:00
MorningOctober
9f6bf93876 fix(reader): stabilize chapter progress and page cache writes
- prevent stale settings overwrites by reloading settings inside Isar write txn before updating chapterPageUrlsList

- guard getPageLength() against missing chapter entries and empty urls to avoid No element crashes

- simplify read-threshold calculation in setPageIndex() via totalPages/pagesRemaining for continuous and paged modes

- map visible continuous double-page indices to actual page indices in _readProgressListener before persisting progress

- snapshot item positions and clamp indices during fast scrolling to avoid volatile first/last access races
2026-03-28 13:49:39 +01:00
Moustapha Kodjo Amadou
236a0cfc6d feat: add localization strings for statistics and reading time tracking #672
- Added new localization strings for total, mean per title, completion rate, watching time, reading time, average chapters per title, read percentage, and entries in multiple languages.
- Enhanced the History model to include readingTimeSeconds.
- Updated AnimeStreamController and ReaderController to track reading time and save it to history.
- Implemented reading time tracking in Anime and Novel reader views.
- Introduced statistics calculations for total reading time across histories.
- Updated statistics screen to display total reading time and average reading time per title.
2026-03-23 11:19:04 +01:00
Moustapha Kodjo Amadou
566da0ae06 feat: implement multiple bug fixes and feature requests\n\n- #339: Remember window size/position on desktop (WindowGeometry utility)\n- #256: Add S key shortcut to skip intro in desktop anime player\n- #372: Auto-delete downloaded chapters after reading (new setting + toggle)\n- #402: Fix manhwa reader scroll jumps by caching image dimensions for placeholders\n- #608: Fix 'Fit width' scale type cropping pages in paged reader mode\n- #572: Add mouse back button navigation support on desktop" 2026-03-17 14:31:21 +01:00
Schnitzel5
ac21eae8d4 small adjustments for a better reading experience of many single pages in a row
- to prevent old entries (before sourceId was introduced) from accidentally using conflicting sources with the same name even if they are not installed
2026-01-30 23:15:26 +01:00
Moustapha Kodjo Amadou
430e81e021 Refactor and update dependencies for Isar and Riverpod 2025-10-29 13:08:42 +01:00
Schnitzel5
5932cf44f2 added sync for settings
- added option to toggle sync for history, update and settings
2025-07-21 23:37:51 +02:00
Schnitzel5
bd17e1e9eb adjusted sync features 2025-07-04 02:24:01 +02:00
Moustapha Kodjo Amadou
446ba5503d fix #474 2025-06-02 10:11:21 +01:00
Moustapha Kodjo Amadou
80efee40d1 dart format 2025-05-30 17:43:42 +01:00
Moustapha Kodjo Amadou
3e401c8af2 dart format 2025-02-23 15:31:49 +01:00
Schnitzel5
aa946c9d51 enhanced sync feature 2025-02-12 19:13:16 +01:00
Moustapha Kodjo Amadou
3eeb4777a6 feat: improve chapter download 2025-01-30 15:09:47 +01:00
kodjomoustapha
87ba9d1291 fix 2024-12-24 11:51:53 +01:00
Schnitzel5
3bc85cf5aa saving novel chapter progress + removed sync for now 2024-12-21 21:18:21 +01:00
Schnitzel5
ca16d34332 Merge branch 'feature/light-novel' into feature/novel 2024-11-22 00:28:24 +01:00
kodjomoustapha
ee1529be24 update 2024-11-20 17:59:12 +01:00
Schnitzel5
3d29a12fc4 fix init settings 2024-11-09 00:27:11 +01:00
Schnitzel5
531e69cf44 added some more error handling for edge cases 2024-09-25 18:52:26 +02:00
Schnitzel5
6488983464 fix sync after read or watch option 2024-09-12 23:52:04 +02:00
Schnitzel5
96e5f08a30 fix sync after read or watch option 2024-09-12 22:37:53 +02:00
Schnitzel5
45a0d5c9db fix history manga id and added feed list schema 2024-09-11 00:42:24 +02:00
Schnitzel5
b412877886 improved sync feature 2024-09-08 03:13:58 +02:00
Schnitzel5
a90696ddad added hash check back 2024-09-04 20:41:42 +02:00
Schnitzel5
82a18101fe testing first version of sync feature 2024-09-04 14:37:36 +02:00
kodjomoustapha
33410544f0 fix #149 2024-03-25 16:11:25 +01:00
kodjomoustapha
afb09d3f7e Refactor 2024-02-09 13:24:36 +01:00
kodjomoustapha
d5cfd1f25f Fix 2024-01-05 09:09:24 +01:00
kodjomoustapha
7382ef0d96 Added Lastest button in the sources list, organized the automatic tracking feature 2023-12-22 11:51:29 +01:00
kodjomoustapha
da5c350be8 + 2023-12-21 23:00:50 +01:00
kodjomoustapha
d454897656 feat: Automatic Tracking #71 2023-12-21 17:17:06 +01:00
kodjomoustapha
c927475720 Skip filtered out chapters in reader #70 2023-12-18 11:16:30 +01:00
kodjomoustapha
d02088cce7 added autoscroll play pause button 2023-12-13 18:13:00 +01:00
kodjomoustapha
0c9de22c94 Add autocroll page , code refactor 2023-12-05 18:15:16 +01:00
kodjomoustapha
757587a64d some fix 2023-11-29 14:12:40 +01:00
kodjomoustapha
4b359a7db0 wip backup and restore 2023-11-20 17:26:08 +01:00
kodjomoustapha
864d00417a Added double columm page view 2023-10-26 19:21:18 +01:00
kodjomoustapha
2f0b01db16 fix chapter list when adding new chapter entry 2023-09-20 15:34:12 +01:00