mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-17 16:37:43 +00:00
Iterates the store-screenshot pipeline to ship-ready quality. Squashed from a series of capture/build/UX changes that all live in e2e/store-screenshots and form a coherent set. Pipeline UX - Print master capture path via Playwright globalTeardown. - Declare sharp as devDep (was imported by build-store-assets but never listed) so a fresh install runs the build cleanly. - Open dist/ folder when build finishes; opt out via SP_SCREENSHOTS_NO_OPEN=1. - Emit dist/screenshots/_preview.html contact sheet for one-click QA across every per-store layout. Capture content - New slot 00 hero across desktop / mobile / tablet specs: showMarketingOverlay paints a gradient caption strip on top of the live app. Position is orientation-aware (bottom for landscape, top for portrait). Copy lives in marketing-copy.ts as a single source of truth. - Desktop slot 05 captures the running focus timer instead of the duration picker (skip the rocket countdown via clock.runFor). - Desktop slot 07 = plain dark project view (no wallpaper) instead of catppuccin; slot 08 = desktop planner. - Mobile slots 02 and 04 use signal-based planner expansion (the component is gesture-only, so flip isExpanded via ng.getComponent). - Side nav collapsed for desktop slots 01 (schedule day-panel) and 04 (notes panel) so the right panel can breathe. - Mobile hides the per-task play column via appFeatures.isTimeTrackingEnabled. - Seed: drop Morning yoga (the only top-level done task on today), flip the remaining done subtask back to undone, trim the PR review tag chips down to the two EM tags that drive Eisenhower. Viewports - desktopMaster: 1280x800 CSS at 2x -> 2560x1600 (smaller MAS Retina size = more apparent zoom than the prior 1440x900 baseline). - androidPhone: 412x915 CSS at 3x -> 1236x2745, matching modern flagships (Pixel 7/8, Galaxy S22+). - Tablet rotations: 7" -> landscape, 10" -> portrait. android7Tablet moves from PHONE_VIEWPORTS to TABLET_VIEWPORTS. Test infra - Bump per-test timeout to 8 minutes for multi-locale single-session specs (12+ captures per locale overran the 180s default on slow viewports). - Scope LOCALES to ['en'] for now until German strings catch up. - ImportPage race tolerates slow imports without an encryption dialog: catch the 15s waitFor rejection so the 60s import-complete promise is the real ceiling. A cold dev server would otherwise abort here at 15s.
10 lines
492 B
TypeScript
10 lines
492 B
TypeScript
/**
|
||
* Single source of truth for the cover/hero slot caption shown on the lead
|
||
* app-store screenshot. Keep it punchy — large type at the top of the
|
||
* capture, with the actual app visible below as proof.
|
||
*
|
||
* If you want to A/B different copy, change here and re-run capture; all
|
||
* spec classes (desktop / mobile / tablet) read these constants.
|
||
*/
|
||
export const MARKETING_HEADLINE = 'Plan it. Do it. Done.';
|
||
export const MARKETING_SUBLINE = 'Tasks, time, focus – all in one place.';
|