Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bookmarking Stories to Read Later #74

Merged
merged 16 commits into from
Jul 15, 2024
Merged

Bookmarking Stories to Read Later #74

merged 16 commits into from
Jul 15, 2024

Conversation

Rahkeen
Copy link
Collaborator

@Rahkeen Rahkeen commented Jul 15, 2024

With this diff, I'm taking a pass at bookmarking functionality. This required adding some infrastructure, namely Room as our local database.

The action is wired up to a long press for now, which will allow you to bookmark / unbookmark a story. There is also a separate screen and bottom nav item for bookmarks so we can easily navigate there.

Copy link

emerge-tools bot commented Jul 15, 2024

2 builds increased size

Name Version Download Change Install Change Approval
⚠️ Hacker News
com.emergetools.hackernews
1.0 (1) 1.6 MB ⬆️ 48.6 kB (3.22%) 3.4 MB ⬆️ 110.4 kB (3.38%) N/A
⚠️ Hacker News
com.emergetools.hackernews.debug
1.0 (1) 9.6 MB ⬆️ 191.3 kB (2.04%) 28.0 MB ⬆️ 504.4 kB (1.84%) N/A

Hacker News 1.0 (1)
com.emergetools.hackernews

⚖️ Compare build
⏱️ Analyze build performance

Total install size change: ⬆️ 110.4 kB (3.38%)
Total download size change: ⬆️ 48.6 kB (3.22%)

Largest size changes

Item Install Size Change Download Size Change
📝 androidx.room.RoomOpenHelper ⬆️ 4.3 kB ⬆️ 1.9 kB
androidx.tracing.Trace ⬇️ -3.8 kB ⬇️ -1.7 kB
📝 kotlin.collections.builders.MapBuilder ⬆️ 3.6 kB ⬆️ 1.7 kB
kotlin.text.CharsKt ⬆️ 3.4 kB ⬆️ 1.5 kB
📝 androidx.compose.material3.NavigationBarKt ⬆️ 3.4 kB ⬆️ 1.5 kB
View Treemap

Image of diff

Hacker News 1.0 (1)
com.emergetools.hackernews.debug

⚖️ Compare build
⏱️ Analyze build performance

Total install size change: ⬆️ 504.4 kB (1.84%)
Total download size change: ⬆️ 191.3 kB (2.04%)

Largest size changes

Item Install Size Change Download Size Change
📝 androidx.room.InvalidationTracker ⬆️ 5.8 kB ⬆️ 2.0 kB
📝 androidx.room.RoomDatabase ⬆️ 5.2 kB ⬆️ 1.8 kB
📝 androidx.room.util.TableInfoKt ⬆️ 4.8 kB ⬆️ 1.7 kB
📝 androidx.room.RoomDatabase$Builder ⬆️ 4.3 kB ⬆️ 1.5 kB
📝 androidx.room.QueryInterceptorDatabase ⬆️ 4.1 kB ⬆️ 1.4 kB
View Treemap

Image of diff


🛸 Powered by Emerge Tools

Comment trigger: Size diff threshold of 100.00kB exceeded

Copy link

emerge-tools bot commented Jul 15, 2024

📸 Snapshot Test

3 modified, 2 added, 8 unchanged

Name Version Added Removed Modified Unchanged Errored Approval
Hacker News
com.emergetools.hackernews.debug
1.0 (1) 2 0 3 8 0 ✅ Approved

🛸 Powered by Emerge Tools

@Rahkeen Rahkeen requested a review from rbro112 July 15, 2024 20:56
Copy link

emerge-tools bot commented Jul 15, 2024

⏱ Performance Analysis

Hacker News

Head build: Hacker News 1.0 (1)
Base build: Hacker News 1.0 (1)

Name Change Comparison
⚠️ Startup (com.emerge.universaltests.EmergeUniversalStartupTest) ⬆️ 12.66% 🛸 View

🛸 Powered by Emerge Tools

@@ -27,6 +28,11 @@ android {
debug {
isDebuggable = true
applicationIdSuffix = ".debug"
}
create("fast") {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit on the indent

@Rahkeen Rahkeen merged commit 8f08b33 into main Jul 15, 2024
4 of 6 checks passed
@Rahkeen Rahkeen deleted the rikin.bookmarks branch July 15, 2024 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants