arkon
b04807e53a
Proper DI instantiation for some more download related classes
2022-10-21 14:29:44 -04:00
arkon
93827aba34
Defer library download counts if not needed
2022-10-20 23:20:32 -04:00
stevenyomi
824d5e22bc
Clean up strings and resources ( #8253 )
...
* Clean up strings and resources
* fix pringle's typo
* restore catching file pick errors
* add back file chooser title
* revert #7740 and remove try-catch of chooser-wrapped intent
* swap xmlns lines
* swap xml tools lines
2022-10-20 17:48:13 -04:00
Andreas
8d97b980e3
Tweak library view ( #8240 )
...
- Move category join to improve performance
- Move bookmark calculation into query
- Move unread calculation into domain
2022-10-18 16:33:26 -04:00
AntsyLich
ea092fa175
Fix selection in library ( #8233 )
2022-10-18 09:32:34 -04:00
AntsyLich
d6cbff2837
Tweak library query ( #8214 )
...
* Tweak library query
Co-Authored-By: Quang Kieu <kieuq@wit.edu >
* Update app/src/main/sqldelight/migrations/21.sqm
* Update app/src/main/java/eu/kanade/domain/library/model/LibraryManga.kt
* Update app/src/main/sqldelight/view/libraryView.sq
* Update app/src/main/java/eu/kanade/data/manga/MangaMapper.kt
* Update app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt
* Update app/src/main/java/eu/kanade/data/manga/MangaMapper.kt
* Bump version
Co-authored-by: Quang Kieu <kieuq@wit.edu >
2022-10-16 15:33:12 -04:00
arkon
6635dd2990
Control library badge visibility with props instead
...
Fixes #8174
2022-10-16 11:30:54 -04:00
Swords
3fdcd636d7
Add bookmark filter ( #8198 )
...
* feat: add bookmark filter
* feat: add getBookmarkChaptersByMangaId query + interactor to be used for filtering
2022-10-15 11:33:09 -04:00
d-najd
e1adb89ff8
Range selection in library ( #8186 )
...
* logic and a bit of cleanup
* cleanup done
* grammar fix
* fixing format
* Auto stash before checking out "HEAD"
* Revert "Auto stash before checking out "HEAD""
This reverts commit 202374a36ff444b7da3fcdb2a9859ca71a7c046e.
* Update app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt
Co-authored-by: arkon <arkon@users.noreply.github.com >
* cleanup
Co-authored-by: arkon <arkon@users.noreply.github.com >
2022-10-14 15:30:19 -04:00
arkon
3bfbd58402
Clean up download state logic in MorePresenter
2022-10-09 10:37:44 -04:00
Alessandro Tedesco
b8fa326c21
Fix sort by date in LibraryPresenter ( #8137 ) ( #8145 )
...
Co-authored-by: Alessandro Tedesco <alessandro.tedesco@zehus.it >
2022-10-03 23:03:43 -04:00
AntsyLich
ea8383978b
Move LibraryManga to domain layer ( #8126 )
2022-10-01 11:30:51 -04:00
Andreas
488276d498
Tweak library search to allow for searching with source language suffix ( #8123 )
2022-10-01 10:32:52 -04:00
AntsyLich
ef2c9460b5
Fix total item count in library app bar ( #8117 )
2022-09-30 23:36:23 -04:00
Andreas
29fa93e829
Split the rest of the preferences in PreferencesHelper ( #8074 )
...
* Split the reset of the preferences in PreferencesHelper
* Capitalize ThemeMode
2022-09-25 10:07:06 -04:00
Andreas
b5dca2eb09
Move chapter preferences from PreferencesHelper to LibraryPrefrences ( #8061 )
2022-09-24 10:14:16 -04:00
Andreas
c740558327
Split library preferences from PreferencesHelper ( #8036 )
2022-09-19 23:55:07 -04:00
arkon
0e3176a77c
Clean up UpdatesController
...
- Move loading state into scaffold (closes #7704 )
- Move logic into presenter
- Make some composables private
2022-09-18 22:38:44 -04:00
arkon
20bbda78e6
Fix library search not being reflected ( fixes #8031 )
2022-09-18 18:09:26 -04:00
Andreas
0086743a53
Use 1.x preference abstraction ( #8020 )
...
* Use 1.x preference abstraction
- Uses SharedPreferences compared to 1.x impl which uses DataStore but it breaks all settings screens currently
- Move PreferencesHelper to new PreferenceStore
- PreferencesHelper should be split into smaller preference stores and be in core or domain
- Remove flow preferences as new PreferenceStore handles changes for us
Co-authored-by: inorichi <3521738+inorichi@users.noreply.github.com >
* Fix PreferenceMutableState not updating
* Fix changes not emitting on first subscription
Co-authored-by: inorichi <3521738+inorichi@users.noreply.github.com >
2022-09-17 11:48:24 -04:00
Ivan Iskandar
6865c21c75
Fix derivedStateOf errors ( #8008 )
2022-09-14 11:36:13 -04:00
Ivan Iskandar
7270c48f26
LibraryItem: Fix equality check ( #7999 )
...
Proper equality check is needed by compose for state changes.
2022-09-12 12:29:28 -04:00
arkon
cd3cb72b65
Bump dependencies + linting
2022-09-10 23:57:03 -04:00
AntsyLich
da95ecb686
Lessen the use of GlobalScope launchIO ( #7916 )
...
* Lessen the use of GlobalScope `launchIO`
* Wrap some calls with `NonCancellable` context
2022-09-02 11:50:44 -04:00
Andreas
d4b764fa31
Use Compose on BrowseSourceScreens ( #7901 )
2022-08-31 14:41:35 -04:00
arkon
8a3a7418d0
Show number of unique library items ( closes #6522 )
...
- Filters do affect this
- Won't be shown if tabs aren't visible and there's more than 1 category (so it'd always show the per-category count), but a separate stats page should show that info instead
2022-08-29 14:34:11 -04:00
Andreas
880407442c
Tweak flag classes for Library ( #7829 )
...
* Tweak flag classes for Library
- Add interface for Flag and Mask
- Merge Sort Type and Direction into one class
- Use custom serializers for preferences
- Mainly to not break the old
* Review changes
2022-08-29 13:10:30 -04:00
arkon
cd82c88b9a
Fix checkbox selection when tapping text in Compose dialogs
2022-08-27 12:48:04 -04:00
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