arkon
5d90ba8aa0
Only show library continue reading button if there's unread chapters
...
Closes #8865
2023-01-08 10:43:01 -05:00
AntsyLich
3251fb36c8
Properly fix #8720 ( #8797 )
...
* Partially revert "Move library page EmptyScreens into list/grids"
This partially reverts commit 376bbeb724
.
* Properly fix issue 8720
2022-12-24 10:02:38 -05:00
arkon
376bbeb724
Move library page EmptyScreens into list/grids
...
It does look awkward due to the lack of filled height within those list/grids though.
Fixes #8720
Fixes #8721
2022-12-17 12:06:02 -05:00
Ivan Iskandar
d97eab0328
Move app state banner to the very top ( #8706 )
...
This moves the banners to the root composable and so eliminates the need to
track the app states in every screen.
2022-12-09 11:20:13 -05:00
zbue
01c6e46a71
Show empty screen when a category is empty ( #8690 )
...
* Show empty screen when a category is empty
* Review changes
* Review changes #2
Co-authored-by: arkon <arkon@users.noreply.github.com>
2022-12-08 09:15:10 -05:00
stevenyomi
2c4ddca38e
Migrate Accompanist SwipeRefresh to Compose PullRefresh ( #8106 )
2022-12-07 22:40:57 -05:00
arkon
3f9820ac79
Always show library tabs and counts when searching
...
Closes #8680
2022-12-05 10:06:41 -05:00
arkon
4f5270cb7d
Fix unusable categories when content is filtered out
...
Fixes #8675
Effectively reverts #8633 , which introduces weird edge cases
2022-12-04 13:39:53 -05:00
AntsyLich
3d7591feca
Implement simple stats screen ( #8068 )
...
* Implement simple stats screen
* Review Changes
* Some other changes
* Remove unused
* Small changes
* Review Changes 2 + Cleanup
* Review Changes 3
* Cleanup leftovers
* Optimize imports
2022-11-26 15:50:26 -05:00
Ivan Iskandar
e14909fff4
Use Voyager on Library tab ( #8620 )
2022-11-26 15:48:57 -05:00
d-najd
ba00d9e5d2
Add "Play" button on manga in library ( #8218 )
...
* resume manga button in libarary
* work on resume button
* Backup
* work on opening the last read chapter
* backup
* renaming
* fab instead of image
* done with logic
* cleanup
* cleanup
* import cleanup
* cleanup...
* refactoring
* fixing logic
* fixing scopes
* Reworking design
* adding ability to turn on/off the feature
* cleanup
* refactoring, fixing logic, adding filter logic (partial)
* backup
* backup
* logic done
* backup before merge fix
* merge conflict....
* merge conflict...
* reworking ui logic
* removing unnecessary file
* refactoring
* refactoring
* review changes + minor parameter position movement
* commiting suggestion
Co-authored-by: arkon <arkon@users.noreply.github.com>
* fixing minor mistake
* moving ChapterFilter.kt
Co-authored-by: arkon <arkon@users.noreply.github.com>
2022-11-07 22:32:23 -05:00
arkon
7818885406
Use proper content color for filter icon in library toolbar
2022-10-30 22:19:02 -04:00
stevenyomi
a078f1ab1b
Refactor search toolbar and fix browse source ( #8360 )
2022-10-30 13:34:47 -04:00
Ivan Iskandar
156191af44
Tabs: Don't explicitly set text color in the text ( #8365 )
...
The container already provides color option for both states
2022-10-30 12:04:46 -04:00
arkon
df773ee15c
Refactor overflow menus into a composable
2022-10-30 11:06:41 -04:00
zbue
f5451a6881
Add ability to open random manga ( #8232 )
...
* Add ability to open random manga
* Use `getMangaForCategory` instead
* Put it in overflow menu instead of using EFAB
* Partial review changes
* Merge remote-tracking branch 'refs/remotes/origin/patch-6' into patch-6
# Conflicts:
# app/src/main/java/eu/kanade/presentation/library/LibraryScreen.kt
* Merge remote-tracking branch 'refs/remotes/origin/patch-6' into patch-6
# Conflicts:
# app/src/main/java/eu/kanade/presentation/library/LibraryScreen.kt
* Wording changes
2022-10-30 10:57:33 -04:00
arkon
11cc789e36
Center global search prompt properly in library list mode
2022-10-30 10:48:25 -04:00
Ivan Iskandar
f9c25b350e
New Pager implementation ( #8323 )
...
Minimal implementation using new Compose SnapFlingBehavior
2022-10-29 12:32:55 -04:00
stevenyomi
4b60138d41
Clean up strings and icons ( #8326 )
...
* Clean up strings and icons
* fix incorrect usages of label_more
* restore strings and reduce usage of android.R
* removing icon desc of FABs anyway as app's not for visual impaired users
2022-10-29 11:43:51 -04:00
Ivan Iskandar
87391832ba
Touch up manga grid/list items ( #8307 )
...
* Touch up library item touch indicator
Now the touch indicator has the same coverage as the selection indicator.
Experimental Modifier.Node API is used to draw the selection indicator
* Unify library and browse source list item layouts
2022-10-28 11:46:10 -04:00
arkon
5c868d7846
Use kotlin.time extensions in some more places
2022-10-22 19:57:55 -04:00
AntsyLich
ea092fa175
Fix selection in library ( #8233 )
2022-10-18 09:32:34 -04:00
arkon
6635dd2990
Control library badge visibility with props instead
...
Fixes #8174
2022-10-16 11:30:54 -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
Ivan Iskandar
8500add09f
EmptyScreen: Compose-ify and apply content padding ( #8177 )
...
* Apply content padding to empty screen
except the empty screens in browse
* compose-ify EmptyScreen
* center face when action show
* fix padding
* apply content padding to browse tabs
* fix duplicate bottom insets
2022-10-09 15:52:56 -04:00
arkon
d0950cb026
Document copied M3 component customizations
2022-10-09 11:48:46 -04:00
stevenyomi
404f53b16b
Refactor SwipeRefresh and fix some issues ( #8169 )
2022-10-09 11:20:43 -04:00
Ivan Iskandar
4b4be58d0d
Tablet UI edge-to-edge tweaks ( #8159 )
...
* LibraryScreen: Tweak content padding application to draw under nav bar
* BrowseScreen: Tweak content padding application to draw under nav bar
Side note the tab content doesn't actually use its
scaffold (bottom) contentPadding so it's definitely will
be a headache in the future.
* Don't hardcode bottom nav padding
2022-10-08 13:28:09 -04:00
AntsyLich
ea8383978b
Move LibraryManga
to domain layer ( #8126 )
2022-10-01 11:30:51 -04:00
Alessandro Jean
5a37f2398a
Improve search toolbar UX a little bit ( #8102 )
...
* Improve search toolbar UX a little.
* Fix wrong stringResource import.
* Revert `FocusRequester` change in favour of #8093 .
2022-09-27 18:05:10 -04:00
arkon
db91d04e82
Temporarily replace library category tabs divider with our own
...
Fixes #7789
2022-09-25 10:50:02 -04:00
arkon
9859b38f32
Ellipsize long titles
...
Fixes #8075
2022-09-25 10:18:50 -04:00
Andreas
c740558327
Split library preferences from PreferencesHelper ( #8036 )
2022-09-19 23:55:07 -04:00
arkon
83871fc013
Minor cleanup/fixes
...
- Add FAB collapsing in clear database screen (fixes #7935 )
- Don't allow multiline category names to be entered
- Consolidate Downloaded Only / Incognito Mode banner components
- Fix see-through migrate screen sticky header
2022-09-18 16:08:58 -04:00
Ivan Iskandar
6865c21c75
Fix derivedStateOf errors ( #8008 )
2022-09-14 11:36:13 -04:00
arkon
bbf5c86b46
Fix missing downloaded only/incognito banners in Browse
2022-09-03 10:33:31 -04:00
Andreas
d4b764fa31
Use Compose on BrowseSourceScreens ( #7901 )
2022-08-31 14:41:35 -04:00
arkon
92e83f702c
Initial conversion of browse tabs to full Compose
...
TODO:
- Global search should launch a controller with the search textfield focused. This is pending a Compose rewrite of that screen.
- Better migrate sort UI
- Extensions search
2022-08-30 16:05:35 -04:00
arkon
f5c7aa1142
Convert settings main and search views to full Compose
2022-08-29 16:39:35 -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
Ivan Iskandar
655fa25b51
Bump Compose M3 to 1.0.0-beta01 ( #7867 )
2022-08-26 09:19:47 -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
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
71fc5d6d35
Add back reset action to the Library and History Search toolbars ( #7722 )
...
* Add back reset action to the Library and History Search toolbars
* Localize the descriptions
2022-08-11 09:23:56 -04:00
Andreas
22e83f408b
Tweak Library screen ( #7718 )
...
* Allow to refresh when there is white space
fixes #7701
* Don't use key on library screen as it retains scroll position on first item
fixes #7631
2022-08-10 15:56:52 -04:00
Andreas
ec96a81735
Fake library loading ( #7717 )
2022-08-10 15:54:26 -04:00
arkon
3c2e237d63
Fix appbar action content descriptions
2022-08-07 10:16:08 -04:00
Andreas
914831d51f
Move default category into database ( #7676 )
2022-08-05 09:32:10 -04:00
Ivan Iskandar
afceac15c8
Add scroll overlay to LibraryToolbar ( #7669 )
...
Works when category tab is not shown
2022-08-03 17:41:15 -04:00