vaadin / hilla

Build better business applications, faster. No more juggling REST endpoints or deciphering GraphQL queries. Hilla seamlessly connects Spring Boot and React to accelerate application development.
https://hilla.dev
Apache License 2.0
927 stars 56 forks source link

fix: add useViewConfigTitle utility #2844

Closed tltv closed 1 month ago

tltv commented 1 month ago

Adds useViewConfigTitle function to read title from current route's ViewConfig or window.Vaadin.documentTitleSignal or given string.

RelatedTo: vaadin/flow#20207

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Please upload report for BASE (24.4@388f4b3). Learn more about missing BASE report.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## 24.4 #2844 +/- ## ======================================= Coverage ? 95.05% ======================================= Files ? 66 Lines ? 4573 Branches ? 655 ======================================= Hits ? 4347 Misses ? 181 Partials ? 45 ``` | [Flag](https://app.codecov.io/gh/vaadin/hilla/pull/2844/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vaadin) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/vaadin/hilla/pull/2844/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vaadin) | `95.05% <ø> (?)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vaadin#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud