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

feat: extract and combine routes from fs routing and flow #2032

Merged
merged 7 commits into from
Feb 6, 2024

Conversation

krissvaa
Copy link
Contributor

@krissvaa krissvaa commented Feb 5, 2024

No description provided.

Copy link

codecov bot commented Feb 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ada6d6d) 95.30% compared to head (4bf72c5) 95.30%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2032   +/-   ##
=======================================
  Coverage   95.30%   95.30%           
=======================================
  Files          52       52           
  Lines        3495     3495           
  Branches      527      527           
=======================================
  Hits         3331     3331           
  Misses        129      129           
  Partials       35       35           
Flag Coverage Δ
unittests 95.30% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@krissvaa krissvaa marked this pull request as ready for review February 6, 2024 08:25
Lodin
Lodin previously approved these changes Feb 6, 2024
Copy link
Contributor

@Lodin Lodin left a comment

Choose a reason for hiding this comment

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

LGTM

Lodin
Lodin previously approved these changes Feb 6, 2024
Copy link
Contributor

@Lodin Lodin left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

sonarcloud bot commented Feb 6, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

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

See analysis details on SonarCloud

@Lodin Lodin merged commit e3cffe3 into main Feb 6, 2024
15 checks passed
@Lodin Lodin deleted the feat/java-file-router branch February 6, 2024 14:29
final String viewsJson = mapper
.writeValueAsString(availableViews);
response.getDocument().head().appendElement("script")
.text("window.Vaadin.views = " + viewsJson);
Copy link
Contributor

Choose a reason for hiding this comment

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

This could lead to problems with some JSON. Jsoup has the DataNode to avoid problems, but I don't know if Jackson provides something similar. If Jsoup is on the classpath, this is how we did it in the SSO Kit: https://github.com/vaadin/sso-kit/blob/2ec9ce0308a14cbb5ad40dd6b38414a4f0b0d6f7/sso-kit-starter-hilla/src/main/java/com/vaadin/hilla/sso/starter/BootstrapDataServiceListener.java#L43-L48

@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Hilla 24.4.0.alpha3 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

4 participants