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

🔨 drop manager pattern for horizontal color legend #4369

Draft
wants to merge 17 commits into
base: refactor-vertical-color-legend
Choose a base branch
from

Conversation

sophiamersmann
Copy link
Member

@sophiamersmann sophiamersmann commented Jan 2, 2025

Drops the 'manager pattern' for horizontal colour legend components.

See #4368 for a more general discussion

Changes

This PR splits HorizontalNumericColorLegend and HorizontalCategoricalColorLegend each into a state class and a rendering component.

Copy link
Member Author

sophiamersmann commented Jan 2, 2025

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@owidbot
Copy link
Contributor

owidbot commented Jan 2, 2025

Quick links (staging server):

Site Dev Site Preview Admin Wizard Docs

Login: ssh owid@staging-site-refatcor-horizontal-color-le

SVG tester:

Number of differences (default views): 0 ✅
Number of differences (all views): 0 ✅

Edited: 2025-01-03 15:34:12 UTC
Execution time: 1.28 seconds

@sophiamersmann sophiamersmann force-pushed the refactor-vertical-color-legend branch from ae13f91 to eb5c12d Compare January 3, 2025 14:12
@sophiamersmann sophiamersmann force-pushed the refatcor-horizontal-color-legend branch from 90e51d2 to 1e443c5 Compare January 3, 2025 14:12
@sophiamersmann sophiamersmann force-pushed the refactor-vertical-color-legend branch from eb5c12d to f061537 Compare January 3, 2025 15:18
@sophiamersmann sophiamersmann force-pushed the refatcor-horizontal-color-legend branch from 78c8b85 to 3441962 Compare January 3, 2025 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants