Commit Graph

28 Commits

Author SHA1 Message Date
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
6f86f0514b migrate CategorySelect to Mui 5 (#85) 2021-11-15 19:32:25 +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
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
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
Aria Moradi
aabedc5d08 reorder nav buttons 2021-10-31 20:58:35 +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
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
Aria Moradi
a1c84df0d5 put Sources and Extensions in the same screen 2021-10-26 14:57:11 +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
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
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
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
Aria Moradi
5d005441ea migrate material-ui to v5 2021-09-09 17:51:22 +04:30
voltrare
d85322b621 Update ReaderNavBar (switch exit and back button) (#21) 2021-09-07 00:55:13 +04:30
Aria Moradi
430b10ad24 fix navbar changing width slightly 2021-08-29 02:09:56 +04:30
Aria Moradi
f5a88d98af better reader title, next, prev buttons 2021-08-29 01:57:46 +04:30
Aria Moradi
60df3b80fd move webUI out of Tachidesk 2021-09-02 14:15:03 +04:30