-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Update navigation method signatures #17407
Conversation
This change makes UI#navigate, BeforeEvent#rerouteTo and BeforeEvent#forwardTo methods more consistent without changing the existing API: - adds new methods in BeforeEvent that accepts route parameters. - adds new methods in BeforeEvent that accepts query parameters. - improves forwardTo and rerouteTo to accept route parameters being part of the location String (same way as UI#navigate does it already). Fixes: #14553
Sonatype Lift is retiringSonatype Lift will be retiring on Sep 12, 2023, with its analysis stopping on Aug 12, 2023. We understand that this news may come as a disappointment, and Sonatype is committed to helping you transition off it seamlessly. If you’d like to retain your data, please export your issues from the web console. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
This ticket/PR has been released with Vaadin 24.2.0.alpha7 and is also targeting the upcoming stable 24.2.0 version. |
* feat: Update navigation method signatures This change makes UI#navigate, BeforeEvent#rerouteTo and BeforeEvent#forwardTo methods more consistent without changing the existing API: - adds new methods in BeforeEvent that accepts route parameters. - adds new methods in BeforeEvent that accepts query parameters. - improves forwardTo and rerouteTo to accept route parameters being part of the location String (same way as UI#navigate does it already). Fixes: #14553 * Fixed javadoc * Added hasRedirectQueryParameters()
* feat: Update navigation method signatures This change makes UI#navigate, BeforeEvent#rerouteTo and BeforeEvent#forwardTo methods more consistent without changing the existing API: - adds new methods in BeforeEvent that accepts route parameters. - adds new methods in BeforeEvent that accepts query parameters. - improves forwardTo and rerouteTo to accept route parameters being part of the location String (same way as UI#navigate does it already). Fixes: #14553 * Fixed javadoc * Added hasRedirectQueryParameters()
* feat: Update navigation method signatures This change makes UI#navigate, BeforeEvent#rerouteTo and BeforeEvent#forwardTo methods more consistent without changing the existing API: - adds new methods in BeforeEvent that accepts route parameters. - adds new methods in BeforeEvent that accepts query parameters. - improves forwardTo and rerouteTo to accept route parameters being part of the location String (same way as UI#navigate does it already). Fixes: #14553 * Fixed javadoc * Added hasRedirectQueryParameters() Co-authored-by: Tomi Virtanen <[email protected]>
This change makes UI#navigate, BeforeEvent#rerouteTo and BeforeEvent#forwardTo methods more consistent without changing the existing API: - adds new methods in BeforeEvent that accepts route parameters. - adds new methods in BeforeEvent that accepts query parameters. - improves forwardTo and rerouteTo to accept route parameters being part of the location String (same way as UI#navigate does it already). Fixes: #14553
This change makes UI#navigate, BeforeEvent#rerouteTo and BeforeEvent#forwardTo methods more consistent without changing the existing API:
Fixes: #14553