Repository navigation
feat: add refresh flag to navigation event - #15324
Conversation
Add the isRefreshEvent to BeforeEnterEvent and AfterNavigationEvent to be make it possible to diustinguish if the event is for a refresh of a preserve on refresh view. Fixes #14999
| public class AfterNavigationEvent extends EventObject { | ||
|
|
||
| private final LocationChangeEvent event; | ||
| private final boolean refreshEvent; |
There was a problem hiding this comment.
Instead of adding another type, could / should the NavigationTrigge be extended with a refresh enum and used?
262d8a2 to
2c9ffe2
Compare
|
Kudos, SonarCloud Quality Gate passed!
|
Add the isRefreshEvent to BeforeEnterEvent and AfterNavigationEvent to be make it possible to distinguish if the event is for a refresh of a preserve on refresh view. Fixes #14999
Add the isRefreshEvent to BeforeEnterEvent and AfterNavigationEvent to be make it possible to distinguish if the event is for a refresh of a preserve on refresh view. Fixes #14999
|
Hi @caalador and @mcollovati, when i performed cherry-pick to this commit to 2.8, i have encountered the following issue. Can you take a look and pick it manually? |
Add the isRefreshEvent to BeforeEnterEvent and AfterNavigationEvent to be make it possible to distinguish if the event is for a refresh of a preserve on refresh view. Fixes #14999
Add the isRefreshEvent to BeforeEnterEvent and AfterNavigationEvent to be make it possible to distinguish if the event is for a refresh of a preserve on refresh view. Fixes #14999 Co-authored-by: caalador <mikael.grankvist@vaadin.com>
Add the isRefreshEvent to BeforeEnterEvent and AfterNavigationEvent to be make it possible to distinguish if the event is for a refresh of a preserve on refresh view. Fixes #14999 Co-authored-by: caalador <mikael.grankvist@vaadin.com>
|
This ticket/PR has been released with Vaadin 24.0.0.alpha6 and is also targeting the upcoming stable 24.0.0 version. |
Add the isRefreshEvent to BeforeEnterEvent and AfterNavigationEvent to be make it possible to distinguish if the event is for a refresh of a preserve on refresh view. Fixes #14999








Add the isRefreshEvent to BeforeEnterEvent
and AfterNavigationEvent to be make it possible
to diustinguish if the event is for a refresh of
a preserve on refresh view.
Fixes #14999