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

fix: set page title to documentTitleSignal (#19329) (CP: 24.4) #19359

Merged
merged 1 commit into from
May 13, 2024

Conversation

vaadin-bot
Copy link
Collaborator

No description provided.

`UIInternals#setTitle(String)` sets page title via JavaScript to `document.title` and optionally `window.Vaadin.documentTitleSignal.value` where documentTitleSignal is expected but not limited to be Signal<string> type with a value field. This allows Hilla main layout, when used, being kept in sync with the Flow page title even when set via PageTitle annotation or HasDynamicTitle interface.

Fixes: #19200

Co-authored-by: Mikhail Shabarov <61410877+mshabarov@users.noreply.github.com>
Copy link

sonarcloud bot commented May 13, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

Test Results

1 100 files  ±0  1 100 suites  ±0   1h 19m 55s ⏱️ - 2m 56s
7 002 tests +1  6 953 ✅ +2  49 💤 ±0  0 ❌ ±0 
7 370 runs   - 8  7 309 ✅  - 7  61 💤 ±0  0 ❌ ±0 

Results for commit 5a137a6. ± Comparison against base commit 83ccb0c.

@mshabarov mshabarov merged commit d834d71 into 24.4 May 13, 2024
26 checks passed
@mshabarov mshabarov deleted the cherry-pick-19329-to-24.4-1715590485438 branch May 13, 2024 09:37
@vaadin-bot
Copy link
Collaborator Author

This ticket/PR has been released with Vaadin 24.4.0.beta3 and is also targeting the upcoming stable 24.4.0 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants