Commit graph

130 commits

Author SHA1 Message Date
9ee2a39323
common: setup click handlers for deeplinks 2022-05-10 14:41:41 +05:30
50b4e8bf8c
common: flesh out UserProfile 2022-05-10 14:41:40 +05:30
74a7e0428d
common: add NetworkError composable 2022-05-10 14:41:40 +05:30
5b024c8d6e
common: add UserProfile composable and integrate navigation 2022-05-10 14:41:40 +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
623e5d0144
common: extract ProgressBar composable 2022-05-07 14:23:52 +05:30
9b9e924475
all: migrate logging to Napier 2022-05-03 22:49:49 +05:30
5429b66fa3
common: remove custom TransitionSpec from comments animation 2022-04-24 21:04:21 +05:30
bfdb86d2e5
common: switch to generating icons code at build-time 2022-04-23 13:12:09 +05:30
132898e3ca
common: add icon for new posts 2022-04-22 20:38:14 +05:30
0a1634bb83
all: migrate from drawables to generated ImageVectors 2022-04-22 20:38:14 +05:30
3be6e2552f
gradle: downgrade AGP to 7.0.x again 2022-04-22 20:38:13 +05:30
584c1e5e5c
common: remove unnecessary SVG resources
Compose Desktop can actually parse Android Vector Drawables just
fine, provided they do not reference external resources like
theme attributes or colors which our drawables do not.
2022-04-14 21:10:55 +05:30
83d64ecea9
gradle: resolve noisy build warnings 2022-04-10 00:59:35 +05:30
7604b776b3
common: catch errors when opening URLs 2022-04-07 17:50:34 +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
3097eaf82f
gradle: migrate to build-logic 2022-04-05 19:29:49 +05:30
4cef244d71
build: improve compatibility with Android Studio 2022-04-05 17:09:38 +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
f6e3b6c540
common: allow collapsing comments
In the future this should collapse entire trees of comments
2022-03-08 17:31:07 +05:30
c556f26d77
android: move comments URL hackery to the right location 2022-03-02 13:40:57 +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
3215dd77d1
common: add a comment count badge 2022-02-28 17:47:56 +05:30
Sasikanth Miriyampalli
01a2bbc55d
Align post action icons properly in LobstersCard (#300) 2022-02-20 16:26:11 +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
Sasikanth Miriyampalli
88d57f63dd
Add support for comment count in API responses and DB table (#295) 2022-02-20 06:02:32 +00:00
adbda57652
common: use the boolean operator 2022-02-14 17:32:45 +05:30
943ee382d8
all: switch to produceState where applicable 2022-02-14 17:29:15 +05:30
4aa26d80a6
common: remove unnecessary experimental opt-in 2022-02-14 04:04:44 +05:30
7661eaa35c
common: fix filename 2022-02-14 04:03:00 +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
f2b4bc02f0
common: rename suffixes from px to dp 2022-02-07 11:58:31 +05:30
15da824d3e
common: increase vertical padding inside LobstersItem 2022-02-06 22:12:07 +05:30
e93baa84be
common: add post to remember keys for localSavedState
(cherry picked from commit 876b5d8b8fe6e8bcedd414f346430a7c9ce6f4b4)
2022-02-06 15:03:40 +05:30
Aditya Wasan
743b2db4ef
feat(common): add localSavedState for save button composable
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
(cherry picked from commit 910471b32bde54749e437d374822c1d1e7830798)
2022-02-06 15:03:39 +05:30
06ea10f3b3
common: fix package directive for NetworkState 2022-02-06 14:06:24 +05:30
7db06f9b93
all: make Coil version match compose-richtext 2022-02-01 02:05:31 +05:30
a351a35a43
common: create indirection kludge to workaround compiler error
Without this the compiler fails to reason that the Manrope variable actually
does get initialized.
2022-01-20 20:53:37 +05:30
c99b51000b
common: make theme providedValues be vararg 2022-01-19 13:01:49 +05:30
1bfa77b319
common: remove unused import 2022-01-07 17:48:40 +05:30
ff25657989
common: remove ugly title color 2022-01-05 22:14:57 +05:30
bac7611bee
all: add support for dynamic colors 2021-12-31 01:31:17 +05:30
3f3da0ab18
common: fix theming for CommentEntry 2021-12-31 01:31:17 +05:30
41e4fe284a
common: rename Theme.kt to Type.kt 2021-12-30 23:58:24 +05:30