arkon
86c3d8c064
Use Compose fast* functions in more places
2022-10-30 12:27:12 -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
dd1923fe88
Remove redundant preference composables
2022-10-30 11:37:02 -04:00
arkon
df773ee15c
Refactor overflow menus into a composable
2022-10-30 11:06:41 -04:00
Ivan Iskandar
16f9fb2f40
Rebase Scaffold fork ( #8353 )
...
This adds content window insets supports that will be passed to
all components used except top and bottom bar.
2022-10-30 09:59:50 -04:00
arkon
0849111247
Use remember var delegates in more places
2022-10-29 16:14:49 -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
arkon
69635ee66a
Make Compose DropdownMenu overlap the trigger
...
Closes #8329
2022-10-29 10:37:51 -04:00
arkon
401134fa8e
Use MaterialTheme.shapes in more places
2022-10-28 16:18:05 -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
AntsyLich
37c55abc2a
Center the Text inside Pill
( #8304 )
2022-10-28 10:28:46 -04:00
arkon
5c868d7846
Use kotlin.time extensions in some more places
2022-10-22 19:57:55 -04:00
arkon
eb742b29f8
Avoid some IndexOutOfBoundsExceptions
2022-10-21 16:45:26 -04:00
Ivan Iskandar
5c5468f9af
Settings: M3 and two pane ui ( #8211 )
...
* Settings: M3 and two pane ui
* TrackingLoginDialog: Move close button
* Use small top bar
* Revert "Update voyager to v1.0.0-rc02"
This reverts commit 570fec6ea6
.
https://github.com/adrielcafe/voyager/issues/62
2022-10-16 12:15:01 -04:00
arkon
27e5256305
Center EmptyScreen message
...
Fixes #8212
2022-10-16 10:36:10 -04:00
arkon
dbd93cf5d1
Tweak source view type menu radio icon to match stable
2022-10-15 12:05:52 -04:00
arkon
c2eaf1c86b
Minor settings cleanup
...
- Fix dark mode setting title
- Enforce usages of translated strings for screen titles
- Use LocalUriHandler where applicable instead of Android context
2022-10-15 11:58:24 -04:00
zbue
3d7e44726d
BrowseSourceToolbar: Match display mode dropdown to stable and change toolbar icon based on display mode ( #8200 )
...
* BrowseSourceToolbar: Match display mode dropdown to stable and change toolbar icon based on display mode
* Review changes
* Review changes 2
2022-10-15 11:16:01 -04:00
stevenyomi
4e544005fe
Fix empty screen font style ( #8197 )
2022-10-14 12:27:52 -04:00
Ivan Iskandar
fba244423f
Fix Scrollbar when the list contains sticky header ( #8181 )
...
* Fix Scrollbar when the list contains sticky header
* Fix VerticalFastScroller when the list contains sticky header
* exposé
2022-10-10 11:59:01 -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
23bfa1f18f
Minor UI fixes
...
- Remove M3 styling from search toolbar
- Use secondary alpha for subtitles for Sources and Migrate items
- Update some content descriptions
2022-10-09 15:49:32 -04:00
arkon
b4f2da12ea
Bring back overscroll in SwipeRefresh for A12+
...
It's more consistent with the rest of the overscroll behaviour in the app. We'll wait for the upstream fix.
2022-10-09 15:37:48 -04:00
arkon
b84a31ba92
Don't wrap tab pills
...
It may sometimes overlap the text a bit, but it's less awkward than wrapped pills
2022-10-09 11:51:32 -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
Ivan Iskandar
cf6407c4d4
MoreScreen: Remove title ( #8158 )
...
* MoreScreen: Remove title
Also removes the state banners as it's redundant
* Add back banners
2022-10-08 10:24:50 -04:00
Ivan Iskandar
6b1d597d34
MangaScreen: Adjust insets ( #8097 )
...
I should have done this when Scaffold was rebased
2022-09-27 22:20:10 -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
Ivan Iskandar
f19c288bec
Fix missing focus when single TextField shown ( #8098 )
2022-09-27 17:44:06 -04:00
arkon
2d56ad1ad9
Replace deprecated SmallTopAppBar
2022-09-21 22:30:06 -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
arkon
19be0d68b6
Add some padding to tab indicators
2022-09-11 17:59:08 -04:00
arkon
eb5ef72747
Revert "Update Compose Material3"
...
This partially reverts commit 3dea10bcb9
.
See https://issuetracker.google.com/issues/245626686
2022-09-11 17:49:10 -04:00
arkon
3dea10bcb9
Update Compose Material3
2022-09-11 11:52:29 -04:00
arkon
cd3cb72b65
Bump dependencies + linting
2022-09-10 23:57:03 -04:00
arkon
21804bfc45
Reimplement extensions search
...
Not sure if I should abstract this out to per-tab though. Maybe when we need it...
2022-09-03 10:47:48 -04:00
arkon
bbf5c86b46
Fix missing downloaded only/incognito banners in Browse
2022-09-03 10:33:31 -04:00
Ivan Iskandar
3fa68ed217
Rebase Scaffold fork ( #7929 )
...
This changes content insets handling
2022-09-03 10:33:22 -04:00
Andreas
2f26982e34
Resolve review comments for BrowseSourceScreens ( #7912 )
2022-08-31 16:47:07 -04:00
arkon
504844a892
Make top app bar lift behavior more consistent
2022-08-31 16:31:08 -04:00
arkon
c39a1b7867
Minor cleanup
2022-08-31 14:43:58 -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
be7108a2ee
Fix overflow in ChangeCategoryDialog ( #7883 )
2022-08-28 09:43:01 -04:00
Andreas
9c49a5ed22
Fix issue with removing categories from manga for ChangeCategoryDialog ( #7874 )
2022-08-27 18:02:19 -04:00
arkon
cd82c88b9a
Fix checkbox selection when tapping text in Compose dialogs
2022-08-27 12:48:04 -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
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
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
arkon
688cc64dff
Minor fixes
...
- Fix categories modal showing when adding from source with no categories
- Use old categories icon in library bottom action menu
2022-08-06 16:23:13 -04:00
arkon
5e68fe4fe9
Make screen loading indicators more consistent
2022-08-05 22:33:52 -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
Ivan Iskandar
737cf9898d
Reimplement appbar color overlay on scroll ( #7663 )
...
only on updates and history screen for now, but the required changes on app bar
is there.
also fix missing incognito-downloaded mode indicator on history screen
2022-07-31 22:24:19 -04:00
Ivan Iskandar
d49ec41f3a
Library category page performance fixes ( #7650 )
...
* Don't compose category page unnecessarily
* Remove unnecessary library pager recompose
Defer and remember the "currentPage" state read since it's only needed when the
pager is composed for the first time.
* Badge opts
* Sync text style with previous impl
Also avoid reallocating by using copy
2022-07-30 11:47:27 -04:00
arkon
f90e1b935c
Bump dependencies
2022-07-29 23:13:40 -04:00
Andreas
8bde35298f
Add fast scroller to Library screen ( #7600 )
...
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
2022-07-27 09:13:43 -04:00
Ivan Iskandar
3fe5e53b25
MangaScreen large UI tweaks ( #7625 )
...
* MangaScreen: Fix large UI column sizing behavior
* MangaInfoHeader: Adjust large UI cover sizing behavior
* BottomActionMenu: Change bg shape
2022-07-27 09:12:01 -04:00
Andreas
5bb1133f0f
Use non nullable parameters in the MangaCover invoke function ( #7624 )
...
Issue cause the non nullables to become nullable has been fixed since 1.2.0-rc01
2022-07-27 08:59:41 -04:00
Ivan Iskandar
aeffb5eeb8
ChapterDownloadIndicator: Optimize further and reimplement error state ( #7599 )
...
In the context of a weaker device--remembering objects inside a list item
is expensive. So only do it when we really need to.
This also flattens the download button by drawing a single icon instead of using
separate icon and progress indicator.
2022-07-24 10:27:00 -04:00
arkon
4bf4b167a5
Remove bottom nav behavior and add bottom padding to root controller contents
2022-07-22 22:44: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
e2510c144a
Misc cleanup
...
- Migrate sources filter screen to full compose
- Use standard "OK"/"Cancel" actions for delete category dialog
- Abstract some AppBar logic
- Remove some dead code
- Group related strings
2022-07-18 18:32:25 -04:00
AntsyLich
d8fb6b893f
Migrate Updates screen to compose ( #7534 )
...
* Migrate Updates screen to compose
* Review Changes + Cleanup
Remove more unused stuff and show confirmation dialog when mass deleting chapters
* Review Changes 2 + Rebase
2022-07-17 22:17:40 -04:00
arkon
1b2c12385f
Migrate licenses screen to full Compose
2022-07-16 18:12:09 -04:00
arkon
80c7a45328
Remove top app bar scroll behavior
...
This lets us make it more consistent with the Compose screens for now. Maybe it'll return in the future.
This also includes making the AboutController a full Compose controller with a new abstracted TopAppBar composable.
2022-07-16 17:58:43 -04:00
arkon
2096df301d
Consolidate badge components
2022-07-16 17:40:40 -04:00
Ivan Iskandar
ba93060e59
Fix scroll animation when system animation is disabled ( #7509 )
2022-07-11 22:21:00 -04:00
Ivan Iskandar
e56f6c1017
ChapterDownloadIndicator: Fixes and improvements ( #7485 )
...
* Increased touch target
* Fix downloaded icon smaller than other states
* Deferred state reads to minimize recompose works
* Move things around to eliminate unnecessary elements
2022-07-09 12:38:33 -04:00
Ivan Iskandar
9385b86ecb
VerticalFastScroller: Fix scroller consuming touch when it's invisible ( #7484 )
2022-07-09 09:20:47 -04:00
arkon
ab1a44e108
Merge branch 'patch'
2022-07-08 16:09:19 -04:00
AntsyLich
eef95cef33
ChapterDownloadIndicator: Ensure uniform hit area ( #7453 )
2022-07-04 22:36:59 -04:00
AntsyLich
deaded5af2
Reimplement chapter download indicator longpress ( #7412 )
2022-07-02 12:43:18 -04:00
Ivan Iskandar
3072296919
MangaScreen: Hide scroller when appbar is expanded ( #7426 )
2022-07-01 10:37:58 -04:00
Ivan Iskandar
9ff6ae81bd
VerticalFastScroller: Fix incorrect touch target ( #7384 )
2022-06-26 12:58:31 -04:00
arkon
37fe25ac06
Fix manga info header using wrong text color ( fixes #7368 )
2022-06-26 10:01:11 -04:00
arkon
8ec91cddab
Minor cleanup
...
- Use outlined icons where appropriate to match previous UI
- Allow tapping entire ChapterHeader to bring up sheet
2022-06-25 11:20:34 -04:00
Ivan Iskandar
33a778873a
MangaController overhaul ( #7244 )
2022-06-25 11:03:48 -04:00
Ivan Iskandar
a77bce7b37
ChapterDownloadView: Convert to compose ( #7354 )
2022-06-24 15:42:30 -04:00
Ivan Iskandar
8fedd2d5f1
Convert cover dialog view to compose ( #7346 )
2022-06-20 22:31:36 -04:00
arkon
68c47a3238
Minor composable updates
...
Extracted from #7244
Co-authored-by: ivaniskandar <ivaniskandar@users.noreply.github.com>
2022-06-19 17:17:48 -04:00
arkon
11f1482818
Add Composable preview for preferences
...
...except Android Studio refuses to actually render them.
2022-06-19 16:50:52 -04:00
Ivan Iskandar
e6a9d0b090
Add fast scroller to extensions screen ( #7340 )
2022-06-19 10:33:25 -04:00
Andreas
3fd9e021fa
Use custom QueryPagingSource ( #7321 )
...
* Use custom QueryPagingSource
- Adds placeholder to make the list jump around less
- Fixes issue where SQLDelight QueryPagingSource would throw IndexOutOfBounds
* Review Changes
2022-06-18 14:55:58 -04:00
Ivan Iskandar
1b804e61cb
Fix cover fetching in compose views ( #7315 )
...
Make sure it passed thru the custom fetcher
2022-06-17 22:21:29 -04:00
arkon
a446b37c1f
Make Compose overflow menu feel slightly more like XML version
2022-06-15 18:02:08 -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
Ivan Iskandar
3b2362c784
Add scrollbar indicator to LazyColumn ( #7164 )
2022-05-23 18:03:46 -04:00
arkon
9a75232ca4
Minor cleanup
2022-05-19 17:43:27 -04:00
arkon
01e04e31bf
Theme Compose SwipeRefresh indicator like XML version
...
Also rename some screens/controllers to better represent that they're the list views.
2022-05-16 23:08:04 -04:00
arkon
393fc14630
Update Compose
...
Fixes #7004
2022-05-11 22:29:28 -04:00
arkon
ae7df4fb7f
Update linter
2022-05-10 17:54:52 -04:00
arkon
aec980662f
Extract migrate list number badges for later use in library items
2022-05-01 22:35:44 -04:00
arkon
cccd09fb5c
Allow passing modifier to preference composables
2022-04-30 09:43:49 -04:00
arkon
8798c295e6
Fix about icons sizing
2022-04-28 09:15:59 -04:00
FourTOne5
78207d48ba
Center CurcularProgressIndicator
in LoadingScreen
( #7032 )
...
* Center `CurcularProgressIndicator` in `LoadingScreen`
* Fix Import and move modifier to top
2022-04-28 08:54:51 -04:00
Andreas
adf02e53fd
Add error state to MangaCover composable ( #7022 )
...
* Add error state to MangaCover
- Add error drawable when thumbnailUrl isn't able to be loaded
- Tweak usage of MangaCover
* Change `contentDescription` to be nullable
As the invoke function makes default nulls
2022-04-27 09:24:35 -04:00
Andreas
7261fcccda
Use Compose in Migrate tab ( #7008 )
...
* Use Compose in Migrate tab
* Add missing header
* Remove unused files
* Fix build after rebase
* Changes from review comments
2022-04-27 08:36:16 -04:00
arkon
0ec9496d26
Minor cleanup
2022-04-24 14:39:51 -04:00
arkon
558b18899c
Migrate WebViewActivity to Compose
2022-04-24 10:22:22 -04:00
arkon
c25cffafc6
Migrate More screen to Compose ( #6990 )
2022-04-23 15:51:50 -04:00
arkon
8933b41937
Tweak about preferences styles
2022-04-23 12:42:35 -04:00
arkon
d6c87ec10e
Basic initial port of About screen to Compose
2022-04-23 12:05:00 -04:00
arkon
2b79295240
Revert "Revert history Compose/SQLDelight changes"
...
This reverts commit 96c894ce5b
.
2022-04-22 17:35:18 -04:00
arkon
96c894ce5b
Revert history Compose/SQLDelight changes
2022-04-22 17:27:58 -04:00
arkon
f1e5cccee7
Add placeholder color for Compose manga covers
2022-04-21 19:02:54 -04:00
Andreas
b1f46ed830
Migrate History screen database calls to SQLDelight ( #6933 )
...
* Migrate History screen database call to SQLDelight
- Move all migrations to SQLDelight
- Move all tables to SQLDelight
Co-authored-by: inorichi <3521738+inorichi@users.noreply.github.com>
* Changes from review comments
* Add adapters to database
* Remove logging of database version in App
* Change query name for paging source queries
* Update migrations
* Make SQLite Callback handle migration
- To ensure it updates the database
* Use SQLDelight Schema version for Callback database version
Co-authored-by: inorichi <3521738+inorichi@users.noreply.github.com>
2022-04-21 15:45:56 -04:00
Andreas
c475acd1ea
Migrate History screen to Compose ( #6922 )
...
* Migrate History screen to Compose
- Migrate screen
- Strip logic from presenter into use cases and repository
- Setup for other screen being able to migrate to Compose with Theme
* Changes from review comments
2022-04-17 10:36:22 -04:00