feat: Code Connect Improvements#639
Open
maximo-macchi-cb wants to merge 11 commits intomasterfrom
Open
Conversation
Collaborator
🟡 Heimdall Review Status
🟡
|
| Code Owner | Status | Calculation | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| ui-systems-eng-team |
🟡
0/1
|
Denominator calculation
|
Contributor
cb-ekuersch
reviewed
Apr 28, 2026
| fetch-depth: 100 # TODO: This needs to include the merge-base | ||
| - uses: ./.github/actions/setup | ||
| - name: Check for Code Connect Files | ||
| run: yarn tsx ./tools/ci/validators/validateFigmaCodeConnect.ts |
Contributor
There was a problem hiding this comment.
@maximo-macchi-cb you will need to convert to a plain .mjs file - sync with @sverg-cb on your rebase as he just removed TS from this project
| @@ -0,0 +1,5 @@ | |||
| import React from 'react'; | |||
| imports: ["import { RollingNumber } from '@coinbase/cds-mobile/numbers/RollingNumber'"], | ||
| example: () => ( | ||
| <RollingNumber | ||
| font="display1" |
Contributor
There was a problem hiding this comment.
there's not figma component properties? 👀
| figma.connect(Stepper, FIGMA_URL, { | ||
| variant: { type: 'stepper', platform: '📱 mobile' }, | ||
| imports: ["import { Stepper } from '@coinbase/cds-mobile/stepper'"], | ||
| example: () => ( |
Contributor
There was a problem hiding this comment.
won't the steps be invisible? I believe in the stepper component in figma thre is a property that defines the number of steps
| }), | ||
| }, | ||
| example: ({ ...props }) => ( | ||
| <SelectChip {...props} onChange={() => {}} options={selectOptions} value="usd" /> |
Contributor
There was a problem hiding this comment.
same thing - are the options visible in the code preview window?
| @@ -0,0 +1,5 @@ | |||
| import React from 'react'; | |||
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?
This PR adds missing Code Connect mappings and adds a PR check to verify new components have Code Connect mappings. There are also some prop updates made which are a result of writing up the new Code Connect mappings.
Root cause (required for bugfixes)UI changesTesting
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