Skip to content

General: Refresh Play Store screenshots and add Watcher screen#355

Merged
d4rken merged 1 commit into
mainfrom
chore/refresh-screenshots-add-watcher
Apr 25, 2026
Merged

General: Refresh Play Store screenshots and add Watcher screen#355
d4rken merged 1 commit into
mainfrom
chore/refresh-screenshots-add-watcher

Conversation

@d4rken
Copy link
Copy Markdown
Member

@d4rken d4rken commented Apr 25, 2026

What changed

Refreshed the Play Store / GitHub README screenshots:

  • The screenshot set now includes the Permission Watcher dashboard (showing app installs, updates, removals, and permission changes β€” one of the headline features that was previously absent from the screenshots).
  • Dropped the duplicate dark-mode Overview screenshot and the Settings screenshot β€” both added little to the store listing.
  • The shipped en-US screenshots are regenerated from a corrected layout that matches what users actually see in production (the wrapper used in the screenshot pipeline previously rendered the bottom navigation bar covering content, and was missing the Watcher tab entirely).
  • README image grid trimmed from 10 broken/stale references to 6 properly-named screenshots, switched to relative paths so previews render correctly in PR diffs as well as on the rendered README.

Technical Context

  • WatcherDashboardPreviewData (new): 5 reports covering all four WatcherEventType values (UPDATE, INSTALL, GRANT_CHANGE, REMOVED) with realistic app names lifted from AppsPreviewData for cross-screenshot consistency. Uses fixed epoch-millis timestamps (no System.currentTimeMillis()) so screenshot regenerations are deterministic instead of churning every run.
  • WatcherDashboardScreen inline preview now reuses the new shared WatcherDashboardPreviewData.loadedState() instead of duplicating its own state β€” single source of truth between IDE preview and Play Store screenshot.
  • ScreenshotContent.WithBottomBar rewritten from Box overlay to Column { Box(weight=1f) { content }; NavigationBar { … } } matching the production MainScreen layout. Previously the bar was overlaid on top of the content (would cover the Watcher FAB and bottom rows of lists). Also bumped from 3 to 4 tabs to match production, with a sample Badge { Text("3") } on the Watcher tab so the shipped screenshots reflect the real bottom bar users see.
  • Pipeline scripts: dropped the now-dead @PlayStoreLocalesDark annotation class and its generator block in generate_screenshots.sh. Updated composable count from 7 to 6. Added a BATCH_SIZE_EXPLICIT flag so --smoke --batch-size N actually honors the override β€” without it, smoke mode forces all 6 locales into a single batch and PermissionDetails OOMs in layoutlib.
  • copy_screenshots.sh SCREEN_MAP rebuilt for the new 6-entry screen set.
  • Stale 2022 screenshot1.png … screenshot10.png files removed from en-US. The en-US directory plus the 5 smoke-incidental locales (de-DE, ja-JP, ar, zh-CN, pt-BR) now contain the new descriptive PNGs (1_overview_light.png through 6_watcher.png). Other 33 locales still hold no screenshots β€” full multi-locale regeneration is left for a separate ~20-minute run.

Review guidance

  • Visual: the 6 new en-US PNGs in fastlane/metadata/android/en-US/images/phoneScreenshots/ are the easiest way to sanity-check the output.
  • The WithBottomBar rewrite affects every existing tab screenshot (Overview/Apps/Permissions) β€” they all now show the corrected 4-tab bar with the Watcher badge, so binary diffs there are expected.

Drop the Overview Dark and Settings screenshots, add a new Watcher Dashboard screenshot, and replace the stale 2022 PNGs with freshly generated descriptive-named files.

Source changes:

- New WatcherDashboardPreviewData with 5 reports (WhatsApp/Signal/Spotify/Chrome/DuckDuckGo) covering UPDATE, INSTALL, GRANT_CHANGE, and REMOVED event types. Uses fixed timestamps so regenerations are deterministic.

- WatcherDashboardScreen inline preview now reuses the shared PreviewData instead of duplicating state.

- ScreenshotContent.WithBottomBar rewritten from Box overlay to Column-with-weight, matching production layout. Adds the missing 4th tab (Watcher) with a sample badge of '3' so existing tab screenshots also reflect the real production bar.

- PlayStoreScreenshots and PlayStoreLocales pruned of OverviewDark, SettingsIndex, and the now-dead PlayStoreLocalesDark annotation.

Pipeline scripts:

- copy_screenshots.sh SCREEN_MAP rewritten for the new 6-entry screen set.

- generate_screenshots.sh: dropped the dark-annotation generation block, fixed composable count (7 -> 6), and added a BATCH_SIZE_EXPLICIT flag so '--smoke --batch-size N' actually honors the override (previously the smoke branch always overwrote BATCH_SIZE and OOM'd PermissionDetails).

Assets:

- Removed 10 stale screenshot1.png-screenshot10.png files in en-US.

- Generated fresh 1_overview_light.png through 6_watcher.png in en-US plus the 5 other smoke locales (de-DE, ja-JP, ar, zh-CN, pt-BR) as a no-op-equivalent side-effect.

- README.md now embeds 6 relative-path images so previews render in PRs as well as on main.
@d4rken d4rken merged commit 081c97d into main Apr 25, 2026
10 checks passed
@d4rken d4rken deleted the chore/refresh-screenshots-add-watcher branch April 25, 2026 20:16
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.

1 participant