Skip to content

docs(flow-builder): document custom element states - #889

Draft
LeraEroshevich wants to merge 3 commits into
mainfrom
feat/custom-element-states
Draft

LeraEroshevich wants to merge 3 commits into
mainfrom
feat/custom-element-states

Conversation

@LeraEroshevich

Copy link
Copy Markdown

Summary

Documents custom element states in the Flow & Paywall Builder. Keep this PR a draft until the feature is live in the dashboard.

  • builder-element-states: new Custom states section (supported elements and the tap action rule, add, edit, delete, name rules, the limit of 5 states, incomplete conditions, limitations for inputs, video and carousel). Custom states added to the states table, the intro, the state priority list (with an example), the input states, and the styling steps. The Disabled procedure now uses the Add state menu.
  • flow-common-issues: new Invalid State Condition row; the circular conditions row covers custom states.
  • element-states-in-conditions: custom state conditions can evaluate element states; the State dropdown lists custom states by name.
  • builder-styling: a pointer to custom states under other state-bearing elements.
  • Five new screenshots of the builder (demo flow) in src/assets/shared/img/custom-state-*.webp.
  • chore(context-mill): findings logged in the flow-design brief.

Checks

  • MDX lint, MDX parse, internal links (diff), unit tests, English build: pass.
  • Local preview of the four changed pages: the new sentences render.

🤖 Generated with Claude Code

LeraEroshevich and others added 3 commits November 20, 2026 11:35
Add a Custom states section to the element states article: supported
elements, the tap action rule, adding, editing and deleting a state,
name rules, the limit of 5 states, incomplete conditions, and the
limitations for inputs, video and carousel. Add custom states to the
state priority list, the common publish errors, conditions that read
element states, and the styling overview.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ts at 2x

- Delete: describe the dialog that lists the conditions that use the state.
- Tap action rule: the On Tap trigger needs at least one action; without
  states, the element shows no Add state control.
- State condition picker: the rules cover custom state conditions too.
- Move the video and carousel note into Limitations.
- Name icons and pickers among the elements without custom states.
- An is empty row with no variable also stops the publish.
- Retake the custom state screenshots and the Disabled menu shot at 2x.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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