Commit Graph

106 Commits

Author SHA1 Message Date
schroda
ebe8a3c376 Fix "extension" root route redirect
Not sure why this redirects to the root route instead of to the extension page (got introduced in 2e105a0539)
2025-07-23 01:36:05 +02:00
schroda
b444c427e4 Fix removed "source" route redirect
Page got merged in db65b9df44 and never got properly redirected to the new location (8178574815)
2025-07-23 01:36:05 +02:00
schroda
2e105a0539 Introduce "Extension info" screen 2025-06-23 00:05:16 +02:00
Well404
caad353bfa Trigger library search on artist/author click (#939)
* add search func

* Fix lint issues and clean up

---------

Co-authored-by: schroda <50052685+schroda@users.noreply.github.com>
2025-05-17 19:04:16 +02:00
schroda
b80006504e Move files into different folders 2025-05-03 12:16:48 +02:00
schroda
ee3e741688 Lazy load missed routes 2025-04-21 23:01:05 +02:00
schroda
0b97e8bb8d Move "About" outside "Settings" in regard to routing
Is already not part of the settings anymore, however, the route was never updated
2025-04-05 15:41:11 +02:00
schroda
8cbc8c5099 Disable "more" route on desktop 2025-04-05 15:38:41 +02:00
schroda
f570b7c9ed Optionally hide history 2025-03-22 01:16:38 +01:00
Jack
9e5fa7d81a Add history page (#897)
* Add History module and integrate it into the app

Introduce the History module with components for displaying chapter updates, including UI for grouped updates by date. Update routing and constants to incorporate the new /history path.

* Replace "Updates" and "History" with unified "Recent" module

Merged the "Updates" and "History" screens into a single unified "Recent" module with corresponding navigation updates. Adjusted GraphQL types and localization files to reflect the changes. This simplifies navigation and improves user experience.

* Refactor History screen to remove unused components.

Removed unused states, layout effects, and props related to last update timestamp. Renamed variables for better clarity and updated labels and error messages to align with the history context. Simplified component structure for improved maintainability.

* ```
Refactor tab handling and integrate dynamic height adjustments.

Renamed enums for better clarity and consistency. Implemented a `tabsMenuHeight` prop to dynamically adjust component layouts based on observed height changes using `useResizeObserver`. Updated the `Updates` component to consider the calculated heights for improved rendering.
```

* Refactor `groupByDate` parameter and add `lastReadAt` field

Renamed `updates` to `histories` in `groupByDate` for clarity and added a debugging log for input data. Updated GraphQL fragment to include the `lastReadAt` field to support additional functionality.

* Refactor `groupByDate` parameter and add `lastReadAt` field

Renamed `updates` to `histories` in `groupByDate` for clarity and added a debugging log for input data. Updated GraphQL fragment to include the `lastReadAt` field to support additional functionality.

* Refactor `groupByDate` parameter and add `lastReadAt` field

Renamed `updates` to `histories` in `groupByDate` for clarity and added a debugging log for input data. Updated GraphQL fragment to include the `lastReadAt` field to support additional functionality.

* Refactor `groupByDate` parameter and add `lastReadAt` field

Renamed `updates` to `histories` in `groupByDate` for clarity and added a debugging log for input data. Updated GraphQL fragment to include the `lastReadAt` field to support additional functionality.

* "Optimize GraphQL type definition formatting in generated file

Condensed the formatting of the GetChaptersHistoryQuery type to a single line for improved readability and consistency. This change does not affect functionality but enhances maintainability of the generated code."

* Remove UpdateChecker component from History screen

The UpdateChecker component and its related navbar action have been removed from the History screen. This simplifies the navbar setup and eliminates unused functionality in this context.

* Refactor chapter fragment and type references

Updated `ChapterRecentListFieldsFragment` to `ChapterUpdateListFieldsFragment` for better alignment with naming conventions. Adjusted type imports and query structures to maintain consistency across files. No functional changes introduced.

* Refactor padding calculation logic in Updates screen.

Renamed state variable and refactored its logic for clarity and consistency. The updated logic now uses a more descriptive name, `listPadding`, to enhance code readability and maintainability.

* Pass `tabsMenuHeight` prop to History component

Added `tabsMenuHeight` prop to the `History` component to properly calculate the height for the `StyledGroupedVirtuoso` element. This ensures consistency with other components and improves layout rendering.

* Revert package.json

* Add last page read tracking to chapter history

Introduced "lastPageRead" and "pageCount" fields to track progress in chapter history. Updated UI to display the last page read along with total pages for chapters. Adjusted localization files to support the new "page" label.

* Remove last page read display from ChapterHistoryCard

The "last page read" information was removed from the ChapterHistoryCard component for a cleaner UI. This change simplifies the card's design by showing only the chapter name and relevant download state.

* Forcing an empty commit.

* Replace "Recent" screen with separate "Updates" and "History".

The "Recent" feature has been split into two distinct screens, "Updates" and "History", for improved clarity and functionality. Routes, icons, and components have been updated accordingly, and redundant code related to "Recent" has been removed.

* Clean

* Revert vi.json

* Remove unnecessary `useLocation` hook and update state logic.

The `useLocation` hook was removed as it was not used elsewhere in the component. The state property for the routing logic was updated to use `Chapters.getReaderOpenChapterLocationState` for better encapsulation and clarity.

* Update history localization by removing unused "page" key

Removed the "page" key from the "history" section in the localization file as it is no longer in use. This cleanup helps keep the translation file consistent and easier to maintain.

---------

Co-authored-by: NamNH <namitonguyen@gmail.com>
2025-03-10 21:53:40 +01:00
schroda
6afc9f22b6 Introduce "more" page
- moves "Settings" into "more" page
2025-03-09 16:19:31 +01:00
schroda
57f73636a0 Read chapter download status from cache
Instead of getting the whole download status, which contains all queued/active downloads, the download status should be read from the cache for only the required chapters
2025-01-12 14:09:10 +01:00
schroda
d66b3eb38d Handle main content screen right safe area 2025-01-08 23:59:26 +01:00
schroda
d844ad3f5d Use full height and width of viewport on iOS
- render appbar background color on ios status bar
- handle "home indicator" safe area inset
2024-12-16 14:49:35 +01:00
schroda
cff0ed5ec3 Extract app routes into constant 2024-12-11 20:25:49 +01:00
schroda
7ffcfc1a16 Keep route names lowercase 2024-12-11 13:55:00 +01:00
schroda
20a8666f95 Simplify setting route names 2024-12-11 13:51:46 +01:00
schroda
6802941252 Rename "Default reader settings" to "Reader settings" 2024-12-11 13:43:53 +01:00
schroda
da0004de4a Base reader component 2024-12-09 02:38:37 +01:00
schroda
a607f7f368 Reader settings 2024-12-09 02:38:37 +01:00
schroda
8e59763bba Delete deprecated reader files 2024-12-09 02:38:37 +01:00
schroda
84b9f8361d Fix RequestManager location
Was changed unintentionally
2024-10-06 13:45:22 +02:00
schroda
a16fef0aab Move setting files into new folder 2024-10-06 00:16:31 +02:00
schroda
57158d6abd Move backup files into new folder 2024-10-06 00:08:19 +02:00
schroda
ec061e9854 Move updates files into new folder 2024-10-06 00:08:19 +02:00
schroda
92659184b2 Move global-search files into new folder 2024-10-06 00:08:18 +02:00
schroda
204d909b0e Move download files into new folder 2024-10-06 00:08:14 +02:00
schroda
3917d5b328 Move browse files into new folder 2024-10-06 00:07:51 +02:00
schroda
3244a6e3df Move device files into new folder 2024-10-06 00:01:51 +02:00
schroda
c0eabf8865 Move navigation-bar files into new folder 2024-10-06 00:01:51 +02:00
schroda
e466842c77 Move theme files into new folder 2024-10-05 23:35:25 +02:00
schroda
d41e79ca78 Move app-update-checker files into new folder 2024-10-05 23:35:24 +02:00
schroda
946c852828 Move category files into new folder 2024-10-05 23:35:23 +02:00
schroda
17e42ae012 Move migration files into new folder 2024-10-05 23:35:22 +02:00
schroda
7cf3849911 Move tracker files into new folder 2024-10-05 23:35:21 +02:00
schroda
64629fd979 Move source files into new folder 2024-10-05 23:35:18 +02:00
schroda
79341b7817 Move reader files into new folder 2024-10-05 23:35:17 +02:00
schroda
91e1f01de5 Move library files into new folder 2024-10-05 23:35:16 +02:00
schroda
18fc225d6c Move manga files into new folder 2024-10-05 23:35:13 +02:00
schroda
23a86a77f0 Move core files into new folder 2024-10-05 22:55:08 +02:00
schroda
12d12ccc48 Use custom themes 2024-09-05 21:57:15 +02:00
schroda
e909fc64fd Move "darkTheme" setting to "Appearance" page 2024-09-05 04:49:47 +02:00
schroda
053db4a1e3 Update manga page styling 2024-08-31 23:41:39 +02:00
schroda
b80622cb17 Prevent grid items from jumping after closing reader
Due to the reader and the "default" nav bar updating the same navbar width in the context, the grid item width calculation resulted in different grid item widths, which caused the items to "jump" after closing the reader
2024-07-29 17:24:37 +02:00
schroda
5632c4584b Consider y-scrollbar when setting max-width
In case there was a y-scrollbar, the set max width caused the x-scrollbar to also appear
2024-07-13 13:01:33 +02:00
schroda
f43b7af3cd Refactor base app layout 2024-07-13 03:46:37 +02:00
schroda
37a371863f Set css color scheme via MUI 2024-05-20 16:23:11 +02:00
schroda
df66e180d8 Add setting to show duplicated library entries 2024-05-04 15:41:21 +02:00
schroda
ba3aefc854 Lazy load app routes 2024-04-30 00:39:47 +02:00
schroda
c4d77d2325 Globally inform about successful webUI updates
In case automatic webUI updates are disabled, the user gets informed about available updates
2024-04-21 15:03:24 +02:00