Commit Graph

378 Commits

Author SHA1 Message Date
arkon 03b9950fa1 Minor tweaks to download custom dialog
- Allow large decrements (just goes to 0)
- Use Material3 text field for proper theming
- Move dialog composable to presentation package
2022-08-26 09:16:26 -04:00
Andreas 2453d1a886 Move a few Dialogs to Compose (#7861)
* Move a few Dialogs to Compose

- Separating dialogs that are not needed in the PR for the move to Compose on the Browse Source screen
- ChangeMangaCategoriesDialog and AddDuplicateMangaDialog will be removed in the Browse Source screen PR

* Review changes
2022-08-26 08:57:28 -04:00
Ivan Iskandar 763288ab13 LibrarySettingsSheet: Fix race condition when applying sort mode (#7805)
Also fix sort direction can't be changed for default category
2022-08-20 10:15:53 -04:00
Andreas 58e6479438 Fix crash when opening library sheet with empty category list (#7822) 2022-08-19 16:02:37 -04:00
Andreas 6d6c38ecaf Fix nav bar appearing when going from Library's action mode (#7821)
fixes #7788
2022-08-19 16:02:12 -04:00
Andreas 47b56644de Fix emoji going crazy and fix tabs being visible when library is empty (#7811)
fixes #7792
fixes #7791
2022-08-19 07:22:46 -04:00
stevenyomi 1f34f5277c Fix notification and add visual cues when triggering a second update (#7783) 2022-08-18 09:01:10 -04:00
Andreas ff996d282a Change usage of name to visualName when Default category can be shown (#7725) 2022-08-11 09:07:20 -04:00
arkon e511f24979 Fix crash when setting cover errors (closes #7714) 2022-08-10 16:11:12 -04:00
arkon 3bc6b1e202 Fix default category showing up in edit manga categories list
Also remove some usages of runBlocking
2022-08-07 11:00:51 -04:00
Andreas 914831d51f Move default category into database (#7676) 2022-08-05 09:32:10 -04:00
Andreas 58acf0a8aa Remove deprecated LibrarySort (#7659)
* Remove deprecated LibrarySort

* Apply suggestions from code review
2022-07-31 11:17:43 -04:00
Andreas db93d1da76 Fix library bugs (#7648)
- Fix mixup in Action Menu
- Fix back action not clearing search
2022-07-29 22:42:18 -04:00
Andreas e513487caa Fix number of items not updating when Show category tabs is off (#7644) 2022-07-29 10:17:31 -04:00
Ivan Iskandar dcafdac036 Retain backstack views by default (#7621) 2022-07-27 09:00:18 -04:00
Andreas 76057b84b2 Fix wrong query being used when opening Global Search (#7604) 2022-07-24 15:06:18 -04:00
Andreas 164de67a56 Fix infinite loading when user library is empty (#7602)
- If no manga in library add default category this to remove loading state
2022-07-24 12:43:33 -04:00
Andreas bc1f6ba517 Tweaks on Library screen (#7597)
- Toolbar not having padding in landscape
- Fix library always refreshing everything even though user is refreshing category
- Tab text using primary color
- Fix Grid having to big of a top padding
- Fix Pager crashing when initial page is greater than the number of categories
2022-07-24 08:48:54 -04:00
Andreas 978489fade Fix crash in Extension Detail and set ready to true on Library screen (#7591) 2022-07-23 19:27:40 -04:00
Andreas 9f2ddaadde Cleanup Library after Compose changes (#7584) 2022-07-23 09:58:05 -04:00
Andreas 2b8d1bcc02 Use Compose for Library screen (#7557)
- Move Pager to Compose
- Move AppBar to Compose
- Use Stable interface for state
- Use pills for no. of manga in category instead of (x)
2022-07-22 19:05:50 -04:00
arkon f6f5b6aeab Fix library column setting jumping in 2022-07-16 18:26:30 -04:00
arkon 46ac9fe970 Consolidate Compose content/theme setting 2022-07-16 17:28:50 -04:00
Andreas 9ebeff04e6 Fix Library List not using correct text color (#7548) 2022-07-16 16:40:51 -04:00
arkon fa73e2403b Minor library view cleanup
- Clean up unused code
- Add text shadow in compact mode
- Tweak some paddings to better match stable
2022-07-16 15:36:38 -04:00
Andreas 905c96922b Use Compose for Library list and grid (#7520) 2022-07-16 15:06:24 -04:00
Andreas 5159eabc5d Reset lastPageRead when chapter is marked unread (#7475)
* Reset lastPageRead when chapter is marked unread

* Remove a bit of repetition in SetReadStatus
2022-07-07 22:34:58 -04:00
arkon a3378e6080 More domain model usage 2022-07-03 16:51:11 -04:00
arkon 3791d82540 More domain model usage 2022-07-03 16:34:58 -04:00
arkon a3ab8746bf More domain model usage 2022-07-03 16:12:31 -04:00
arkon b3dd8b7355 More domain model usage 2022-07-03 13:21:48 -04:00
Andreas 17951cfd68 Use SQLDelight for all Manga related queries (#7447) 2022-07-03 10:17:41 -04:00
arkon 76c0ead1db Migrate to more use of domain models 2022-07-02 17:14:19 -04:00
Andreas 05085fe57f Use SQLDelight on Library screen (#7432)
- Uses the new `asObservable` function to change the database calls to use SQLDelight, which should make the impact minimal when it comes to bugs.
- Use interactors where they already exist
- The todos are for the Compose rewrite
- Removed unused StorIO methods/queries
- Tested loading library, move manga to new category, unfavorite multiple manga, move multiple manga from one category to another, change filter, sort and display settings (with and without per category settings), (un)mark chapters, start/delete downloads

Thank Syer for asObservable

Co-authored-by: jobobby04 <17078382+jobobby04@users.noreply.github.com>

Co-authored-by: jobobby04 <17078382+jobobby04@users.noreply.github.com>
2022-07-02 12:55:34 -04:00
arkon 65264e3ef5 Migrate more track DB calls to SQLDelight 2022-06-26 19:46:41 -04:00
Ivan Iskandar 33a778873a MangaController overhaul (#7244) 2022-06-25 11:03:48 -04:00
arkon cb1830d747 More minor refactorings
Extracted from #7244

Co-authored-by: ivaniskandar <ivaniskandar@users.noreply.github.com>
2022-06-19 17:32:31 -04:00
arkon cf48bbc176 Minor cleanup
Fixing some things that were errors when compiling against SDK 33.
2022-06-09 23:04:40 -04:00
arkon 7fdbf40cd2 Minor cleanups
Pulling out some of the smaller changes that aren't related to the manga controller changes in #7244
2022-06-04 16:01:49 -04:00
CVIUS 6d655ff757 Fix category tabs incorrect scroll position (#7120) 2022-05-14 08:09:15 -04:00
arkon b950370f12 Address some build warnings 2022-05-11 18:08:49 -04:00
arkon 681e9396b3 Fix crash when using renamed library sort methods (fixes #7092) 2022-05-07 23:48:53 -04:00
FourTOne5 6d802063b4 Reword and Fix library sort (#7068) 2022-05-03 18:39:04 -04:00
arkon dee7830793 Update navigation bar padding in Compose screens 2022-04-30 11:59:39 -04:00
arkon 7773deabc0 Adjust library sorting by dates (closes #6954)
Ascending by date = oldest dates first. If no date is present, fallback to epoch 0 (i.e., oldest).
2022-04-24 15:50:51 -04:00
arkon 7e2f1d729f Clean up repetitive controller transactions 2022-04-23 12:10:32 -04:00
arkon 5afff31f72 Formatting 2022-04-08 16:44:23 -04:00
arkon f0eb42e72d Update linter 2022-04-08 15:30:39 -04:00
arkon b9fd01315b Minor cleanup 2022-03-06 09:37:39 -05:00
arkon a72098b862 Add shortcut to edit categories screen from category setting dialog (closes #6280) 2022-03-06 09:37:39 -05:00