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

refactor: Removes the deprecated REMOVE_SLICE_LEVEL_LABEL_COLORS feature flag #26346

Conversation

michael-s-molina
Copy link
Member

@michael-s-molina michael-s-molina commented Dec 22, 2023

SUMMARY

As part of the 4.0 approved initiatives, this PR removes the REMOVE_SLICE_LEVEL_LABEL_COLORS feature flag. The feature flag was used to remove color-related attributes from a chart's form data to reduce payload when the chart was loaded as part of the dashboard initialization. These attributes are not loaded anymore making this optimization obsolete.

The previous value of the feature flag was False and now the feature is permanently removed.

TESTING INSTRUCTIONS

CI should be sufficient for merging this PR. We'll do a complete testing of 4.0 after all approved proposals are merged.

ADDITIONAL INFORMATIO

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@michael-s-molina michael-s-molina added risk:breaking-change Issues or PRs that will introduce breaking changes hold! On hold v4.0 Label added by the release manager to track PRs to be included in the 4.0 branch labels Dec 22, 2023
Copy link

codecov bot commented Dec 22, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (eff4422) 69.06% compared to head (10ed8a2) 69.09%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #26346      +/-   ##
==========================================
+ Coverage   69.06%   69.09%   +0.02%     
==========================================
  Files        1930     1934       +4     
  Lines       75309    75364      +55     
  Branches     8429     8417      -12     
==========================================
+ Hits        52013    52073      +60     
+ Misses      21149    21126      -23     
- Partials     2147     2165      +18     
Flag Coverage Δ
hive 53.59% <ø> (+<0.01%) ⬆️
mysql 77.89% <ø> (+<0.01%) ⬆️
postgres 77.99% <ø> (+<0.01%) ⬆️
presto 53.54% <ø> (+<0.01%) ⬆️
python 82.75% <ø> (+<0.01%) ⬆️
sqlite 77.58% <ø> (+<0.01%) ⬆️
unit 55.98% <ø> (+<0.01%) ⬆️

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.

@michael-s-molina michael-s-molina changed the title refactor: Removes the REMOVE_SLICE_LEVEL_LABEL_COLORS feature flag refactor: Removes the deprecated REMOVE_SLICE_LEVEL_LABEL_COLORS feature flag Dec 26, 2023
@michael-s-molina michael-s-molina requested a review from a team December 28, 2023 19:27
@michael-s-molina michael-s-molina marked this pull request as ready for review January 5, 2024 18:53
@michael-s-molina michael-s-molina removed the hold! On hold label Jan 16, 2024
@michael-s-molina michael-s-molina merged commit f8d2561 into apache:master Jan 17, 2024
33 checks passed
Muhammed-baban pushed a commit to intellica-tech/reporting-tool that referenced this pull request Jan 19, 2024
sfirke pushed a commit to sfirke/superset that referenced this pull request Mar 22, 2024
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 4.0.0 labels Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels risk:breaking-change Issues or PRs that will introduce breaking changes size/S v4.0 Label added by the release manager to track PRs to be included in the 4.0 branch 🚢 4.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants