63: Add more tests for Lobsters API and fix okhttp version r=msfjarvis a=msfjarvis
Downgrades OkHttp back to 3.14.9 because that's what Retrofit uses and using a higher version results in test failures for me when executed through the IDE. Also adds a couple more tests for the API data, and adds a `.git-blame-ignore-revs` file to skip some noisy commits that make `git-blame` that much useless.
bors r+
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
61: Revamp database setup r=msfjarvis a=msfjarvis
An assortment of database related changes
- Moved the `data` module into `app`
- Enabled schema generation for `PostsDatabase`
- Added and enabled [Roomigrant](https://github.com/MatrixDev/Roomigrant)
- Removed the now unused `LobstersPost#isLiked` field
- Bumped the database version to let Roomigrant handle the upgrade
bors r+
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
60: Make saving a swipe action r=msfjarvis a=msfjarvis
~~This isn't ready yet, because when done we want to make this use just `Modifier.swipeable` and not actually dismiss the view.~~ Good to go now
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
59: Reorganize classes based on Buffer's package structure r=msfjarvis a=msfjarvis
Following the overview from [this post](https://buffer.com/resources/android-rethinking-package-structure/). I personally find myself agreeing with the reasoning behind these changes and can see the benefits.
bors r+
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
58: Fix Jetpack Compose link r=msfjarvis a=rleppink
The current link does not resolve because of the double `https://`
Co-authored-by: Ronald Leppink <rleppink@users.noreply.github.com>
53: Fix pagination and extract UrlLauncherAmbient r=msfjarvis a=msfjarvis
Our pagination hack currently does not update the last index field which has now been fixed. While here we also take the time to extract UrlLauncherAmbient and prepare the post list composables for tweaking from the root UI
bors r+
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
52: Switch to BottomNav and use AndroidX navigation r=msfjarvis a=msfjarvis
This couldn't have been any easier to implement. Everything worked in the very first try, just amazing, amazing work from the Compose and Navigation teams.
bors r+
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>