Commit Graph

152 Commits

Author SHA1 Message Date
Aria Moradi
f47f71bc4c fix links to work on a bare host (#132) 2022-02-21 01:10:33 +03:30
Aria Moradi
08d44e38fc show locale date, less confusing (#131) 2022-02-20 23:49:37 +03:30
abhijeetChawla
aaaadebfb3 refactor ChapterOptions (#126)
* Added a useLocalStorageReducer funtion
This is mostly  a refactor of ChapterOptions to simplify it with  a reducer function
Also moved a lot of function used in ChaperList to a utility file

* Added UseCallback where needed

* renamed utility folder to util to follow the convention throughout the app

* Refactor: Moved Resume FAB to seperate file

* Renamed  Types and Function for chapter filtering and sorting with the chapterOption prefix

* more renaming
2022-01-24 13:09:28 +03:30
abhijeetChawla
f273b11a82 refactor ChapterList (#125)
* Refactor to move all the Data fetch logic for chapters to seperate Hook called useChapterFetch

* Bug fix: No Chapters found Toast
2022-01-23 10:00:54 +03:30
Aria Moradi
7eedce62cd handle search shortcuts (#116)
* code cleanup

* fix some issues

* handle search keyboard shortcuts
2021-12-19 18:06:27 +03:30
Aria Moradi
83f025161b cleanup (#117)
* cleanup

* fix template
2021-12-19 18:02:02 +03:30
abhijeetChawla
2a7b0692e2 added extension search (#115)
Rewrote Extensions as with Virtuoso and Made it Query Work just the Extension Sort order is remaining
2021-12-19 11:25:35 +03:30
abhijeetChawla
d382998d06 Chapter filter is woking (#114) 2021-12-13 17:52:56 +03:30
Aria Moradi
51376be845 migrate PageNumber to Mui 5 (#90)
* migrate PageNumber to Mui 5

* Update src/components/reader/PageNumber.tsx

Co-authored-by: Sascha Hahne <ntbm@users.noreply.github.com>

Co-authored-by: Sascha Hahne <ntbm@users.noreply.github.com>
2021-12-04 10:36:55 +03:30
Aria Moradi
83e6038f61 migrate HorizantalPager to Mui 5 (#92) 2021-12-04 10:31:13 +03:30
Aria Moradi
b08425647a migrate DoublePagedPager to Mui 5 (#91) 2021-12-04 10:28:52 +03:30
Aria Moradi
864e1e4fb0 migrate DoublePage to Mui 5 (#88) 2021-12-04 10:24:16 +03:30
Aria Moradi
24addbdb52 show correct title (#111) 2021-12-04 10:23:12 +03:30
abhijeetChawla
ac4aa7d1ca MangaCard imges don't stretch now (#110) 2021-12-03 13:09:02 +03:30
Aria Moradi
890e0c8aa3 migrate PagedPager to Mui 5 (#93) 2021-12-03 10:36:36 +03:30
Aria Moradi
1a62bad4a6 migrate VerticalPager to Mui 5 (#94) 2021-12-03 10:35:55 +03:30
Aria Moradi
a8444e5101 migrate SpinnerImage to Mui 5 (#97)
* migrate Page to Mui 5

* migrate SpinnerImage to Mui 5

* match the style
2021-12-01 03:06:06 +03:30
Aria Moradi
c214406546 migrate ReaderNavbar to Mui 5 (#84)
* migrate ReaderNavbar to Mui 5

* cleanup, show loading text when loading.
2021-12-01 03:03:52 +03:30
Aria Moradi
a3fe748c90 add support for MultiSelectListPreference (#108) 2021-11-29 19:08:02 +03:30
Aria Moradi
03d09b2e92 cleanup library (#107)
* refactor library

* handle invalid tab numbers
2021-11-19 16:36:02 +03:30
Aria Moradi
057d284a01 migrate DesktopSideBar to Mui 5 (#87) 2021-11-17 17:00:11 +03:30
Aria Moradi
d35f7c64d3 migrate SourceCard to Mui 5 (#82)
* migrate SourceCard to Mui 5

* give semantic meaning
2021-11-17 15:45:25 +03:30
Aria Moradi
cc1d94545f migrate LoadingPlaceholder to Mui 5 (#96) 2021-11-17 15:42:43 +03:30
Aria Moradi
30dd0fb86f migrate ExtensionCard.tsx to Mui 5 (#81)
* migrate ExtensionCard.tsx to Mui 5

* fix styling
2021-11-17 14:29:47 +03:30
Aria Moradi
045fac7e97 migrate LangSelect to Mui 5 (#86) 2021-11-17 14:28:23 +03:30
abhijeetChawla
0a89d227db Save tabs number in Url to persist tab when go to other paths (#78)
* added an optional  url parameter to the library path to get to a particular tab

* Added Error checking when taking the parameter from the Url

* Now Tabs persist with library options

* FIxed a bug which made the backbutton appear in the Library route when tabs number was presents in the url
2021-11-17 14:10:04 +03:30
Aria Moradi
2911844681 migrate ChapterCard.tsx to Mui 5 (#80) 2021-11-15 19:33:35 +03:30
Aria Moradi
556d7086d1 migrate LibraryOptions to Mui 5 (#83) 2021-11-15 19:33:04 +03:30
Aria Moradi
6f86f0514b migrate CategorySelect to Mui 5 (#85) 2021-11-15 19:32:25 +03:30
Aria Moradi
0ac0d2d52c migrate EmptyView to Mui 5 (#95) 2021-11-15 19:29:57 +03:30
Aria Moradi
04a1898ea7 Revert "migrate some components to Mui5 new styling system (#72)"
This reverts commit 72ef61e286.
2021-11-15 17:21:31 +03:30
Aria Moradi
0eedbe6626 load first page on read manga (#76) 2021-11-15 12:53:18 +03:30
abhijeetChawla
72ef61e286 migrate some components to Mui5 new styling system (#72)
* - Changed the value in Manga from 960 to 900( md breakpooint)
- The CicularLoader in About  and Reader screens is now centered to the whole screen
- Changed relative imports in About screen to absolute imports
- removed changed styles from Browse Screen, PageNumber

* Migrated Source Card, Extension Card and LoadingPlaceHolder to MUI system

* Migrated CategorySelect and LandSelect to using the sx prop

* migrated ReaderNavbar to mui 5

* - Removed Unused Styles from Page
- Migrated DoublePage, doublePagedPager, PagedPager, Vertical Pager and Horizontal Pager.

* Replaced style prop with sx prop

* removed useStyles completely from the project except for the Manga Screen

* added a comment

* Fixed the Source Card Buttons padding

* Removed the trailing backspace

Co-authored-by: Sascha Hahne <ntbm@users.noreply.github.com>

Co-authored-by: Sascha Hahne <ntbm@users.noreply.github.com>
2021-11-14 13:51:08 +03:30
Aria Moradi
416dd227a2 make the whole chapter card into a button (#73)
* whole chapter card is a button

* return to anchor
2021-11-14 00:07:43 +03:30
Sascha Hahne
1b0c277188 Fix Bad messages in Library Appbar search (#70) 2021-11-10 12:14:27 +03:30
abhijeetChawla
8543877b2a Change color of navbar in light mode (#65)
* Changed the color of the DesktopSideBar and MobileBottomNavbar in LightMode to be more legible

* refactor
2021-11-08 02:30:31 +03:30
abhijeetChawla
42c5c3042d add filter and badge for downloadCount (#62)
* Added the Download filter and download badge

* Update src/components/library/LibraryMangaGrid.tsx

Co-authored-by: Sascha Hahne <ntbm@users.noreply.github.com>

* - corrected some spelling mistakes

Co-authored-by: Sascha Hahne <ntbm@users.noreply.github.com>
2021-11-07 13:59:48 +03:30
abhijeetChawla
f816abfdc9 Add Resume Reading FAB Manga screen (#59)
* Added the Floating action button to Resume to the last read chapter

- When a chapter is marked as read/unread the lastPageRead is changed to 1,
Also fixed a bug which made the boolean expression appear in the ui
Also removed some unused Styles

Added the Resume/Start Button

* changed a Resume button to a React compnent

* Update src/screens/Manga.tsx

Co-authored-by: Sascha Hahne <ntbm@users.noreply.github.com>

* Update src/screens/Manga.tsx

Co-authored-by: Sascha Hahne <ntbm@users.noreply.github.com>

Co-authored-by: Sascha Hahne <ntbm@users.noreply.github.com>
2021-11-02 21:28:08 +03:30
Aria Moradi
c15ee7ab66 refactor MangaCard 2021-10-31 21:02:45 +03:30
Aria Moradi
e89497df33 nicer gradient 2021-10-31 20:58:35 +03:30
Aria Moradi
aabedc5d08 reorder nav buttons 2021-10-31 20:58:35 +03:30
abhijeetChawla
b755ad373f add aspect ratio to the manga card. (#56)
* added an aspect ratio to the manga card.

* added a comment and chaged the ratio to the recommeded
2021-10-31 20:55:57 +03:30
Sascha Hahne
9e65870fae add Search to Library (#55)
* Implement bare bones library search

* Add nice interactions
2021-10-31 15:15:34 +03:30
Aria Moradi
8ac72a483d refactor 2021-10-30 18:41:53 +03:30
Aria Moradi
95e0463e96 custom Extension icon, google's version is shit 2021-10-30 18:20:03 +03:30
Aria Moradi
1eccc28097 fancy icon based on if path selected 2021-10-30 17:29:27 +03:30
Aria Moradi
a2081a4552 remove text decoration 2021-10-30 16:56:33 +03:30
Aria Moradi
a30ddcf811 show different NavbarItems depending on device width 2021-10-30 16:34:09 +03:30
Aria Moradi
091d97c914 refactor 2021-10-30 16:10:34 +03:30
Aria Moradi
92ae5c8cd0 fix navbar 2021-10-30 15:19:49 +03:30