Commit graph

213 commits

Author SHA1 Message Date
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
943ee382d8
all: switch to produceState where applicable 2022-02-14 17:29:15 +05:30
b8a6cf90c8
android: replace ClawFab with a NavigationBar interaction 2022-02-14 03:42:48 +05:30
f8a32ccd2c
Revert "android: allow swipe to remove from saved posts"
This reverts commit 80dc5a59f8.
2022-02-14 03:23:56 +05:30
07ee37edb2
Revert "android: ensure save is toggled only after dismiss"
This reverts commit bad6fc9e3a.
2022-02-14 03:23:52 +05:30
bad6fc9e3a
android: ensure save is toggled only after dismiss 2022-02-10 13:49:10 +05:30
6222152f64
android: ensure saved posts don't draw under bottom nav 2022-02-10 13:15:58 +05:30
renovate[bot]
af2264532d
chore(deps): update com.halilibo.compose-richtext to v0.11.0 (#293)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2022-02-10 09:48:01 +05:30
7b7bc79a60
all: run reformat and code cleanup tasks 2022-02-09 13:13:44 +05:30
80dc5a59f8
android: allow swipe to remove from saved posts 2022-02-09 13:13:43 +05:30
834a59e46e
android: set web URI to null in saved posts screen 2022-02-08 02:08:16 +05:30
d15bf23eee
android: use the correct nav color and make the check fancier 2022-02-08 02:08:15 +05:30
f03a55543e
android: commonize shared animation code 2022-02-08 02:08:15 +05:30
f8e7043a42
android: use navigation destination to signal selected state 2022-02-08 02:08:15 +05:30
2bfdab7a1a
android: force navigation bar color update when system theme changes 2022-02-08 02:08:15 +05:30
2e503422c8
android: fix navigation backstack handling
As seen previously in #66
2022-02-07 14:53:08 +05:30