You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix Hacker News tab icon and add comments link (#37)
* Add Hacker News as a new source tab
Adds a source-hackernews module that fetches HN front-page stories via
the public Algolia HN Search API, wired into the services DI graph and
sources.json alongside the existing Github/Medium/Weekly sources so it
shows up as its own tab.
* Fix Release APK workflow: bump deprecated GitHub Actions to v4
actions/upload-artifact@v3 is deprecated and now auto-fails CI runs;
also bumps actions/checkout and actions/setup-java to v4 for consistency.
* Fix Hacker News tab icon and add comments link
The tab icon was a two-color vector (orange square + white Y), but tab
icons are tinted via app:tint on the ImageView, which recolors the
whole drawable using a single color and turned it into a solid block.
Replace it with a single-path monochrome glyph like the other tabs.
Also surface the HN discussion thread: ServiceItem gains an optional
commentsUrl, populated for Hacker News items with the story's
news.ycombinator.com link and its comment count in the footer text. A
new comments icon next to the bookmark button opens that link via the
existing child-click-listener plumbing, without touching the primary
tap target (which still opens the story's article).
---------
Co-authored-by: Claude <noreply@anthropic.com>