chore(ui): ux docs modal action button labels - #1925
Conversation
…tton labels Signed-off-by: Franz Heidl <franz.heidl@sap.com>
Signed-off-by: Franz Heidl <franz.heidl@sap.com>
|
|
There was a problem hiding this comment.
Pull request overview
Updates the UX writing guidelines and Storybook Modal examples to clarify/standardize confirming action button labels (per #1923), including title-casing “Register Now” in existing Modal stories.
Changes:
- Updated Modal form stories to use
confirmButtonLabel: "Register Now"(capitalized “Now”). - Expanded UX writing guidelines with a new section on confirming buttons in modals, with “Do” and fallback examples.
- Adjusted the “button label in copy” example formatting.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| packages/ui-components/src/components/Modal/Modal.stories.tsx | Aligns Modal confirm button label casing with the updated writing guidance/issue requirements. |
| docs/ux/ux-writing-content-design.md | Adds clearer guidance for Modal confirming button labels and supporting examples. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Summary
Clarify guideliens for labels on Modal confirming action buttons, update stories accordingly.
Related Issues
Closes #1923
Checklist
PR Manifesto
Review the PR Manifesto for best practises.