Commit Graph

205 Commits

Author SHA1 Message Date
Jays2Kings
b9bf495ed6 Using colorAccent attr instead of color in some places 2021-04-09 15:49:08 -04:00
Jays2Kings
ed1fb9de1a Fixes to blue themes 2021-04-09 13:07:20 -04:00
Jays2Kings
a5585f1d8c Shrinking tab highlight indicator just a tad 2021-04-08 15:48:53 -04:00
Jays2Kings
be88e53dc9 Fixed tab indicator not showing
forgot to add the size into the drawable after I removed it from the styles oops
2021-04-08 15:48:38 -04:00
Jays2Kings
2c4ddcd555 Adding empty view for recents 2021-04-08 00:30:20 -04:00
Jays2Kings
c5e922334c exclude LocalSource in last used sources
Also fixing shortcuts for missing covers
Also no longer updating shortcuts after exiting reader
2021-04-07 23:00:40 -04:00
Jays2Kings
bb31a16190 Add button to remove reading history in recents
As an alternative to long press (which in another commit can be removed)
2021-04-06 18:14:34 -04:00
Jays2Kings
0c66d3b8b6 UI Revamp of Recents
*Now Endless scrolling in ungrouped/history/updates
*Removed going to history/updates controller in grouped (will later be removed entirely)
*Always showing a header to switch modes, instead of using a filter button (which will later be replaced
2021-04-06 17:06:22 -04:00
Jays2Kings
0e62516777 Changing Add to/Change in library dialog to a bottom sheet
I just don't get tired of them.

This also has a button to add a new category

Also updating the snackbar when adding to library to show a "change" button to update the categories. In case you have a default category set
2021-04-05 21:07:59 -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
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
697e1460dc Update the start padding a bit for last commit 2021-03-27 21:03:11 -04:00
Jays2Kings
477db48b61 actually add ripple effect on the reader toolbar
I was pretty sure I committed this in c26c38ca3 but here we are

It was just square ripple at first, but adding a new drawable with padding
2021-03-27 20:32:42 -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
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
d6b07b7f40 Added Source Migration to browse section
Don't ask me how I did it.
2021-03-23 12:58:57 -04:00
Jays2Kings
90a6543334 Separated library display options in *tabs*
To all my fellow tab-hating fans: I'm so sorry. Words cannot express the disappointment in myself. I shall be posting a public YouTube apology video soon.
2021-03-22 22:10:40 -04:00
Carlos
90ca4ecf53
Make cards and bottom sheet multiple of 4 for standards (#539)
* use dimens for corners on sheets
removed unused dimens
use same dimens on cards (can be reverted)
up card elevation slightly

* hide change categories when no categories exist
2020-08-09 14:59:15 -04:00
Carlos
442a439e66
Tracker improvements (#473)
* add tracker logout dialog from upstream

* update for all trackers to have logout dialog

* remove logout button from login screen

* new login button that is more material
had to remove red_error color cause that was in the library that i removed

* return error message if user has blank username/password

* add x button to clear tracked Manga
add dialog that gives option to clear just in app or from tracking service
added mal as first service to allow clearing

* fix string in dialog for remove
ad ability to remove from anilist service

* add ability to delete from kitsu

* made login dialog look more material

* change the dialog for the remove from tracker

* update coil to 0.11.0

* make track search a little nicer
2020-06-06 19:53:13 -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
3455e36a33 Long press page sheet now using menu sheet 2020-05-21 15:34:43 -04:00
Jay
a5f7f63469 New icons for some of the empty views 2020-05-21 03:34:10 -04:00
Jay
516ff61abd Renaming arrow down/up 2020-05-21 03:29:22 -04:00
Jay
f98d0238c8 removed a missed rasterized image 2020-05-21 03:06:57 -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
d42b9c2598 Fixed #436 2020-05-20 21:48:13 -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
7813048828 Moving hide all categories preference to the group library option
Removing the preference for it as well since its in the grouped preference

Also adding new wording for group by tracking (tracking status)
2020-05-17 04:20:09 -04:00
Jay
bc8ed36d1c Added option to change how library is grouped
By default (categories)
By tag/genre
By sources (with the extension icon attached)
By status
and by tracking status (closes #249)
2020-05-17 03:37:36 -04:00
Jay
59c108a972 Using new bottom sheet menu for sorting categories 2020-05-17 02:48:01 -04:00
Jay
1cca914c8f Updated ui of global search
you know md2 and all that
also sources with no results say "no results found"
2020-05-10 14:36:48 -04:00
Jay
6ba29d32d8 Better blending of chapter list when expaning reader chapter sheet 2020-05-08 02:18:57 -04:00
Jay
f6c9855772 Option to reorder filters 2020-05-07 01:24:50 -04:00
Jay
de8cb8c1b0 Using new (old?) fast scroller in library
New category jumper now shows what catergory you're on while scrolling
2020-05-06 20:11:06 -04:00
Jay
4c5d33b1fe Added category hopper to bottom of library
settings for it coming soon
2020-05-06 03:07:58 -04:00
Jay
1ef2c6e67c MD2'ified the category list hopper
Also library recycler now scrolls a bit to match the padding when exposing the list
2020-05-05 01:12:19 -04:00
Jay
20bab59df3 Jump to category using the backdrop on the top of the library
Along with only showing a single category at a time
2020-05-03 01:00:45 -04:00
Jay
b142b649e0 Removing background on selectable items
Since the background behind them match
2020-05-02 20:43:28 -04:00
Jay
9078500b7c Flipped long press and tap for tapping a category, shrunk distance between collapsed chapters
Added an arrow to show show collasped status
2020-05-02 14:38:37 -04:00
Jay
8da4b677ea Added a tutorial for new location download queue
Using another new tutorial library for it, instead of tooltips
2020-04-29 00:16:06 -04:00
Jay
0d702e0c2b Using the new drag handle on download queue 2020-04-28 01:46:17 -04:00
Jay
974eb90cd5 Manga details now auto hides the fast scroll
Also more fixes to the tablet layout of manga details
2020-04-26 17:47:32 -04:00
Jay
b2ff267028 Using webp with a real shadow instead of vector xml for local source icon 2020-04-25 21:40:33 -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
40ae78c0a3 Adding custom local source icon
Maybe we'll ask as to make one someday...
2020-04-25 20:22:33 -04:00
Carlos
53bdb9cb12
minor theme cleanup (#211)
* use color selectors for alternative text colors and status bar
removed unneeded colors
removed ptsans since its not used and also thats not the way to do fonts anymore

* cahnged name to app_color_primary from bluePrimary

* fix fact total badge color text is not being used
2020-04-24 22:01:39 -04:00
Jay
9586b564ed Better RTL support in manga details and library 2020-04-24 17:09:08 -04:00
Carlos
d4449c1d03
LibraryBadge clean up (#209)
* adjust badge colors to use color properties specific to badges
clean up library badge with existing and new view extensions

* fix line that should have been deleted in tracksearch
2020-04-23 21:02:44 -04:00