Commit graph

2618 commits

Author SHA1 Message Date
Jay
271db63db8 Cleaning up the library xml 2020-05-20 20:58:02 -04:00
Jay
f78daf7156 Current category logic update + hopper up button update
Current category header now works by the first visual item in the view, not the first completely visible item anymore. Saving current item pref still relies on first completely visible

Hopper up button now goes to the top of the current category before going to the next category
2020-05-20 20:43:21 -04:00
Jay
97367f0558 Library front view has a rounded top when backdrop is exposed 2020-05-20 20:39:42 -04:00
Jay
a66327abbf undo snackbar dismissed when changing controllers 2020-05-20 20:29:55 -04:00
Jay
8e155044f2 Changed sources latest button to just say "latest 2020-05-20 20:29:28 -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
f851c5536a On library cover load error, delete file and try again
In case file is corrupted
2020-05-20 20:24:58 -04:00
Jay
9f17e9116c Move "Select target sources" to strings.xml 2020-05-20 01:56:30 -04:00
Jay
d3ec230d4b Edit info for online manga + Custom covers update
Yes you read that right. It's back! Oh god it's back

Instead of modifying the db, an external json file is made holding the custom info for your library (meaning it's even easier to remove should I so choose)
Reworking to just override the variable and use said var instead of having the current/original logic that existed before

Custom covers are now saved in a new folder, likewise to upstream
Also like upstream, custom covers can be added to manga without covers (closes #49)

(I'm so sorry Carlos)
2020-05-20 01:04:19 -04:00
Jay
0809a7b7ff Added "manga" to filter type
closes #381
2020-05-19 20:55:01 -04:00
Jay
dd327bdb48 Added cancel cta to long press library update snackbar 2020-05-19 02:42:42 -04:00
Jay
27bc2bacfb Use bookmark icon instead of changing text color
Didn't look at the upstream code for this, but maybe should've
2020-05-19 02:41:02 -04:00
Jay
6341077abf Refactoring library view create 2020-05-19 01:45:21 -04:00
Jay
8700b6f0a3 Option to always show the current category in the title 2020-05-19 01:40:05 -04:00
Jay
cb2223d47a Don't scroll to the top of the list on group change until view refresh 2020-05-19 01:34:14 -04:00
Jay
6706af5bd7 Always expose the front view a little bit even when backdrop... (p2)
Fixing the fact the filter sheet still moved the category recycler view
2020-05-19 01:05:17 -04:00
Jay
4652f75717 Format library xml + no clipping to category backdrop 2020-05-18 23:45:37 -04:00
Jay
0b5a69d9c3 Menu bottom sheet now scrolls to the active menu item if list is too tall 2020-05-18 23:43:15 -04:00
Jay
83891c9b6b Using compound drawables for centered toolbar
and making the library text centered even with the dropdown arrow showing
2020-05-18 23:41:41 -04:00
Jay
5bdd7dcea9 Fixed sectioned library showing the wrong category when returning back to library tab
when using custom grouping
2020-05-18 23:26:28 -04:00
Jay
4df4a5b59d Updated logic to elevating the toolbar 2020-05-18 23:26:05 -04:00
Jay
8609145622 Fixed sources with no tags in the manga not having the proper type 2020-05-18 20:26:20 -04:00
Jay
5790380fcd Always expose the front view a little bit even when backdrop is too tall
Also hide the filter sheet when expanding backdrop
Also also ignore the filter sheet when it comes to the layout of the backdrop
2020-05-18 20:25:51 -04:00
Jay
75d4d274f6 Category recycler puts active category center of view if list is scrollable
Also removed scrolling logic for opening/closing the sheet
2020-05-18 18:02:46 -04:00
Jay
511fa31798 Tapping category name now expands backdrop 2020-05-18 17:58:18 -04:00
Jay
a03ee4943f when grouping by tags, tags with different casing will be grouped together 2020-05-18 17:46:58 -04:00
Jay
71872df9d0 Move LibraryHeaderHolder to a new file 2020-05-18 15:09:54 -04:00
Jay
89ea8388ad Grouping menu sheet shows "ungrouped" instead of "categories" by use case
For those who not have any categories
2020-05-18 00:50:58 -04:00
Jay
1d0545f5de Logic fixes to library
Fixed trying to update with special groupings
Fixed special groups duplicating manga in a list
2020-05-17 23:30:30 -04:00
Jay
3d0f72d50b Show "no results found" error when search tracker doesn't find anything 2020-05-17 05:29:03 -04:00
Jay
ea1087e3dc Tracking status grouping now uses global wording if you have mutliple trackers
ie kitsu's "currently reading" becomes "reading" since most trackers use that
Also sorting the tracking groups better
2020-05-17 05:28:34 -04:00
Jay
87ab6fa8de Fix crash in maga details 2020-05-17 04:53:36 -04:00
Jay
3910d23899 Fixed ungrouped library showing "All" 2020-05-17 04:20:49 -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
d73579d25a Fixes for showing single category 2020-05-17 03:55:51 -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
68cf3cab10 Added Bottom sheet for menu popup
For use in future commits
2020-05-17 02:20:02 -04:00
Jay
6c27147166 Hide fast scroll when showing backdrop 2020-05-17 02:16:59 -04:00
Jay
d9ad689506 Optimizations to sorting + category refactoring
Category:
• new bool called isDynamic used for all category
• new bool called isAlone, for when using no categories or when hiding all categories
Sort Optimizing:
•Using SQLite query for library mangas to also set the total chapters, instead of  checking the total count later
 •No longer using regex for removing articles from text, because it's pretty heavy
•All category now uses the same catergory sorting logic as regular categories
2020-05-17 02:15:24 -04:00
Jay
7083d41ffe Fix toolbar color in manga details when switching themes 2020-05-16 23:55:09 -04:00
Jay
cce6fdb765 Coil updates
Non library manga goes into android's default cache
Manga Fetcher now respects network cache policy
Not showing error drawable on manga details
Fixed manga notification icon sometimes not showing
General cleanup
2020-05-16 23:54:43 -04:00
Jay
67a76da475 Reverted partial rogue commit 2020-05-16 23:49:55 -04:00
Carlos
4d860c9396
Switch to coil from Glide (#423)
* initial coil switch

* more coil changes

* fix extensions icons

* remove last of glide

* adjust local manga to actually update the covers as soon as you set it.  Also adjusts the large cover and share

* edit custom covers of a manga is now immediately reflected

* fix edit covers submit not automatically submitting
fix edit covers choosing cover not showing the selection in dialog

* fix setting custom cover not reloading when going back

* get gif's working

* run ktlint
fix setting custom cover to updated when returning back to details

* fix non uniformed covers

* get images working on resumes

* add size to cover cache setting

* remove log statement

* remove set last cover date

* put covers into cache when refresh enabled

* fix comment
2020-05-16 23:35:16 -04:00
Jay
d99f4d1fac Using scope for updating library ui during global update
since removing it from the scope broke it
2020-05-15 03:54:06 -04:00
Jay
c9e3882077 Using library header category instead of finding the category in presenter
even though the header category also finds it in the presenter
2020-05-15 02:14:09 -04:00
Jay
eed9e0c765 Optimize unread progess filters by using the library db query 2020-05-15 02:09:29 -04:00
Jay
a3c5cc2e91 Add scroll bar to category recycler 2020-05-15 02:03:06 -04:00
Jay
652e045acf Updating Extension installer from upstream
Also adding an onerror handle
2020-05-15 02:02:08 -04:00
Jay
e0e072546f Fixed #401 2020-05-14 22:10:26 -04:00