fix(story): add buttons to container, not to the document by tbouffard · Pull Request #750 · maxGraph/maxGraph · GitHub
Skip to content

fix(story): add buttons to container, not to the document#750

Merged
tbouffard merged 1 commit into
mainfrom
fix/stories_add_buttons_to_container
Apr 5, 2025
Merged

fix(story): add buttons to container, not to the document#750
tbouffard merged 1 commit into
mainfrom
fix/stories_add_buttons_to_container

Conversation

@tbouffard

@tbouffard tbouffard commented Apr 4, 2025

Copy link
Copy Markdown
Member

Adding the buttons to the document persisted them when displaying another story.
This was incorrectly done in the HtmlLabel and ScrollBars stories.
Also improve the rendering of the buttons in these stories, and display a description of what they demonstrate.

Summary by CodeRabbit

  • Refactor
    • Improved the layout of interactive examples by grouping control buttons into dedicated sections.
    • Enhanced descriptive text within the demos to provide clearer context and a more consistent user experience.

Adding the buttons to the document persisted them when displaying another story.
This was incorrectly done in the HtmlLabel and ScrollBars stories.
Also improve the rendering of the buttons in these stories, and display a description of what they demonstrate.
@tbouffard tbouffard added the bug Something isn't working label Apr 4, 2025
@coderabbitai

coderabbitai Bot commented Apr 4, 2025

Copy link
Copy Markdown

@sonarqubecloud

sonarqubecloud Bot commented Apr 4, 2025

Copy link
Copy Markdown

@tbouffard tbouffard marked this pull request as ready for review April 4, 2025 19:13
@tbouffard tbouffard merged commit 8e5b511 into main Apr 5, 2025
@tbouffard tbouffard deleted the fix/stories_add_buttons_to_container branch April 5, 2025 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant