Skip to content

feat: add Webview.reload and WebviewWindow.reload#12818

Merged
lucasfernog merged 3 commits intotauri-apps:devfrom
Simon-Laux:reload-feature
Mar 2, 2025
Merged

feat: add Webview.reload and WebviewWindow.reload#12818
lucasfernog merged 3 commits intotauri-apps:devfrom
Simon-Laux:reload-feature

Conversation

@Simon-Laux
Copy link
Contributor

@Simon-Laux Simon-Laux commented Feb 26, 2025

For reloading pages from rust, without hacks such as injecting javascript (that may not work without js #12821 and are not really good practice, rather use the real native method on the WebView).

Example to try: https://github.com/Simon-Laux/tauri-experiments/tree/main/examples/reload_tauri

tested on: macOS, linux, windows and android (iOS was not tested but should also work because it is the same code as on macOS)


Progress:

other progress:

  • signed commits
  • .changes file

@FabianLars FabianLars added this to the 2.4 milestone Feb 26, 2025
lucasfernog
lucasfernog previously approved these changes Mar 2, 2025
@lucasfernog lucasfernog marked this pull request as ready for review March 2, 2025 17:56
@lucasfernog lucasfernog requested a review from a team as a code owner March 2, 2025 17:56
@github-project-automation github-project-automation bot moved this to 📬Proposal in Roadmap Mar 2, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Mar 2, 2025

Package Changes Through 099eb63

There are 3 changes which include @tauri-apps/api with minor, tauri with minor, tauri-runtime-wry with minor

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
@tauri-apps/api 2.3.0 2.4.0
tauri-runtime-wry 2.4.1 2.5.0
tauri 2.3.1 2.4.0

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@lucasfernog lucasfernog merged commit c698a6d into tauri-apps:dev Mar 2, 2025
20 checks passed
@github-project-automation github-project-automation bot moved this from 📬Proposal to 🔎 In audit in Roadmap Mar 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🔎 In audit

Development

Successfully merging this pull request may close these issues.

3 participants