Skip to content

Carry the applied preset visual direction forward [preset-styles]#1349

Open
glorydavid03023 wants to merge 1 commit into
e35dev:mainfrom
glorydavid03023:draft/preset-style-handoff
Open

Carry the applied preset visual direction forward [preset-styles]#1349
glorydavid03023 wants to merge 1 commit into
e35dev:mainfrom
glorydavid03023:draft/preset-style-handoff

Conversation

@glorydavid03023

Copy link
Copy Markdown

When a creator applies a preset style on the picker, persist the chosen direction (preset + layout density, caption presence, visual moments, and branding) and surface it on the next visual-direction step (preset comparison), so the rest of the flow can compare against and adapt to what was applied instead of starting from scratch.

  • preview/preset-style-handoff.js: a pure save/load/query/summary helper that carries only a fully-applied direction, mirroring layout-handoff.js.
  • prototype/preset-style-picker.html: persists the direction on apply and clears it the moment the creator edits it before re-applying.
  • prototype/preset-comparison-preview.html: surfaces the carried direction.

Tests: preset-style-handoff.test.js (gate, normalization, query round-trip, storage, summary) and preset-comparison-style-handoff.test.js (carried direction renders on the next step). Full npm test passes.

DRAFT: staged off main for a future preset-styles active step. Not yet opened as a PR (off the current active step #1326).

When a creator applies a preset style on the picker, persist the chosen
direction (preset + layout density, caption presence, visual moments, and
branding) and surface it on the next visual-direction step (preset comparison),
so the rest of the flow can compare against and adapt to what was applied
instead of starting from scratch.

- preview/preset-style-handoff.js: a pure save/load/query/summary helper that
  carries only a fully-applied direction, mirroring layout-handoff.js.
- prototype/preset-style-picker.html: persists the direction on apply and clears
  it the moment the creator edits it before re-applying.
- prototype/preset-comparison-preview.html: surfaces the carried direction.

Tests: preset-style-handoff.test.js (gate, normalization, query round-trip,
storage, summary) and preset-comparison-style-handoff.test.js (carried direction
renders on the next step). Full `npm test` passes.

DRAFT: staged off main for a future preset-styles active step. Not yet opened as
a PR (off the current active step e35dev#1326).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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