b2b73971f2
android: remove explicit navigation transitions
...
The defaults are nice enough
2022-05-14 19:37:21 +05:30
cf9e8487ff
android: run ClawViewModel#toggleSave
on IO Dispatcher
2022-05-14 19:32:46 +05:30
733cae4815
android: reduce transformation steps for saved state check
2022-05-14 19:31:47 +05:30
4124cdcd1b
android: skip unnecessary database call
2022-05-14 19:27:33 +05:30
5b024c8d6e
common: add UserProfile composable and integrate navigation
2022-05-10 14:41:40 +05:30
c046036fdc
android: add navigation destinations for user profile
2022-05-10 13:24:05 +05:30
f30113b483
android: add ViewModel method to get user profile
2022-05-10 13:24:05 +05:30
68c76628a3
android: use app_name
string for label
2022-05-10 08:02:56 +05:30
692e294528
android: move sorting and grouping of saved posts to ViewModel
2022-05-09 17:07:20 +05:30
Rahul Krishna
642484a9a9
android: use AsyncImage for images
...
* Coil recommends using clip instead of CircleCropTransformation for compose.
* Enable crossfade by default
* Allow caching images
* Run spotlessApply
Closes #320
Signed-off-by: Rahul Krishna <Rahulkrishna585@gmail.com>
2022-05-07 14:25:54 +05:30
bb2213ff86
android: cleanup Destinations class
2022-05-07 14:23:52 +05:30
4e261af246
android: reverse saved posts sorting order
2022-05-04 23:05:12 +05:30
5eff482c0a
android: make it clearer that minify is disabled
2022-05-04 08:45:14 +05:30
3e028e8852
android: switch to material-motion-compose
2022-05-03 23:15:56 +05:30
9b9e924475
all: migrate logging to Napier
2022-05-03 22:49:49 +05:30
c64e1c8f38
android: consistently use outlined icons
2022-04-24 21:04:20 +05:30
bfdb86d2e5
common: switch to generating icons code at build-time
2022-04-23 13:12:09 +05:30
d4f09b98e4
android: update manifest to properly support deeplinks
2022-04-22 21:19:52 +05:30
08e97807dd
android: add entry for newest posts
2022-04-22 20:38:14 +05:30
ea2ebf0393
android: merge redundant composables
2022-04-22 20:38:14 +05:30
0a1634bb83
all: migrate from drawables to generated ImageVectors
2022-04-22 20:38:14 +05:30
0cb1124640
android: show a sticky header in saved posts
2022-04-14 21:08:16 +05:30
66718d447a
android: sort saved posts by creation time
2022-04-14 18:30:15 +05:30
f7cf5720a7
Migrate to SQLDelight 2.0.0-alpha02
2022-04-14 12:25:14 +05:30
91ed81460c
common: make LobstersTheme
's providedValue
parameter an array
...
`vararg` confuses poor Android Studio
2022-04-06 12:51:55 +05:30
65e9463ca5
android: import app_name
string from common
2022-04-06 12:51:48 +05:30
fe1163be51
android: allow existing scheduled work to be replaced
...
Without this we end up in situations where changes to constraints
are not propagated immediately because of pre-scheduled work that
is retained until it has run.
2022-04-06 12:51:47 +05:30
325aca2760
android: make SavedPostUpdater more parallel
2022-04-06 12:51:47 +05:30
27a8d16487
android: use WorkManager to update saved posts periodically
2022-04-06 00:02:16 +05:30
3097eaf82f
gradle: migrate to build-logic
2022-04-05 19:29:49 +05:30
9f7a5446f8
android: migrate away from Accompanist Insets
2022-03-29 11:43:01 +05:30
0eba1e26fb
gradle: migrate plugin dependencies to version catalogs
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2022-03-25 15:04:38 +05:30
a7897e4875
all: add missing dependencies on coroutines
...
Prevents incorrect transitive dependency resolution rules from breaking build
2022-03-15 16:02:45 +05:30
78771c86bf
android: add task to collect APKs
2022-03-09 01:23:29 +05:30
91d97e0696
gradle: sync property set with APS
2022-03-09 01:23:28 +05:30
5b0d953210
Revert "android: inline routes"
...
This makes the handling in `PostActions#viewComments` slightly weird and isn't
worth it until that abstraction is removed.
This reverts commit de28ae2d95
.
2022-03-02 23:50:14 +05:30
c556f26d77
android: move comments URL hackery to the right location
2022-03-02 13:40:57 +05:30
de28ae2d95
android: inline routes
2022-03-02 13:39:31 +05:30
a58c30ea6b
android: port deeplinks from develop branch
...
Fixes #306
Co-Authored-By: Aditya Wasan <adityawasan55@gmail.com>
2022-03-02 00:52:13 +05:30
35d062cbec
all: add trailing commas wherever missing
2022-02-28 21:32:20 +05:30
Sasikanth Miriyampalli
21ced135b6
Update comments page UI ( #305 )
2022-02-28 15:44:49 +00:00
352769161b
android: add back navigation icon and title changes
2022-02-28 20:35:41 +05:30
2f60aa0ae0
android: remove TopAppBar scroll out behaviour
...
I'm not a fan of this behaviour.
This fully reverts commit 0ce95ef770
and partially reverts commit 0db4e48613
.
2022-02-24 01:20:51 +05:30
Rahul Krishna
c05b2073ba
android: Check savedPost against shortId ( #303 )
2022-02-21 21:55:18 +05:30
Rahul Krishna
9e5e260efd
android: Add bottomPadding for HottestPosts ( #302 )
...
* android: Add bottomPadding for HottestPosts
* Update android/src/main/kotlin/dev/msfjarvis/claw/android/ui/LobstersApp.kt
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-02-20 13:03:50 +00:00
Sasikanth Miriyampalli
0ce95ef770
Show back button in appbar when current destination is not in nav items ( #301 )
...
* Add navigation icon support in `ClawAppBar`
* Show back icon in app bar when current destination is not in nav items
* Add title support in `ClawAppBar`
* Show title in app bar only if the current destination is present in nav items
2022-02-20 11:13:42 +00:00
Rahul Krishna
3b833083e1
Use material3 color for SwipeRefreshIndicator ( #299 )
2022-02-20 16:06:36 +05:30
Sasikanth Miriyampalli
34393ef2dc
Add Divider
composable in common module ( #298 )
2022-02-20 15:57:01 +05:30
Sasikanth Miriyampalli
0db4e48613
Update LobstersCard
UI ( #296 )
2022-02-20 09:53:26 +00:00
dd233d4b10
android: inject a 10 mB cache into network layer
2022-02-14 17:39:39 +05:30