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
867 stars 58 forks source link

fix: Report usage stats when isReactEnabled=false #2534

Closed mshabarov closed 3 weeks ago

mshabarov commented 3 weeks ago

When isReactEnabled=false the stats reporting method HillaStats.reportGenericHasFeatures wasn't invoked making Lit stats not reported at all.

Related-to https://github.com/vaadin/platform/issues/6488

sonarcloud[bot] commented 3 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

codecov[bot] commented 3 weeks ago

Codecov Report

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

Project coverage is 95.00%. Comparing base (26d520a) to head (a6aa66d).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2534 +/- ## ======================================= Coverage 95.00% 95.00% ======================================= Files 66 66 Lines 4546 4546 Branches 661 661 ======================================= Hits 4319 4319 Misses 182 182 Partials 45 45 ``` | [Flag](https://app.codecov.io/gh/vaadin/hilla/pull/2534/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/2534/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vaadin) | `95.00% <ø> (ø)` | | 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.

vaadin-bot commented 1 week ago

This ticket/PR has been released with Hilla 24.5.0.alpha3 and is also targeting the upcoming stable 24.5.0 version.