Repository navigation
Releases
Releases · DroidNinja/DevUpdates
1.0.22
Fix GitHub trending star/fork counts showing as 0 (#40) The list itself now loads (thanks to the per-row resilience fix), but every item showed "★ 0" — the star/fork count selector (.Link--muted.d-inline-block.mr-3) is matching nothing, while the "stars today" badge selector still works fine. That points at GitHub having renamed the Primer CSS utility classes on those count links, which are exactly the kind of styling classes GitHub churns over time. Read the counts from the stargazers/forks link's href instead (a[href$=stargazers], a[href$=forks|members]) — a stable, semantic URL rather than a utility class combo — falling back to the old class-based selector if that ever comes back. Co-authored-by: Claude <noreply@anthropic.com>
1.0.21
Make GitHub trending parser resilient to per-row parse failures (#39) parseTrendingItem() never actually returned null despite being called via mapNotNull — any exception from a single malformed repo card (unusual href structure, missing star/fork markup, non-numeric count text) propagated straight out of parse() and failed the whole trending fetch, surfacing as the generic "Something went wrong" error for the entire tab even when most rows were parseable. Wrap the per-item parsing in try/catch so a bad row is skipped and logged instead of taking down the whole list, and use toIntOrNull instead of toInt so a non-numeric star/fork count no longer throws. Also stop crashing on a missing star count (previously counts[0]) now that GithubTrendingResponseItem.stars is properly optional, and fix the "likes" text showing a literal "★ null" when it's absent. Co-authored-by: Claude <noreply@anthropic.com>
1.0.20
Fix GitHub trending tab language filter and subtitle text (#38) Selecting the "All" language chip after picking a specific language (e.g. Kotlin) was a no-op: the chip listener only wrote the selected language into request metadata when the chip wasn't "All", so the stale language stayed in metadata and the list kept showing that language's trending repos while the chip UI showed "All" selected. Now selecting "All" clears the stored language so the request falls back to all-languages trending, matching the chip UI. Also fixes the topTitleText subtitle showing a stray leading "● " (or literal "null") when a trending repo has no listed language or GitHub doesn't report a "stars today" count for it. Co-authored-by: Claude <noreply@anthropic.com>
1.0.19
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>
1.0.18
Fix Release APK workflow: bump deprecated GitHub Actions to v4 (#36) actions/upload-artifact@v3 is deprecated and now auto-fails CI runs; also bumps actions/checkout and actions/setup-java to v4 for consistency. Co-authored-by: Claude <noreply@anthropic.com>
1.0.17
1.0.16
1.0.15
1.0.14
Merge remote-tracking branch 'origin/master'