Skip to content

Commit 25c7d4b

Browse files
committed
refactor: format marketing copy and asset lists for consistency
1 parent 7d307f2 commit 25c7d4b

2 files changed

Lines changed: 45 additions & 12 deletions

File tree

scripts/generate_marketing_screenshots.py

Lines changed: 36 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,28 +42,55 @@
4242

4343
# Marketing copy for each screen (conversion-first, concrete output language).
4444
IPHONE_MARKETING = {
45-
"01_focus": {"headline": "Decide what\nmatters now.", "subheadline": "Scattered thoughts become 3 priorities."},
46-
"02_decide": {"headline": "Know why.\nTake action.", "subheadline": "Each priority includes why it matters and what to do next."},
47-
"03_capture": {"headline": "Capture in seconds.\nStay clear.", "subheadline": "Capture notes, links, and thoughts fast, even offline."},
48-
"04_settings": {"headline": "Private by default.\nHuman in control.", "subheadline": "No autopublish. Approval required for private outreach."},
45+
"01_focus": {
46+
"headline": "Decide what\nmatters now.",
47+
"subheadline": "Scattered thoughts become 3 priorities.",
48+
},
49+
"02_decide": {
50+
"headline": "Know why.\nTake action.",
51+
"subheadline": "Each priority includes why it matters and what to do next.",
52+
},
53+
"03_capture": {
54+
"headline": "Capture in seconds.\nStay clear.",
55+
"subheadline": "Capture notes, links, and thoughts fast, even offline.",
56+
},
57+
"04_settings": {
58+
"headline": "Private by default.\nHuman in control.",
59+
"subheadline": "No autopublish. Approval required for private outreach.",
60+
},
4961
}
5062

5163
MAC_MARKETING = [
52-
("01_focus", {"headline": "Decide what matters now", "subheadline": "See your top 3 priorities and one next move."}),
64+
(
65+
"01_focus",
66+
{"headline": "Decide what matters now", "subheadline": "See your top 3 priorities and one next move."},
67+
),
5368
(
5469
"02_insights",
5570
{"headline": "See what repeated", "subheadline": "Weekly Review surfaces recurring priorities and patterns."},
5671
),
5772
(
5873
"03_queues",
59-
{"headline": "Review only what matters", "subheadline": "Decisions, actions, tensions, and content candidates stay curated."},
74+
{
75+
"headline": "Review only what matters",
76+
"subheadline": "Decisions, actions, tensions, and content candidates stay curated.",
77+
},
6078
),
6179
(
6280
"04_memory",
63-
{"headline": "Understand the why", "subheadline": "Decision Replay shows what was reviewed, kept, and ignored."},
81+
{
82+
"headline": "Understand the why",
83+
"subheadline": "Decision Replay shows what was reviewed, kept, and ignored.",
84+
},
85+
),
86+
(
87+
"05_decisions",
88+
{"headline": "Act with confidence", "subheadline": "Feedback improves future prioritization over time."},
89+
),
90+
(
91+
"06_settings",
92+
{"headline": "Private by default", "subheadline": "Human stays in control. No autopublish for sensitive content."},
6493
),
65-
("05_decisions", {"headline": "Act with confidence", "subheadline": "Feedback improves future prioritization over time."}),
66-
("06_settings", {"headline": "Private by default", "subheadline": "Human stays in control. No autopublish for sensitive content."}),
6794
]
6895

6996
# App Store screenshot dimensions

scripts/generate_store_assets.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,19 @@
3333
"iPhone_5.5": ["01_focus.png", "02_decide.png", "03_capture.png", "04_settings.png"],
3434
"iPad_13": ["01_focus.png", "02_decide.png", "03_capture.png", "04_settings.png"],
3535
"iPad_12.9": ["01_focus.png", "02_decide.png", "03_capture.png", "04_settings.png"],
36-
"Mac": ["01_focus.png", "02_insights.png", "03_queues.png", "04_memory.png", "05_decisions.png", "06_settings.png"],
36+
"Mac": [
37+
"01_focus.png", "02_insights.png", "03_queues.png",
38+
"04_memory.png", "05_decisions.png", "06_settings.png",
39+
],
3740
}
3841

3942
RAW_REQUIRED: dict[str, list[str]] = {
4043
"iphone_raw": ["01_focus.png", "02_decide.png", "03_capture.png", "04_settings.png"],
4144
"ipad_raw": ["01_focus.png", "02_decide.png", "03_capture.png", "04_settings.png"],
42-
"mac_raw": ["01_focus.png", "02_insights.png", "03_queues.png", "04_memory.png", "05_decisions.png", "06_settings.png"],
45+
"mac_raw": [
46+
"01_focus.png", "02_insights.png", "03_queues.png",
47+
"04_memory.png", "05_decisions.png", "06_settings.png",
48+
],
4349
}
4450

4551

@@ -121,7 +127,7 @@ def run_generator(devices: dict[str, list[str]]) -> None:
121127
env["ALLOW_SCREENSHOT_FALLBACK"] = "0"
122128
env["STORE_ASSET_DEVICES"] = ",".join(devices)
123129

124-
result = subprocess.run(cmd, cwd=ROOT, env=env, check=False)
130+
result = subprocess.run(cmd, cwd=ROOT, env=env, check=False) # noqa: S603
125131
if result.returncode != 0:
126132
raise RuntimeError("Marketing screenshot generator failed")
127133

0 commit comments

Comments
 (0)