Skip to content

refactor(protocol-designer): remove enableLiquidClasses feature flag #18662

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

Merged
merged 3 commits into from
Jun 18, 2025

Conversation

ncdiehl11
Copy link
Collaborator

Overview

This PR removes enableLiquidClasses feature flag in PD.

Closes AUTH-1938

Test Plan and Hands on Testing

smoke test

Changelog

  • remove enableLiquidClasses ff from application and deprecate ff
  • fix tests

Review requests

--

Risk assessment

low

@ncdiehl11 ncdiehl11 self-assigned this Jun 17, 2025
@ncdiehl11 ncdiehl11 marked this pull request as ready for review June 17, 2025 20:47
@ncdiehl11 ncdiehl11 requested a review from a team as a code owner June 17, 2025 20:47
@ncdiehl11 ncdiehl11 requested review from koji and jerader and removed request for a team June 17, 2025 20:47
Copy link
Collaborator

@jerader jerader left a comment

Choose a reason for hiding this comment

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

wowza

Copy link

codecov bot commented Jun 17, 2025

Codecov Report

Attention: Patch coverage is 38.46154% with 16 lines in your changes missing coverage. Please review.

Project coverage is 23.83%. Comparing base (b19784c) to head (d50e9ef).
Report is 2 commits behind head on chore_release-pd-8.5.0.

Files with missing lines Patch % Lines
...ols/MoveLiquidTools/SecondStepsMoveLiquidTools.tsx 0.00% 6 Missing ⚠️
...StepForm/StepTools/MixTools/SecondStepMixTools.tsx 0.00% 5 Missing ⚠️
...esigner/ProtocolSteps/StepForm/StepFormToolbox.tsx 0.00% 3 Missing ⚠️
...onents/organisms/AssignLiquidsModal/LiquidCard.tsx 0.00% 1 Missing ⚠️
.../components/organisms/DefineLiquidsModal/index.tsx 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@                    Coverage Diff                     @@
##           chore_release-pd-8.5.0   #18662      +/-   ##
==========================================================
- Coverage                   24.12%   23.83%   -0.29%     
==========================================================
  Files                        3282     3282              
  Lines                      285236   285174      -62     
  Branches                    28696    28672      -24     
==========================================================
- Hits                        68808    67971     -837     
- Misses                     216403   217178     +775     
  Partials                       25       25              
Files with missing lines Coverage Δ
protocol-designer/src/feature-flags/reducers.ts 57.37% <ø> (-1.36%) ⬇️
protocol-designer/src/feature-flags/selectors.ts 88.33% <ø> (-0.73%) ⬇️
protocol-designer/src/feature-flags/types.ts 100.00% <100.00%> (ø)
...rotocolSteps/StepForm/StepTools/MixTools/index.tsx 18.83% <ø> (-9.88%) ⬇️
...Steps/StepForm/StepTools/MoveLiquidTools/index.tsx 69.56% <100.00%> (-5.14%) ⬇️
...r/src/pages/ProtocolOverview/LiquidDefinitions.tsx 79.74% <100.00%> (-0.98%) ⬇️
...onents/organisms/AssignLiquidsModal/LiquidCard.tsx 1.01% <0.00%> (+<0.01%) ⬆️
.../components/organisms/DefineLiquidsModal/index.tsx 2.96% <0.00%> (+0.01%) ⬆️
...esigner/ProtocolSteps/StepForm/StepFormToolbox.tsx 4.45% <0.00%> (+0.02%) ⬆️
...StepForm/StepTools/MixTools/SecondStepMixTools.tsx 0.77% <0.00%> (+0.01%) ⬆️
... and 1 more

... and 48 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@koji koji left a comment

Choose a reason for hiding this comment

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

🚀

@ncdiehl11 ncdiehl11 changed the title refactor(protoocl-designer): remove enableLiquidClasses feature flag refactor(protocol-designer): remove enableLiquidClasses feature flag Jun 18, 2025
@ncdiehl11 ncdiehl11 merged commit 768dac0 into chore_release-pd-8.5.0 Jun 18, 2025
14 checks passed
@ncdiehl11 ncdiehl11 deleted the pd_chore-remove-liquidclasses-ff branch June 18, 2025 14:25
@ncdiehl11
Copy link
Collaborator Author

Note that a few lines in the mixSettings Cypress test are commented. I will work with @alexjoel42 to reimplement them in a fast followup. (Issue stemming from finding all checkboxes on the same DOM element ID).

For assurance, I tested in practice with the same testing fixture used in mixSettings, and all works well.

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.

4 participants