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(Condition builder): initial state getting reset on re-rendering #6555

Merged

Conversation

amal-k-joy
Copy link
Contributor

Closes #6457

Initial state issue fix.

What did you change?

Set the initial state to root state and clear initial state on manually deleting all conditions

How did you test and verify your work?

local

@amal-k-joy amal-k-joy requested a review from a team as a code owner December 9, 2024 08:38
@amal-k-joy amal-k-joy requested review from elycheea and AlexanderMelox and removed request for a team December 9, 2024 08:38
Copy link

netlify bot commented Dec 9, 2024

Deploy Preview for carbon-for-ibm-products ready!

Name Link
🔨 Latest commit 5c32463
🔍 Latest deploy log https://app.netlify.com/sites/carbon-for-ibm-products/deploys/6756aca37ab09400086823b2
😎 Deploy Preview https://deploy-preview-6555--carbon-for-ibm-products.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Dec 9, 2024

Deploy Preview for ibm-products-web-components ready!

Name Link
🔨 Latest commit 5c32463
🔍 Latest deploy log https://app.netlify.com/sites/ibm-products-web-components/deploys/6756aca31a0ec000082079b0
😎 Deploy Preview https://deploy-preview-6555--ibm-products-web-components.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Dec 9, 2024

Codecov Report

Attention: Patch coverage is 83.33333% with 1 line in your changes missing coverage. Please review.

Project coverage is 80.00%. Comparing base (6e58e9d) to head (5c32463).
Report is 9 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6555      +/-   ##
==========================================
+ Coverage   79.97%   80.00%   +0.02%     
==========================================
  Files         394      394              
  Lines       12894    12896       +2     
  Branches     4273     4273              
==========================================
+ Hits        10312    10317       +5     
+ Misses       2582     2579       -3     
Components Coverage Δ
ibm-products ∅ <ø> (∅)
ibm-products-web-components ∅ <ø> (∅)

@amal-k-joy amal-k-joy added this pull request to the merge queue Dec 11, 2024
Merged via the queue into carbon-design-system:main with commit ea0989a Dec 11, 2024
36 checks passed
@amal-k-joy amal-k-joy deleted the conditionBuilder6457 branch December 11, 2024 07:57
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.

Condition Builder: initial state getting reset on re-rendering
3 participants