chore: deprecate visualization packages#567
Merged
cb-ekuersch merged 15 commits intocds-v9from Apr 1, 2026
Merged
Conversation
hcopp
reviewed
Mar 31, 2026
hcopp
reviewed
Mar 31, 2026
hcopp
reviewed
Mar 31, 2026
hcopp
reviewed
Mar 31, 2026
- Change @deprecationExpectedRemoval v9 → v10 in visualization bridge shims - Remove "warning" field from all 30 chart/sparkline metadata JSON files (import path already communicates the new location) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…cations Point source links to packages/web/src/visualizations and packages/mobile/src/visualizations instead of the deprecated visualization packages. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sparkline components are deprecated in favor of LineChart. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@coinbase/cds-web/visualizations/chart and @coinbase/cds-mobile/visualizations/chart are subpaths, not packages. Imports from these paths are already covered by the @coinbase/cds-web and @coinbase/cds-mobile package entries. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
These Code Connect files should not have been included when copying sparkline source into cds-web and cds-mobile. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@deprecated annotations on export * re-exports don't surface to consumers, so they have no effect and can be removed. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Restores the .figma.tsx files that were in web-visualization and mobile-visualization, placing them in their new home under packages/web and packages/mobile, with import strings updated to the new subpath locations. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Remove web-visualization and mobile-visualization entryPoints from docgen.config.js - Prefix chart and sparkline sourceFiles with visualizations/ to resolve from cds-web/cds-mobile - Update all :docgen/ import paths in chart/sparkline MDX files from web-visualization/* and mobile-visualization/* to web/visualizations/* and mobile/visualizations/* - Update live component imports in example MDX files to new subpath locations Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Remove web-visualization and mobile-visualization from tsconfig references in docs, storybook, test-expo, and vite-app - Remove visualization packages from storybook project.json inputs - Remove web-visualization from storybook visreg shouldRun check - Remove visualization packages from eslint.config.mjs react19 rules - Update figma.config.web/mobile.json to only include web/mobile src - Simplify prepareRoutes.ts glob to mobile only, clean up comments - Remove visualization package references from eslint-plugin-internal tests, update test fixture to use new subpath import and file path - Update templates to use new subpath imports and remove visualization deps - Sort dependencies in packages/mobile and packages/web package.json Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed? Why?
In an effort to simplify the CDS landscape, v9 will consolidate the visualization packages with the core web/mobile packages. This will reduce setup complexity and make package version numbers easier to track as the visualization packages maintain their own versions separate from the rest of CDS.
Closes:
Root cause (required for bugfixes)
UI changes
Testing
How has it been tested?
Testing instructions
Illustrations/Icons Checklist
Required if this PR changes files under
packages/illustrations/**orpackages/icons/**Change management
type=routine
risk=low
impact=sev5
automerge=false