feat(screenshots): Add case pop-up screenshot, reorder Play Store sequence

- Add CasePopUp as screenshot 3 (popup shown on case open)

- Reorder: WidgetConfiguration moves to 4, app screens follow at 5-8

- Add Widget Configuration screen title heading

- Fix appearance card reset button to always wrap below title

- Balance padding on requires-Pro notice in widget config bottom bar
This commit is contained in:
darken
2026-02-25 22:57:34 +01:00
committed by Matthias Urhahn
parent fc9bcafae9
commit 76c55bf3be
5 changed files with 53 additions and 149 deletions
+6 -5
View File
@@ -23,11 +23,12 @@ fi
declare -A SCREEN_MAP=(
[DashboardLight]="1_dashboard_light"
[DashboardDark]="2_dashboard_dark"
[DeviceProfiles]="3_device_profiles"
[AddProfile]="4_add_profile"
[SettingsIndex]="5_settings"
[ReactionSettings]="6_reaction_settings"
[WidgetConfiguration]="7_widget_configuration"
[CasePopUp]="3_case_popup"
[WidgetConfiguration]="4_widget_configuration"
[DeviceProfiles]="5_device_profiles"
[AddProfile]="6_add_profile"
[SettingsIndex]="7_settings"
[ReactionSettings]="8_reaction_settings"
)
if [[ ! -d "$REF_DIR" ]]; then
+2 -2
View File
@@ -14,7 +14,7 @@ PROJECT_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"
LOCALES_FILE="$PROJECT_DIR/app/src/screenshotTest/kotlin/eu/darken/capod/screenshots/PlayStoreLocales.kt"
REF_DIR="$PROJECT_DIR/app/src/screenshotTestGplayDebug/reference"
# Default batch size — 6 locales × 7 composables = 42 renders per batch.
# Default batch size — 6 locales × 8 composables = 48 renders per batch.
# Kept small to avoid layoutlib OOM (leaks ~4MB per rendered image at 720p; more at 1080p).
BATCH_SIZE=4
SMOKE=false
@@ -211,7 +211,7 @@ done
# Count final results
FINAL_COUNT=$(find "$REF_DIR" -name "*.png" 2>/dev/null | wc -l)
EXPECTED=$(( TOTAL * 7 )) # 7 composables per locale
EXPECTED=$(( TOTAL * 8 )) # 8 composables per locale
echo "=== Generation Complete ==="
echo "Generated: $FINAL_COUNT images (expected: $EXPECTED)"