Commit Graph

126 Commits

Author SHA1 Message Date
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
Aria Moradi
a26c2bf114 fix navbar broken logic 2021-10-30 14:57:08 +03:30
Sascha Hahne
e9bdc95060 Implement Unread Filter for Library (#54) 2021-10-29 21:41:23 +03:30
abhijeetChawla
88fb4b64b6 Bottom navbar for mobile (#51)
* - implemented Botton navbar for mobile devices
- Also made navbar conditional to render only when its on of the paths in the navbar

* - Added text to the mobile bottom bar
- Changed /downloads Path title to Downloads
- Added conditional paddingBottom when on mobile

* Made the Sidebar Seperate component used just for Non-Mobile Devices

* Added the main Material UI System package

* Extracted the Bottom Navbar into a seperate component

* updated the mui dependencies
2021-10-29 15:51:43 +03:30
abhijeetChawla
c91cc508f4 add EmptyView to DownloadQueue, refactro strings (#53)
* Added the Emty view message in the /download path

* Changed a few expression to template string
2021-10-29 15:51:10 +03:30
Sascha Hahne
e9236f3a61 Apply Api changes for unread badges (#52) 2021-10-29 00:07:13 +03:30
Sascha Hahne
9875cbdc70 Set Fallback Image for broken Thumbnails (#50)
* Set Fallback Image for broken Thumbnails

* Transparent placeholder

* Added some comments
2021-10-27 00:11:28 +03:30
Aria Moradi
a1c84df0d5 put Sources and Extensions in the same screen 2021-10-26 14:57:11 +03:30
Aria Moradi
afcb6e2442 refactor 2021-10-26 12:42:30 +03:30
Aria Moradi
8ed8f5da84 remove redundant '/manga' prefix from paths
We needed the prefix to distinguish anime paths from manga paths,
now that anime is no more, the redundancy shall be purged.
2021-10-26 12:13:37 +03:30
abhijeetChawla
b9b5b2818c Back button implementation (#47)
* Added the back button to the main Ui

* Changed the naviation in the reader ui so that when the next or previous chapter links are clicked, instead of adding the a new history entry, it will replace the current History entry and rereder the Reader component

* - Made changes so that if history is of length 1 then the backbutton will take you to /library
- made use of the startsWith method so that if we use url for the saving the last viewed category there won't be a need to change this
- changed a few relative imports to absolute imports

* Back button won't show for any route that has an icon in the  sidebar
2021-10-26 11:49:23 +03:30
Sascha Hahne
663232cd99 add Unread badges (#48)
* Added conditional unread badges

* Better spacing for unread badges

* Revert minHeight change as it is not relating to this feature

* Change to flexbox
2021-10-26 10:32:30 +03:30
Aria Moradi
58c44c156c fix the ugliness of bare messages
- replace "loading..." messages with LoadingPlaceholder
- Use EmptyView where appropriate
2021-10-24 22:56:10 +03:30
Aria Moradi
d24de2a571 Fix Local Source being missing 2021-10-24 21:57:05 +03:30
abhijeetChawla
ad59450e70 add Permanent sidebar for desktop widths(#46)
* sidebar is working in the desktop mode
Still needs a few styling imporvements

* - made the color of the sidebar same as the Navbar
- increased font size in when using on a non-mobile device

* changed the main view padding to 64px

* Settings changed a few values to be based on the Theme object

* - Added ToolTip
- Fixed a Typo
- Renamed mobileDevice to isMobileWidth
- changed text property to Title in NavbarItem

* increased tooltip fontsize
2021-10-24 19:34:38 +03:30
Aria Moradi
1ed001a8d8 Remove Anime support 2021-10-18 14:32:57 +03:30
Aria Moradi
1efd899188 don't show anime anymore 2021-10-18 14:27:19 +03:30
Aria Moradi
438a2d8212 rename ExtensionLangSelect: generic name for generic use 2021-10-18 14:24:11 +03:30
Aria Moradi
35da3b76c8 force Local source at LangSelect 2021-10-18 14:22:33 +03:30
abhijeetChawla
2049c329d7 fixes Reader navbar colors when in light mode (#43)
* fixed the navbar color when in lightmode

* Used the grey options available in the Theme object
- Added the package-lock.json

* removed package-lock.json

* Changed the colors in the navabr to the closest available color in the Theme object in Material UI

* Made the sidebar close button available even the staticNavbar setting is set to true

* reverted the changes to the .gitignore
2021-10-17 14:18:30 +03:30
minhe7735
7053273b61 Better portrait support (#41)
* Better portrait support

* re-added min and max width. Fixed react hook syntax
2021-10-17 10:45:14 +03:30
Aria Moradi
08980982e2 add support for Updates 2021-09-28 00:41:12 +03:30
Aria Moradi
cd86e160ca fix chapter list not calling onlineFetch=true 2021-09-27 18:29:05 +03:30
Aria Moradi
9a89346c01 add Local source guide 2021-09-19 17:30:34 +04:30
Aria Moradi
0e682c6897 special treatment for Local source 2021-09-19 17:11:29 +04:30
Aria Moradi
0ac2e41597 fix chapter name 2021-09-19 01:44:22 +04:30
Aria Moradi
03e7d4976a add support for useCache 2021-09-18 20:59:23 +04:30