Commit Graph

193 Commits

Author SHA1 Message Date
Jays2Kings
9b078a9a4e Clean up resources 2021-04-11 14:36:34 -04:00
Jays2Kings
0a3d6bd8f5 adding compatToolTipText helper + using unused strings 2021-04-10 19:10:42 -04:00
Jays2Kings
0545780ae9 Recents Options
*Show Downloads on all, unread, or none of the items
*Show manga title first
*Show/Hide Reset History Button
*Show read chapters in Grouped/All
2021-04-06 21:36:30 -04:00
Jays2Kings
6d6766a86a
Double pages (#699)
* Start of dual pages

* Fixes to dual pages + added button to shift

Next to add a button to get out of this nightmare

* Adding preference to truly support on and off

* Set double pages correctly for L2R reading mode

* Hide shift double page in single page mode

also fix shift into or out of double pages not going to right page

* Shift page back on loading a new chapter

* Fix back shift when reaching near end of chapter with shifted pages

* Fix chapters not being marked as read when last pages are doubled

* more fixes

* change menu icon and verbage

* Fixed going to previous/next chapter when turning on/off double shift sometimes

* Fix shift icon for double page in R2L

* Adding double page as option in reader sheet

* Adding saving/share/setting cover for second page

* Add back page indicator

* RTL language support for current page in double mode

* Changing to double page always moves the current page to first slot

Also fix bad snap back from single to double or vice versa

* Reset shift icon when going to a new chapter

* Add Double pages to reader settings

* Add padding to current/total pages text

since it gets pretty long with double digits in double pages mode

* Option for automatic single/double layout based on orientation

With option to change mid read

* More fixes

* Lotta reworking to make this work

Lotta reworking to make this work

Seriously a lot of reworking to make this work

* Cleanup + Some documentation

Because I won't "know my own code"

I genuinely do not know what I just coded

* Swapped around icons for double page in chapter sheet bar

Since it was confusing even me

* Fix shifting not updating the ui, nor shifting back to the right page

* Fix changing chapters

* Fixed Prev Chapter transition page jumping back 1

* Fixed progress spinner for single page loading

* Fix the case of a second page shifting for full width while double shift is on

It would unshift the pages in this case, requiring another shift back

If this sounds confusing or complex, it's because it is

Also clean up

* Update Initial dual page bg to match reader bg theme

* More cleanup

* More cleanup + docs + refactoring

* String update

* more cleanup

* Update toolbar ripple based if the menu item is visible

* Fix more issues with shifting + next chapter's first page being a double

* Cleanup ChapterTransision Checks

* Always run shifting logic

* Even more optimizing

which hopefully didnt break something (prolly did)

(spoilers it did I had to undo this local commit)
(more spoilers it still will break again)

* Fix Retry in double mode

* Set gifs as fullpages

* Fix going from automatic to single/double page layout

* More cleanup, more comments

* Fix changing page layout when on a transition page for a manga with a single chapter

The edge cases you can find....man

* Restore shifted pages on activity recrreation

* Adding a "beta" tag to page layout

IMO it's absolutely solid and release candidate ready, but you can get away with so much by calling something a "beta" or an "alpha"
2021-04-05 14:55:22 -04:00
Jays2Kings
a1e69e7194 Adding back long tap reader sheet
Hope you missed it
2021-03-30 02:16:19 -04:00
Jays2Kings
21343225e3 Split Reader Bar
Taken from Neko

Co-Authored-By: Carlos <2092019+CarlosEsco@users.noreply.github.com>
2021-03-30 01:15:38 -04:00
Jays2Kings
c26c38ca39 Reverted manga details intent back to tapping on reader toolbar + ripple
Since all other forks are doing it, it should be clear to everyone

BUT I'm adding a ripple to show it's clickable
2021-03-26 23:01:06 -04:00
Jays2Kings
fe2543b9d5 Reworking Reader Activity Menus
Reader settings sheet now in a tabbed layout
Reader settings sheet also contains filter options
Reader menu now holds the long tap options (Share, Save, Set as cover)
Reader menu also has option to go to manga details (was on toolbar tap)
Also has the option to jump straight to reader settings
Removing long tap gesture on Reader since no longer needed
2021-03-24 17:10:31 -04:00
Jays2Kings
eb585e79d8 Added Search for settings
Also added highlighting to the search results as well

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-03-23 23:40:01 -04:00
Jays2Kings
9a220073b9 Updated Extensions Settings view
Some changes from upstream plus:
Settings in same view (collapsible)
Sorted by enabled languages
Disabled languages show as off
Disabled sources due to language can be turned on via tapping on them then the snackbar
2021-03-23 20:13:17 -04:00
Jays2Kings
b792504854 Various updates to Browse Tab
Changed filter languages button to a globe and now says "filter languages"
Fix source migration not animated between sources and manga
Leaving the migration tab sends you back to source migration list
2021-03-23 13:16:26 -04:00
Jays2Kings
7c63219801 Fix settings menu warning 2021-03-23 13:00:30 -04:00
Jays2Kings
d6b07b7f40 Added Source Migration to browse section
Don't ask me how I did it.
2021-03-23 12:58:57 -04:00
Jays2Kings
d96f0518f2 Change Library action bar action to expand filter sheet 2021-03-20 19:29:29 -04:00
Carlos
5989c7119f
add mark previous as read option in chapter list (#632)
add download unread, mark read, mark unread on library view
2020-12-13 12:19:20 -05:00
Jays2Kings
99010acc24 Added option to save/share manga cover when zoomed in 2020-09-16 01:42:27 -04:00
Jay
cfbc3156a1 Share urls of multiple manga in library
closes #119
Also hiding migration button and filtering out local manga when it comes to source migration in library
2020-06-06 22:22:00 -04:00
Jay
59c2da3f91 Batch select sources for pre migrations
Select none/all, pinned sources, enabled sources from the list
2020-05-23 17:07:52 -04:00
Jay
4230afecaa Refactoring vectors to remove _white/_black from the names 2020-05-21 03:03:55 -04:00
Jay
7ccf5b6d4d Cleaning out the rasterized resources 2020-05-21 02:38:44 -04:00
Jay
e76805160c Removing some icons and refactoring a few
Will refactor the rest 2 commits later
2020-05-21 02:11:18 -04:00
Jay
45f1f99292 Added Sources (Browse) settings + Global Pinned Search
Also moved all migration options to the sources settings
Migration sources converted to flowpref

New settings:
Only globally search pinned sources
Match migration sources with pinned
Match migration sources with enabled sources
2020-05-20 20:29:00 -04:00
Jay
59c108a972 Using new bottom sheet menu for sorting categories 2020-05-17 02:48:01 -04:00
Jay
083686ce60 Added display options item to the top of the toolbar as well 2020-05-02 14:31:54 -04:00
Jay
7b7222428c Add links to local source guide
Also added empty view in browse sources to retry or open in webview
2020-04-25 20:29:00 -04:00
Jay
90a3145345 Update string to say "WebView" 2020-04-25 20:20:10 -04:00
Jay
e9efc7d020 Added Tips for filters and chapter swipe
Using tooltip library to showtips
Swipe animations for first chapter item
Flow preferences to handle this
2020-04-25 00:47:01 -04:00
arkon
b08a5d6596 Remove manga homescreen shortcuts 2020-04-19 18:26:54 -04:00
Jay
732b7c3414 Update dividers 2020-04-19 17:41:50 -04:00
Jay
7fa0280e91 appending ic_ to the icon drawables 2020-04-13 23:18:00 -04:00
Jay
13ab4655b3 Removed unused resources 2020-04-13 23:13:13 -04:00
Jay
ea0b4c2bc3 Fixed remove downloads option escaping the overflow menu 2020-04-13 01:13:49 -04:00
Jay
6533689539 Recents can now be filtered for only history or updates 2020-04-13 00:46:01 -04:00
Jay
3a4780e19b Added option to migrate manga from manga details
Also copying manga date added to migrated manga
2020-04-12 18:53:56 -04:00
Jay
b5699154f4 Added option to ungroup recents 2020-04-11 00:05:59 -04:00
Jay
a73c847e3f Added Remove Downloads to manga details
Collasaping downloads if theres no downloads when its not in view
2020-04-09 00:50:22 -04:00
Jay
05428b308f Reordering the strings xml
and slightly more cleanup
2020-04-09 00:25:38 -04:00
Jay
fb529f52d3 Big refactoring of strings
Removing some of the unused, removing the prefixes on some strings
Cleaning up some of the unused resoures and dialogs
2020-04-08 20:32:36 -04:00
Jay
651682df4a Cleaning the library controller + removing the side swipe
^Since the fast scroll exists now
Root controlllers can all now swipe up from the bottom bar to expose sheet
Added option to refresh tracking for a manga
2020-04-06 03:10:53 -04:00
Jay
d0def563c8 New fast scroller for library
Updated Drag handle icon
Removed outline fron update button in extensions
Moved "view options" to filter sheet as "display options"
Removed freeform cover option from library 😔
Added swipe refresh to recents page
Removed a few overflows
2020-04-04 13:47:32 -04:00
Jay
1ce426d1c9 Download queue moved to recents
We're at 7 bottom sheets now
Using vibrant color for manga cover background
2020-04-03 01:04:44 -04:00
Carlos
a7765146fd Add sort by date added 2020-03-30 11:16:20 -04:00
Jay
6a7762212b New Recents Page + Download updates
Recent tab is now a combination of recent reads and updates, filtered by unread and an option to go to both old pages (which will be updated later)
Download button now has an option to start downloading a chapter now, which unpauses downloading and moves it to the top of the queue
If a chapter is added to a paused download queue with the notification swiped away, the notification returns
2020-03-28 01:23:22 -04:00
Jay
1a661f5d04 Optimize Imports 2020-03-24 02:07:36 -04:00
Jay
6a22c18fab Browse Filters is now also a bottom sheet
Lets see how many more we can add (we're up to 6 if you're keeping score)
2020-03-22 19:08:17 -04:00
Jay
b331e12fde Made chapters swipeable to change read/bookmark status 2020-03-22 04:10:27 -04:00
Jay
cc28ff7a77 Using selector for tab icons 2020-03-15 22:21:14 -07:00
Jay
6ab222bdc8 Using filled/outlined icons in tab bar + refactoring 2020-03-15 14:34:28 -07:00
Jay
d62c0f00c4 UI Fixing
Fixed source migration being clipped
Fixed shadow of unread badge being clipped
2020-03-14 17:27:39 -07:00
Jay
b3cda93f3c Custom download chapter popup now replaced with range select
Long pressing the badge also starts range select
2020-03-11 23:16:44 -07:00