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: handle child layouts #2853

Merged
merged 7 commits into from
Nov 15, 2024
Merged

fix: handle child layouts #2853

merged 7 commits into from
Nov 15, 2024

Conversation

caalador
Copy link
Contributor

@caalador caalador commented Oct 21, 2024

Handle child layouts depending
on if they have flowLayout true or false.
Fixes all layouts having flowLayout
if the parent layout or one child has
flowLayout true.

Fixes vaadin/flow#20261

Handle child layouts depending
on if they have flowLayout true or false.
Fixes all layouts having flowLayout
if the parent layout or one child has
flowLayout true.

Fixes #20261
@caalador caalador force-pushed the issues/20261-differing-layouts branch from a801123 to e2d86cf Compare October 22, 2024 11:10
Copy link

codecov bot commented Oct 22, 2024

Codecov Report

Attention: Patch coverage is 90.47619% with 2 lines in your changes missing coverage. Please review.

Project coverage is 92.63%. Comparing base (37ba04c) to head (df25372).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...e-router/src/runtime/RouterConfigurationBuilder.ts 90.47% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2853      +/-   ##
==========================================
- Coverage   92.65%   92.63%   -0.02%     
==========================================
  Files          83       83              
  Lines        2831     2839       +8     
  Branches      729      740      +11     
==========================================
+ Hits         2623     2630       +7     
- Misses        156      158       +2     
+ Partials       52       51       -1     
Flag Coverage Δ
unittests 92.63% <90.47%> (-0.02%) ⬇️

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.

@mshabarov
Copy link
Contributor

@platosha could you or someone else from Hilla team please review this pull request before we lost the memories what the topic was about 😄

Copy link

sonarcloud bot commented Nov 15, 2024

@platosha platosha enabled auto-merge (squash) November 15, 2024 15:04
@platosha platosha merged commit 0a6da91 into main Nov 15, 2024
13 of 15 checks passed
@platosha platosha deleted the issues/20261-differing-layouts branch November 15, 2024 15:13
vaadin-bot pushed a commit that referenced this pull request Nov 15, 2024
* fix: handle child layouts

Handle child layouts depending
on if they have flowLayout true or false.
Fixes all layouts having flowLayout
if the parent layout or one child has
flowLayout true.

Fixes #20261

* refactor(file-router): flowLayout subtree implementation cleanup

---------

Co-authored-by: Mikhail Shabarov <61410877+mshabarov@users.noreply.github.com>
Co-authored-by: Anton Platonov <platosha@gmail.com>
platosha added a commit that referenced this pull request Nov 15, 2024
fix: handle child layouts (#2853)

* fix: handle child layouts

Handle child layouts depending
on if they have flowLayout true or false.
Fixes all layouts having flowLayout
if the parent layout or one child has
flowLayout true.

Fixes #20261

* refactor(file-router): flowLayout subtree implementation cleanup

---------

Co-authored-by: caalador <mgrankvi@vaadin.com>
Co-authored-by: Mikhail Shabarov <61410877+mshabarov@users.noreply.github.com>
Co-authored-by: Anton Platonov <platosha@gmail.com>
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.

Parametrized hilla view not shown with automatic flow Layout and flowLayout=false
5 participants