Skip to content

Adding Bookmarking#305

Merged
trevor-e merged 7 commits intomainfrom
bookmarking
Jan 22, 2025
Merged

Adding Bookmarking#305
trevor-e merged 7 commits intomainfrom
bookmarking

Conversation

@Rahkeen
Copy link
Contributor

@Rahkeen Rahkeen commented Jan 17, 2025

This diff adds the infrastructure for bookmarking. It's leveraging SwiftData, albeit not in the exact way that's recommended since we are using ViewModels for data retrieval and mapping to state.

There are still probably some kinks to iron out here. I'm calling a lot of fetches to get the latest version of out bookmarks when ideally I can just observe some changes.

@emerge-tools
Copy link

emerge-tools bot commented Jan 17, 2025

2 builds increased size

Name Version Download Change Install Change Approval
HackerNews
com.emerge.hn.Hacker-News
3.4 (1) 7.2 MB ⬆️ 15.3 kB (0.21%) 9.7 MB ⬆️ 45.8 kB (0.48%) ⏳ Needs approval
HackerNews
com.emergetools.hackernews.snapshots
3.4 (1) 8.0 MB ⬆️ 43.6 kB (0.55%) 13.4 MB ⬆️ 189.3 kB (1.44%) N/A

HackerNews 3.4 (1)
com.emerge.hn.Hacker-News

⚖️ Compare build
📦 Install build
⏱️ Analyze build performance

Total install size change: ⬆️ 45.8 kB (0.48%)
Total download size change: ⬆️ 15.3 kB (0.21%)

Largest size changes

Item Install Size Change
DYLD.Fixups ⬆️ 4.9 kB
HackerNews.BookmarksScreen.body ⬆️ 4.4 kB
HackerNews.StoryRow.body ⬆️ 3.5 kB
📝 HackerNews.Bookmark.Bookmark ⬆️ 2.4 kB
📝 HackerNews.AppViewModel.init(bookmarkStore) ⬆️ 1.7 kB
View Treemap

Image of diff

HackerNews 3.4 (1)
com.emergetools.hackernews.snapshots

⚖️ Compare build
⏱️ Analyze build performance

Total install size change: ⬆️ 189.3 kB (1.44%)
Total download size change: ⬆️ 43.6 kB (0.55%)

Largest size changes

Item Install Size Change
DYLD.String Table ⬆️ 75.1 kB
HackerNews.BookmarksScreen.body ⬆️ 7.5 kB
DYLD.Fixups ⬆️ 5.2 kB
Code Signature ⬆️ 5.2 kB
HackerNews.StoryRow.body ⬆️ 5.0 kB
View Treemap

Image of diff


🛸 Powered by Emerge Tools

Comment trigger: Size diff threshold of 100.00kB exceeded

@emerge-tools
Copy link

emerge-tools bot commented Jan 17, 2025

📸 Snapshot Test

8 modified, 74 unchanged

Name Added Removed Modified Renamed Unchanged Errored Approval
HackerNews
com.emergetools.hackernews.snapshots
0 0 8 0 56 0 ⏳ Needs approval
HackerNews Swift-Snapshot-Testing
com.emerge.hn.Hacker-News.swiftsnapshottesting
0 0 0 0 18 0 N/A

🛸 Powered by Emerge Tools

@Rahkeen Rahkeen mentioned this pull request Jan 18, 2025
@trevor-e trevor-e merged commit 99d31cd into main Jan 22, 2025
5 of 6 checks passed
@trevor-e trevor-e deleted the bookmarking branch January 22, 2025 20:11
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