Skip to content

fix(core/application): make sure force breakpoints takes effect#2571

Open
nuke-ellington wants to merge 2 commits into
mainfrom
ix-4130-fix-force-breakpoints
Open

fix(core/application): make sure force breakpoints takes effect#2571
nuke-ellington wants to merge 2 commits into
mainfrom
ix-4130-fix-force-breakpoints

Conversation

@nuke-ellington
Copy link
Copy Markdown
Collaborator

@nuke-ellington nuke-ellington commented May 28, 2026

💡 What is the current behavior?

Changing the forced breakpoints in ix-application during runtime did not have any effect on the layout

GitHub Issue Number: IX-4130

🆕 What is the new behavior?

  • Setting the forceBreakpoint property will change the layout of ix-menu accordingly

🏁 Checklist

A pull request can only be merged if all of these conditions are met (where applicable):

  • 🦮 Accessibility (a11y) features were implemented
  • 🗺️ Internationalization (i18n) - no hard coded strings
  • 📲 Responsiveness - components handle viewport changes and content overflow gracefully
  • 📕 Add or update a Storybook story
  • 📄 Documentation was reviewed/updated siemens/ix-docs
  • 🧪 Unit tests were added/updated and pass (pnpm test)
  • 📸 Visual regression tests were added/updated and pass (Guide)
  • 🧐 Static code analysis passes (pnpm lint)
  • 🏗️ Successful compilation (pnpm build, changes pushed)

👨‍💻 Help & support

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 28, 2026

🦋 Changeset detected

Latest commit: 6005b97

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@siemens/ix Patch
@siemens/ix-angular Patch
@siemens/ix-docs Patch
@siemens/ix-react Patch
@siemens/ix-vue Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@nuke-ellington nuke-ellington marked this pull request as draft May 28, 2026 10:04
@netlify
Copy link
Copy Markdown

netlify Bot commented May 28, 2026

Deploy Preview for ix-storybook canceled.

Name Link
🔨 Latest commit 6005b97
🔍 Latest deploy log https://app.netlify.com/projects/ix-storybook/deploys/6a182318455c090008a847bd

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request ensures that the force-breakpoint property of ix-application takes effect dynamically if changed during runtime. It introduces a watcher for the property, refactors breakpoint assignment, and adds comprehensive Playwright component tests to verify initial rendering, runtime updates, and responsive detection re-enabling. However, a critical syntax error was identified in the HTML test app where optional chaining (?.) is used on the left-hand side of an assignment, which will cause a runtime parsing error.

Comment thread packages/html-test-app/src/preview-examples/menu-category.html Outdated
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@sonarqubecloud
Copy link
Copy Markdown

@nuke-ellington nuke-ellington added this to the 5.1.0 milestone May 28, 2026
@nuke-ellington nuke-ellington marked this pull request as ready for review May 28, 2026 11:22
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