fix(screenshots): use neutral sample fixture data #53

Merged
Breadway merged 3 commits from fix/bar-52-neutral-screenshot-fixtures into main 2026-10-02 17:05:37 +08:00
Owner

Closes #52

Replaces screenshot sample content with fictional, neutral fixtures: a home network label, build timer, disk-usage widget, and generic notifications. Updates the status sentence test to use neutral input.

Closes #52 Replaces screenshot sample content with fictional, neutral fixtures: a home network label, build timer, disk-usage widget, and generic notifications. Updates the status sentence test to use neutral input.
fix(screenshots): use neutral sample fixture data
All checks were successful
check / check (push) Successful in 13m59s
2e5398343f
Author
Owner

Implementation is available in PR #53 at 2e5398343f2ef2760b90db37f6575d3464d534b3. Local checks passed: cargo test --offline -p breadbar (128 tests) and Clippy. Exact-head CI is pending and waiting to run; if it fails, move this item back to TODO.

Implementation is available in PR #53 at `2e5398343f2ef2760b90db37f6575d3464d534b3`. Local checks passed: cargo test --offline -p breadbar (128 tests) and Clippy. Exact-head CI is pending and waiting to run; if it fails, move this item back to TODO.
Author
Owner

Not merged in this review pass: the fixture cleanup is incomplete, so personal strings would still ship in published captures. Remaining on the branch:

  • src/main.rs set_media(...) for stage-*: title: "Nightcall", artist: "Kavinsky" (the real artist/track BAR-52 called out), and an OpenWindow titled "Nightcall · Kavinsky" in the same sample block.
  • src/main.rs surtitle path ("surtitle" view): app: "kitty", summary: "Claude is waiting for your input" — the third "waiting for your input" notification named in BAR-52.
  • src/stage/pure.rs card_parts_split_tooltip_and_progress still uses the claude.usage / Claude usage fixture (test-only, but the issue asked for the matching pure.rs fixture to be updated too).

Replace those with invented/neutral values (e.g. an invented artist and track, a generic notification), then this is good to merge.

Not merged in this review pass: the fixture cleanup is incomplete, so personal strings would still ship in published captures. Remaining on the branch: - `src/main.rs` `set_media(...)` for `stage-*`: `title: "Nightcall"`, `artist: "Kavinsky"` (the real artist/track BAR-52 called out), and an `OpenWindow` titled `"Nightcall · Kavinsky"` in the same sample block. - `src/main.rs` surtitle path (`"surtitle"` view): `app: "kitty"`, `summary: "Claude is waiting for your input"` — the third "waiting for your input" notification named in BAR-52. - `src/stage/pure.rs` `card_parts_split_tooltip_and_progress` still uses the `claude.usage` / `Claude usage` fixture (test-only, but the issue asked for the matching `pure.rs` fixture to be updated too). Replace those with invented/neutral values (e.g. an invented artist and track, a generic notification), then this is good to merge.
Author
Owner

Hold reason, restated without an em dash (the earlier note cannot be edited through the API; the hold itself is unchanged).

Still on the branch:

  • src/main.rs set_media(...) for stage-*: title: "Nightcall", artist: "Kavinsky", which are the real artist and track BAR-52 called out, plus an OpenWindow titled "Nightcall / Kavinsky" in the same sample block.
  • src/main.rs surtitle path ("surtitle" view): app: "kitty", summary: "Claude is waiting for your input", the third "waiting for your input" notification named in BAR-52.
  • src/stage/pure.rs card_parts_split_tooltip_and_progress still uses the claude.usage / Claude usage fixture (test only, but the issue asked for the matching pure.rs fixture to be updated too).

Replace those with invented, neutral values (an invented artist and track, a generic notification), then this is good to merge.

Hold reason, restated without an em dash (the earlier note cannot be edited through the API; the hold itself is unchanged). Still on the branch: - `src/main.rs` `set_media(...)` for `stage-*`: `title: "Nightcall"`, `artist: "Kavinsky"`, which are the real artist and track BAR-52 called out, plus an `OpenWindow` titled `"Nightcall / Kavinsky"` in the same sample block. - `src/main.rs` surtitle path (`"surtitle"` view): `app: "kitty"`, `summary: "Claude is waiting for your input"`, the third "waiting for your input" notification named in BAR-52. - `src/stage/pure.rs` `card_parts_split_tooltip_and_progress` still uses the `claude.usage` / `Claude usage` fixture (test only, but the issue asked for the matching `pure.rs` fixture to be updated too). Replace those with invented, neutral values (an invented artist and track, a generic notification), then this is good to merge.
The capture event stream and the widget-card test still carried a real
track/artist pair and personal AI-tool strings. Replace them with neutral
sample data, add a regression test asserting the fixture builders
(main.rs capture setup and stage/mod.rs sample notifications) contain none
of the personal strings, and restore the status sentence's full format
coverage under the neutral network name.
Merge remote-tracking branch 'origin/main' into fix/bar-52-neutral-screenshot-fixtures
All checks were successful
check / check (push) Successful in 12m0s
985c49c36f
Breadway deleted branch fix/bar-52-neutral-screenshot-fixtures 2026-10-02 17:05:37 +08:00
Author
Owner

Reconciled and merged. The branch was one CI commit behind main (only rc-release.yml, no conflicts).

Added 651eaa4 before merging:

  • the capture event stream in main.rs still carried a real track/artist pair and a personal AI-tool string, and the widget-card test still used the personal AI-tool fixture, so the cleanup was incomplete;
  • replaced those with neutral sample data;
  • added screenshot_sources_carry_no_personal_fixture_strings, which fails if main.rs or stage/mod.rs ever carry one of the personal strings again;
  • restored the status sentence test's full format coverage (exact markup, low-battery tail, AC power plus escaping) under the neutral network name, which the original rewrite had dropped.

Verified the way check.yml does, with dependencies patched to bread and bread-ecosystem main via scripts/dev-deps.sh: cargo test 129 passed, cargo clippy --all-targets -- -D warnings clean.

Reconciled and merged. The branch was one CI commit behind main (only rc-release.yml, no conflicts). Added 651eaa4 before merging: - the capture event stream in main.rs still carried a real track/artist pair and a personal AI-tool string, and the widget-card test still used the personal AI-tool fixture, so the cleanup was incomplete; - replaced those with neutral sample data; - added screenshot_sources_carry_no_personal_fixture_strings, which fails if main.rs or stage/mod.rs ever carry one of the personal strings again; - restored the status sentence test's full format coverage (exact markup, low-battery tail, AC power plus escaping) under the neutral network name, which the original rewrite had dropped. Verified the way check.yml does, with dependencies patched to bread and bread-ecosystem main via scripts/dev-deps.sh: cargo test 129 passed, cargo clippy --all-targets -- -D warnings clean.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Breadway/breadbar!53
No description provided.