Commit Graph

327 Commits

Author SHA1 Message Date
Huang Xin c8bfb64ad3 Dynamically set theme color for PWA browser UI elements (#213) 2025-01-22 01:20:41 +01:00
Huang Xin ee0d7d7ad0 Support PWA for the web version (#212)
* Support PWA for the web version

* Remove unused Cargo.lock
2025-01-22 00:18:19 +01:00
Huang Xin fc2cad3980 Make dialogs responsive for mobile devices (#209)
* Make dialogs responsive for mobile devices

* Support mouse backward/forward buttons

* Use back icon to close layer 2 components on mobile devices
Currently layer 2 components are: 1. sidebar 2. notebook 3. dialogs
They are all fullscreen on mobile devices.

* Add translations
2025-01-21 19:49:41 +01:00
QP Hou 07116bdae8 ci: run rust clippy/fmt (#207) 2025-01-21 07:20:26 +01:00
QP Hou a7ba5db830 dev: add editorconfig (#206) 2025-01-21 07:18:00 +01:00
QP Hou 7fcaab8b9f mobile: swipe up to toggle header/footer (#205) 2025-01-21 07:17:36 +01:00
Jiucheng(Oliver) a853bc52d2 Add delete functionality to BookDetailModal with confirmation alert (#204) 2025-01-21 07:11:46 +01:00
Huang Xin e34978672e Various fixes and enhancements on updater, header bar and tts (#203)
* Show 0% as valid reading progress

* Add check update button in the about window

* Fix title overflow, fix tts won't continue at chapter end
2025-01-20 22:34:05 +01:00
Huang Xin 751bf3836c Disable app updater for app store version and support more languages (#202)
* Disable app updater for app store version

* Add translations for uk, pl and hi
2025-01-20 17:14:26 +01:00
Huang Xin 87069c7308 Fix TTS on iOS browsers, closes #172 (#198) 2025-01-20 01:53:12 +01:00
QP Hou ca2a62a921 support setting dev environment using nix (#195) 2025-01-19 09:36:49 +01:00
Huang Xin f53f5b7594 Add cors for translation API (#193) 2025-01-18 19:56:12 +01:00
Huang Xin 443809f5af Release version 0.9.6 (#191) v0.9.6 2025-01-18 18:44:16 +01:00
Huang Xin c009edca61 Fix translation API (#189)
* Fix translation API

* Add missing translations
2025-01-17 19:10:27 +01:00
Huang Xin 58c907c7cc Various enhancements for mobile platforms (#188)
* Larger area to toggle header/footer bar

* Don't show rounded window on web platform

* Disable tooltips on mobile platforms as there is no mouse pointer

* Dedupe voices from web speech API
2025-01-17 15:42:16 +01:00
Huang Xin 5ca173818b Fix corner case of sync progress failure (#187) 2025-01-17 13:45:29 +01:00
Huang Xin f64b5606f1 Hide book title in header bar for small screens (#185) 2025-01-17 00:28:06 +01:00
Huang Xin 010568eeb1 Responsive layout for sidebar and settings dialog on mobile devices (#184) 2025-01-17 00:17:51 +01:00
Huang Xin d24f737428 Style tweaks: slightly lighter base-300 colors and padding around tab icons in sidebar (#183) 2025-01-16 19:07:23 +01:00
Huang Xin 1635958ae3 More precise translations for some options and add Greek translations (#182)
* More precise translations for some options, closes #165

* Add Greek translation, closes #181
2025-01-16 15:18:14 +01:00
Huang Xin c8f0c09426 Use dynamic viewport unit dvh to avoid page covered by toolbar and address bar in mobile browsers (#160) 2025-01-15 19:11:05 +01:00
Huang Xin 60a9eb5b57 Release version 0.9.5 (#159) v0.9.5 2025-01-15 17:55:50 +01:00
Egan Gumiwang Pratama Bisma 46fdea3522 feat: provide reading progress indicator for each books in the bookshelf (#153)
* feat: provide reading progress indicator for each books in the bookshelf

* refactor: simplify bookshelf component and remove unused hook; enhance reading progress calculation

- Removed the `useBookConfigLoader` hook as it was no longer needed.
- Simplified the bookshelf items generation by eliminating the use of `useMemo`.
- Improved the reading progress calculation in the `ReadingProgress` component to directly use the book's progress data.
- Updated the `Book` type to include a `progress` field for better tracking of reading status.

* fix formatting for readerStore
2025-01-15 17:17:07 +01:00
Huang Xin ba82203629 Set webpage title to book title (#155) 2025-01-14 17:02:23 +01:00
Huang Xin 8dbcf25331 Toggle TTS stop when it's already running (#154) 2025-01-14 15:32:47 +01:00
Huang Xin 7e9ddcd7cc Preload the next two paragraphs in advance for TTS playback (#151) 2025-01-14 01:45:54 +01:00
Huang Xin 211fc2cd22 Add more system fonts (#150) 2025-01-13 23:27:52 +01:00
Huang Xin 3578d7eba8 Handle publisher with language map in book metadata (#149) 2025-01-13 22:53:58 +01:00
Huang Xin d220adbfdf TTS UX enhancements (#148)
* Fix toast of PDF unsupported for TTS

* Use vertical scroll for large dropdown menus
2025-01-13 20:04:04 +01:00
Huang Xin 752f4449b4 Add fallback fonts for GB18030-2022 L3 charsets (#147)
* Add fallback fonts for GB18030-2022 L3 charsets

* Update README to credit fonts used in this application
2025-01-13 19:14:43 +01:00
Huang Xin 66f369b269 Fix multiple voices when setting rate and voices in Firefox (#146) 2025-01-13 00:19:49 +01:00
Huang Xin 2251d65de4 Release hotfix of occasionally speak not stop when setting rate and voice v0.9.3 2025-01-11 19:08:23 +01:00
Huang Xin 463ea39467 Fix occasionally current speak not stopped when changing voice or rate (#144)
* Fix occasionally current speak not stopped when changing voice or rate

* Inherit tts rate when changing tts engine
2025-01-11 18:11:14 +01:00
Huang Xin 87bc842525 Set default sidebar width to 15% of screen width (#143) 2025-01-11 11:34:43 +01:00
Huang Xin 2ad67a0503 Init TTSController async when showing TTS indicator and add more voices (#142) 2025-01-11 11:15:21 +01:00
Huang Xin 9f894e1d9e Use default voice in Edge TTS (#141) 2025-01-10 15:26:01 +01:00
Huang Xin cc97a1b36f Update README (#140) v0.9.2 2025-01-10 14:36:37 +01:00
Huang Xin 4e42ec4a44 Release 0.9.2 (#139) 2025-01-10 14:13:56 +01:00
Huang Xin 00003a9415 Preloading audio for Edge TTS and other fixes (#138)
* Blacklist some low-quality web tts voices

* Dropdown layout tweaks

* Handle no audio data received in Edge TTS

* Preloading audio for Edge TTS
2025-01-10 14:11:09 +01:00
Huang Xin 7402141237 Add Edge TTS backend, selecting different voices will change TTS backend dynamically (#137) 2025-01-10 02:35:23 +01:00
Huang Xin e0323bb0ed Fix access token sometimes invalid in browser context (#136)
* Update dependencies

* Fix access token sometimes invalid in browser context
2025-01-09 17:58:55 +01:00
Egan Gumiwang Pratama Bisma 112c5fa979 enforce numeric inputs on NumberInput and prevent NaN text (#135) 2025-01-09 12:51:06 +01:00
Egan Gumiwang Pratama Bisma 86dc32dab3 persist max block size setting in LayoutPanel component (#134)
https://github.com/readest/readest/issues/131
2025-01-09 12:23:11 +01:00
Huajin 33d4dcd740 Better animation for sidebar transitions (#133)
* Add transition for BooknoteItem

* Add Tab switch animations and tooltip 'Toc' translations.

* Use 'Table of Contents' instead of 'Toc' as key.
2025-01-09 12:16:07 +01:00
Huang Xin 36d6074468 Filter voices list and shutdown TTS when closing book (#130) 2025-01-09 03:33:52 +01:00
Huang Xin cc1396876e Add select voice button in the TTS panel (#129) 2025-01-09 01:34:30 +01:00
Huang Xin f26de3ab0d Add speech speed slider in the TTS panel (#128) 2025-01-08 21:31:12 +01:00
Huang Xin 814a0032d0 Add 'Speak' button in the footbar (#127) 2025-01-08 19:44:04 +01:00
Huang Xin c6defb97ee Fix TTS might stop at the end of the section (#126) 2025-01-08 17:50:36 +01:00
Huang Xin ddee347eb3 Fix text color in misc panel and adjust order of annotator tools (#125) 2025-01-08 16:50:57 +01:00