arkon
f90e1b935c
Bump dependencies
2022-07-29 23:13:40 -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
Ivan Iskandar
483b204fb5
MangaPresenter: Add distinctUntilChanged to db flow ( #7629 )
...
* MangaScreen: Disable swipe refresh on action mode
* MangaPresenter: Add distinctUntilChanged to db flow
Now will only emit update when the related entry is changed
2022-07-29 07:47:09 -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
f8d8cf9f6a
Wait for library to load before creating Pager ( #7623 )
2022-07-27 09:00:09 -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
Andreas
2b96709799
Make Selection toolbar take precedence over search toolbar ( #7611 )
2022-07-26 09:05:08 -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
Andreas
6f94777530
Fix toolbar having bottom padding in portrait ( #7601 )
2022-07-24 09:56:03 -04:00
Ivan Iskandar
2e15be59af
Fix unnecessary recompose when calling LazyListState.isScrolledToEnd ( #7598 )
2022-07-24 08:49:28 -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
arkon
cd9487f94c
Set splash screen ready state for history and updates pages
2022-07-23 19:37:26 -04:00
arkon
07c9af4901
Fix padding in history screen
2022-07-23 11:25:45 -04:00
Andreas
c751851941
Use Stable interface for History screen ( #7586 )
...
- Adds Stable interface
- Move last Dialog into Compose
- Make History screen be full Compose screen
2022-07-23 10:01:51 -04:00
Andreas
9f2ddaadde
Cleanup Library after Compose changes ( #7584 )
2022-07-23 09:58:05 -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
4d9d587366
Migrate More screen to full Compose
2022-07-18 18:51:36 -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
Ivan Iskandar
00519e3b93
MangaScreen: Save selection state ( #7560 )
2022-07-18 16:42:46 -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
cbfe9c30bb
Migrate more screens to full Compose
2022-07-16 21:00:01 -04:00
arkon
3192d47837
Fix tablet manga screen column ratios
...
Matches previous stable design. Related to #7401
2022-07-16 20:41:13 -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
arkon
0b78028cf6
Tweak categories view
...
- Remove Compose top app bar behaviour since it's kind of jank -- we'll probably just remove the scrolling behaviour everywhere
- Tap title to rename
- Focus in textfield when opening dialogs
2022-07-16 17:28:50 -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
018ca71336
Use Stable interface for Browse screens ( #7544 )
2022-07-16 14:44:37 -04:00
Andreas
a21aa8125e
Add Stable interface for Category state ( #7539 )
2022-07-15 17:35:19 -04:00
AntsyLich
83e193f1ab
Fix extension setting isn't accesiable when it has update ( #7537 )
...
Closes #7516
2022-07-15 14:44:59 -04:00
AntsyLich
386b8945c8
Use Material Icons for untrusted extension's icon ( #7518 )
2022-07-13 09:18:50 -04:00
Ivan Iskandar
ba93060e59
Fix scroll animation when system animation is disabled ( #7509 )
2022-07-11 22:21:00 -04:00
Ivan Iskandar
cbcab5a545
Fix MangaScreen app bar title and nav icon action ( #7506 )
2022-07-10 14:29:58 -04:00
Ivan Iskandar
1551891c15
MangaScreen: Improve chapter list scrolling performance ( #7491 )
...
* MangaScreen: Improve chapter list scrolling performance
Process chapter title, date and read progress string ahead of time
* Use enum for contentType and add key
2022-07-09 16:20:40 -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
34906a7425
MangaScreen: Ditch the expanded app bar ( #7470 )
...
Animating the content padding that's used for the lazy list is heavy. A simple
fix to *just* offset the list is blocked by a Compose fling issue (b/179417109).
So I decided to go with the previous layout of this screen by putting everything
in the list. MangaInfoHeader is split into separate composables to avoid jank
when the item is being inflated.
2022-07-09 12:37:49 -04:00
Andreas
86bacbe586
Use Compose for Category screen ( #7454 )
...
* Use Compose for Category screen
* Use correct string for CategoryRenameDialog title
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2022-07-09 12:31:14 -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
388dc2f103
MangaScreen: Reuse components between two layouts ( #7397 )
2022-06-30 09:20:16 -04:00
arkon
7e4c45858f
Bump dependencies
2022-06-29 22:45:22 -04:00
AntsyLich
08d1ecfba7
Fix chapter item incorrect colors ( #7403 )
...
* Fix chapter item incorrect colors
* Make it like stable
2022-06-29 18:34:11 -04:00
Ivan Iskandar
0c856438fa
MangaInfoHeader: Add description placeholder ( #7398 )
...
To always show summary view for expanding tags
2022-06-28 08:12:15 -04:00
Ivan Iskandar
e44bb30996
Improve history screen scrolling perf ( #7399 )
2022-06-27 18:33:57 -04:00
Ivan Iskandar
924dfa19cf
MangaScreen: Fix action mode download button not working ( #7385 )
2022-06-26 13:37:41 -04:00
Ivan Iskandar
9ff6ae81bd
VerticalFastScroller: Fix incorrect touch target ( #7384 )
2022-06-26 12:58:31 -04:00
Ivan Iskandar
c33e5c8a17
Fix chapter number display style ( #7383 )
2022-06-26 12:58:14 -04:00
Ivan Iskandar
6129bbc9ab
MangaInfoHeader tweaks ( #7382 )
...
* Changed cover alignment when title is longer
* Hide artist text if it's equal to author
* Set single line to status and source name
2022-06-26 12:48:29 -04:00
arkon
37fe25ac06
Fix manga info header using wrong text color ( fixes #7368 )
2022-06-26 10:01:11 -04:00
arkon
80d2d9d258
Avoid overflow in extension screen items ( fixes #6972 )
2022-06-25 22:41:22 -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
arkon
254f021903
Minor cleanup
2022-06-20 22:51:04 -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
AntsyLich
82879a129e
Make stub source icon part of SourceIcon
( #7337 )
...
* Make stub source icon part of `SourceIcon`
* Review Changes
2022-06-19 10:16:55 -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
Ivan Iskandar
4ef337f1e9
Don't set text colors when creating compose theme ( #7316 )
...
This avoids compose snackbar text color issue
2022-06-16 11:37:57 -04:00
arkon
284880d096
Fix WebView user-agent ( fixes #7306 )
...
The `source.headers.toMultimap()` call in WebViewActivity makes all the names lowercase.
2022-06-15 18:05:56 -04:00
arkon
a446b37c1f
Make Compose overflow menu feel slightly more like XML version
2022-06-15 18:02:08 -04:00
AntsyLich
9d5b7de1d8
Maintain source info in the database. ( #6389 )
...
* Maintain Source Info in database
* Review changes and cleanups
* Review changes 2
* Review Changes 3
2022-06-14 09:10:40 -04:00
arkon
5fbf454652
Update compose-theme-adapter
2022-06-12 09:59:55 -04:00
AntsyLich
7a661747c5
Tweak extension details screen ( #7257 )
2022-06-07 17:47:46 -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
AntsyLich
0e1e57c1c3
Fix loading progress not showing in webview ( #7243 )
...
* Fix loading progress not showing in webview
* Review Changes
2022-06-04 12:44:20 -04:00
arkon
9b0d85bf6c
Migrate settings search view to Compose
2022-05-23 18:33:46 -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
FourTOne5
64da16f58f
Update extension details screen design ( #7158 )
...
* Update extension details screen design
* Review Changes
Co-Authored-By: Andreas <6576096+ghostbear@users.noreply.github.com>
* Review Changes 2
Co-authored-by: Andreas <6576096+ghostbear@users.noreply.github.com>
2022-05-19 17:31:07 -04:00
FourTOne5
fd9510e18f
Migrate extensions language filter screen to compose ( #7169 )
2022-05-19 17:29:40 -04:00
CVIUS
f2a478288a
Fix close button tint in extension screen ( #7154 )
2022-05-17 08:09:11 -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
FourTOne5
cbc114608b
Fix both warning banner appearing for unofficial ext ( #7150 )
2022-05-16 12:04:54 -04:00
arkon
9f42306f79
Minor cleanup
2022-05-15 17:03:57 -04:00
arkon
13943f77f7
Migrate extension details page to Compose
2022-05-15 16:35:33 -04:00
Jim Man
1c94ecdcdf
Fix formatting ( #7146 )
2022-05-15 16:19:55 -04:00
Andreas
fb83a07f84
Add missing top padding for screen that was rewritten in Compose ( #7145 )
2022-05-15 14:00:35 -04:00
Andreas
3e2d7d76b9
Convert Extension tab to use Compose ( #7107 )
...
* Convert Extension tab to use Compose
Co-authored-by: jobobby04 <17078382+jobobby04@users.noreply.github.com>
* Review changes
Co-authored-by: jobobby04 <17078382+jobobby04@users.noreply.github.com>
2022-05-15 09:59:53 -04:00
arkon
393fc14630
Update Compose
...
Fixes #7004
2022-05-11 22:29:28 -04:00
arkon
b950370f12
Address some build warnings
2022-05-11 18:08:49 -04:00
arkon
ae7df4fb7f
Update linter
2022-05-10 17:54:52 -04:00
FourTOne5
5bd5b21543
Properly show history state ( #7052 )
...
* Make `HistoryState` similar to `MigrateState`
* Review Changes
* Also cache the transformation
Co-authored-by: Andreas <andreas.everos@gmail.com>
* Fix States
Co-authored-by: Andreas <andreas.everos@gmail.com>
2022-05-01 22:40:35 -04:00
arkon
aec980662f
Extract migrate list number badges for later use in library items
2022-05-01 22:35:44 -04:00
FourTOne5
aef1dc6eaf
Make MigrateSourceState
similar to MigrateState
( #7054 )
2022-05-01 22:35:34 -04:00
FourTOne5
bd45bf7407
Make SourceState
similar to MigrateState
( #7053 )
...
* make `SourceState` similar to `MigrateState`
* Review Changes
2022-05-01 22:34:58 -04:00
arkon
dee7830793
Update navigation bar padding in Compose screens
2022-04-30 11:59:39 -04:00
FourTOne5
23f8f35354
Migrate Source Filter Screen to Compose ( #7031 )
...
* Migrate Source Filter Screen to Compose
* Changes from Review and some more fixes
* Rename some variable and classes
* Review Change
* Ewbase and Review changes
2022-04-30 11:49:02 -04:00
arkon
cccd09fb5c
Allow passing modifier to preference composables
2022-04-30 09:43:49 -04:00
Andreas
bf6d59cd21
Migrate Migrate Manga screen to Compose ( #7045 )
...
* Migrate Migrate Manga screen to Compose
* Changes from review comments
2022-04-30 09:37:10 -04:00
FourTOne5
6ef6eab994
Remove source lang on migrate screen also seperate removed source on alphabetical sort ( #7041 )
...
* Remove source lang on migrate screen also seperate removed source on alphabetical sort
* Review changes
* Rename Variable
2022-04-30 08:33:00 -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
a4a4503311
Migrate SettingsMainController to Compose
2022-04-26 22:41:42 -04:00
arkon
08e63e5fab
Minor cleanup 2: Electric Boogaloo
...
- Reword pins on top setting
- Make "Latest" button style match old UI
- Sort sources by name
2022-04-24 15:17:01 -04:00
arkon
0ec9496d26
Minor cleanup
2022-04-24 14:39:51 -04:00
Andreas
29a0989f28
Convert Source tab to use Compose ( #6987 )
...
* Use Compose in Source tab
* Replace hashCode with key function
* Add ability to turn off pins moving on top of source list
* Changes from review comments
2022-04-24 14:35:59 -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
CrepeTF
070abd79ce
Resume when history item is tapped ( #6982 )
...
* Remove resume button
* Rename onClickItem to onClickCover
* Optimize imports
* Rename reference to onClickItem in HistoryController.kt
Co-authored-by: CrepeTF <trungnguyen02@outlookcom>
2022-04-23 10:58:33 -04:00
arkon
2d01933c28
Lifted NestedScrollConnection to abstract Compose classes
...
Since it'll likely be used in every controller.
2022-04-23 10:57:04 -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
032aa64195
Lift Compose theme to abstract controller
2022-04-21 22:58:28 -04:00
arkon
7c8e8317a8
Simplify history item description building
2022-04-21 22:47:51 -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