Commit Graph

84 Commits

Author SHA1 Message Date
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