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(sbb-radio-group, sbb-tab-group): avoid incorrect setup if component is invisible during init #2446

Merged
merged 2 commits into from
Feb 29, 2024

Conversation

jeripeierSBB
Copy link
Contributor

No description provided.

…ible check to avoid incorrect setup when component is invisible during initialization
@github-actions github-actions bot added the pr: peer review required A peer review is required for this pull request label Feb 29, 2024
@jeripeierSBB jeripeierSBB changed the title fix(sbb-checkbox-group, sbb-radio-group, sbb-tab-group): remove isVisible check to avoid incorrect setup when component is invisible during initialization fix(sbb-checkbox-group, sbb-radio-group, sbb-tab-group): avoid incorrect setup when component is invisible during initialization Feb 29, 2024
@jeripeierSBB jeripeierSBB changed the title fix(sbb-checkbox-group, sbb-radio-group, sbb-tab-group): avoid incorrect setup when component is invisible during initialization fix(sbb-radio-group, sbb-tab-group): avoid incorrect setup when component is invisible during initialization Feb 29, 2024
@jeripeierSBB jeripeierSBB changed the title fix(sbb-radio-group, sbb-tab-group): avoid incorrect setup when component is invisible during initialization fix(sbb-radio-group, sbb-tab-group): avoid incorrect setup if component is invisible during initialization Feb 29, 2024
@jeripeierSBB jeripeierSBB changed the title fix(sbb-radio-group, sbb-tab-group): avoid incorrect setup if component is invisible during initialization fix(sbb-radio-group, sbb-tab-group): avoid incorrect setup if component is invisible during init Feb 29, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (main@e700bee). Click here to learn what that means.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2446   +/-   ##
=======================================
  Coverage        ?   93.69%           
=======================================
  Files           ?      265           
  Lines           ?    23526           
  Branches        ?     2048           
=======================================
  Hits            ?    22042           
  Misses          ?     1451           
  Partials        ?       33           

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

Copy link
Contributor

@dauriamarco dauriamarco left a comment

Choose a reason for hiding this comment

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

Should the check be removed from the checkbox group as well? Otherwise it LGTM 👍

@github-actions github-actions bot added pr: peer review approved Pull request has been approved by a peer review and removed pr: peer review required A peer review is required for this pull request labels Feb 29, 2024
@jeripeierSBB
Copy link
Contributor Author

Should the check be removed from the checkbox group as well? Otherwise it LGTM 👍

In the checkbox it's a different case because there we only check it whenever a key was pressed so it should be still ok. There it's also not the group which has to manage it's children state.

Copy link
Contributor

@kyubisation kyubisation left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@github-actions github-actions bot added the pr: lead review approved Pull request has been approved by a lead review label Feb 29, 2024
@jeripeierSBB jeripeierSBB merged commit 1586137 into main Feb 29, 2024
38 of 40 checks passed
@jeripeierSBB jeripeierSBB deleted the fix-remove-visible-check branch February 29, 2024 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: lead review approved Pull request has been approved by a lead review pr: peer review approved Pull request has been approved by a peer review preview-available
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants