Skip to content
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

Introduce ui.navigate.reload() #2659

Merged
merged 2 commits into from
Mar 4, 2024

Conversation

mbrulatout
Copy link
Contributor

Following the ui.navigate introduction, reload() seems to be a nice addition.
history.go(0) reloads the page.

While ui.refreshable could cover most use-cases, handling many of these in a complex page could be a huge hassle. This avoids using ui.navigate.to(<current_page>).

Following the ui.navigate introduction, reload() seems
to be a nice addition.
history.go(0) reloads the page.

While ui.refreshable could cover most use-cases, handling
many of these in a complex page could be a huge hassle.
This avoids using ui.navigate.to(<current_page>).
@falkoschindler falkoschindler added the enhancement New feature or request label Mar 4, 2024
@falkoschindler falkoschindler added this to the 1.4.18 milestone Mar 4, 2024
Copy link
Contributor

@falkoschindler falkoschindler left a comment

Choose a reason for hiding this comment

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

Thanks for the pull request, @mbrulatout!
This is a neat extension to the new navigate module. 🙂

@falkoschindler falkoschindler merged commit 2a0ac18 into zauberzeug:main Mar 4, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants