Skip to content

Conversation

@beeman
Copy link
Contributor

@beeman beeman commented Dec 6, 2025

Description

This adds some screens to have a reference on how to do multiple inputs with Solana address validation.

Screenshots / Video

image

Important

Add Solana address input components with validation and update i18n and UI icon map.

  • Features:
    • Add DevFeatureUiInputsSolanaAddress and DevFeatureUiInputsSolanaAddresses components for Solana address input with validation in dev-feature-ui-inputs-solana-address.tsx and dev-feature-ui-inputs-solana-addresses.tsx.
    • Integrate new components into DevFeatureUiInputs in dev-feature-ui-inputs.tsx and DevFeatureUi in dev-feature-ui.tsx.
  • i18n:
    • Add translations for actionAdd, actionRemove, and actionSave in en/ui.json and es/ui.json.
    • Update resources.d.ts to include new UI actions.
  • UI:
    • Add x icon to ui-icon-map.tsx for use in address removal functionality.
  • Dependencies:
    • Add @workspace/i18n to dependencies in package.json.

This description was created by Ellipsis for 79fef3c. You can customize this summary. It will automatically update as commits are pushed.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Dec 6, 2025

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
samui-wallet-web 79fef3c Commit Preview URL

Branch Preview URL
Dec 16 2025, 12:36 PM

Copy link

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

Caution

Changes requested ❌

Reviewed everything up to 3a6d831 in 2 minutes and 3 seconds. Click for details.
  • Reviewed 226 lines of code in 5 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. packages/dev/src/dev-feature-ui-inputs-solana-addresses.tsx:52
  • Draft comment:
    The remove button has a redundant disabled check (disabled={index === 0}) though it’s conditionally not rendered when index is 0.
  • Reason this comment was not posted:
    Confidence changes required: 33% <= threshold 50% None

Workflow ID: wflow_HFIGhuC0prZ4PhKE

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

))}
<div className="flex justify-end space-x-2">
<Button
disabled={fields.length > 9 && !form.formState.isValid}
Copy link

Choose a reason for hiding this comment

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

The disabled condition on the append button uses an AND (&&) which may allow adding more addresses when the form is valid. Likely, it should use OR (||) so the button disables if count > 9 regardless of form validity.

Suggested change
disabled={fields.length > 9 && !form.formState.isValid}
disabled={fields.length > 9 || !form.formState.isValid}

@beeman beeman force-pushed the beeman/multiple-addresses branch from 3a6d831 to 849957e Compare December 6, 2025 18:08
Copy link

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

Caution

Changes requested ❌

Reviewed 849957e in 2 minutes and 6 seconds. Click for details.
  • Reviewed 226 lines of code in 5 files
  • Skipped 0 files when reviewing.
  • Skipped posting 4 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. packages/dev/src/dev-feature-ui-inputs-solana-address.tsx:18
  • Draft comment:
    Good use of function declaration and ternary operator for conditional rendering.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None
2. packages/dev/src/dev-feature-ui-inputs.tsx:5
  • Draft comment:
    Component composition using function declaration is clear and well-structured.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None
3. packages/dev/src/dev-feature-ui.tsx:6
  • Draft comment:
    Main DevFeatureUi component correctly uses a function declaration and composes its child components.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None
4. packages/ui/src/components/ui-icon-map.tsx:27
  • Draft comment:
    New 'minus' icon mapping added correctly to the icon map.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None

Workflow ID: wflow_1BLrqxXbXgyZJ2gi

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

@beeman beeman force-pushed the beeman/multiple-addresses branch from 849957e to 665188a Compare December 6, 2025 18:13
Copy link

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

Important

Looks good to me! 👍

Reviewed 665188a in 1 minute and 6 seconds. Click for details.
  • Reviewed 220 lines of code in 5 files
  • Skipped 0 files when reviewing.
  • Skipped posting 6 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. packages/dev/src/dev-feature-ui-inputs-solana-address.tsx:18
  • Draft comment:
    Good use of a function declaration for the top-level React component.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None
2. packages/dev/src/dev-feature-ui-inputs-solana-addresses.tsx:51
  • Draft comment:
    The removal button is conditionally hidden for the first address (index === 0). Confirm this is the intended behavior to always keep at least one address visible.
  • Reason this comment was not posted:
    Confidence changes required: 33% <= threshold 50% None
3. packages/dev/src/dev-feature-ui-inputs-solana-addresses.tsx:66
  • Draft comment:
    The add button is disabled when fields.length > 9, effectively limiting the input count. Consider using a named constant (e.g., MAX_ADDRESSES) for clarity.
  • Reason this comment was not posted:
    Confidence changes required: 33% <= threshold 50% None
4. packages/dev/src/dev-feature-ui-inputs.tsx:5
  • Draft comment:
    Component composition is clear; using a function declaration for the top-level component is a good practice.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None
5. packages/dev/src/dev-feature-ui.tsx:6
  • Draft comment:
    Consistent use of function declaration for the top-level component. No issues found.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None
6. packages/ui/src/components/ui-icon-map.tsx:127
  • Draft comment:
    The 'minus' icon mapping is correctly added and consistent with the UiIconName union.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None

Workflow ID: wflow_R93MZtO1ENrJE16F

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

Base automatically changed from beeman/split-send-flow to main December 7, 2025 07:18
@beeman beeman force-pushed the beeman/multiple-addresses branch from 665188a to 79fef3c Compare December 16, 2025 12:35
Copy link

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

Important

Looks good to me! 👍

Reviewed 79fef3c in 1 minute and 14 seconds. Click for details.
  • Reviewed 289 lines of code in 10 files
  • Skipped 0 files when reviewing.
  • Skipped posting 8 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. packages/dev/package.json:7
  • Draft comment:
    Dependency on '@workspace/i18n' is added—ensure it’s aligned with the intended usage in your dev features.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None
2. packages/dev/src/dev-feature-ui-inputs-solana-address.tsx:18
  • Draft comment:
    Good use of a function declaration for the top-level component and proper ternary rendering.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None
3. packages/dev/src/dev-feature-ui-inputs-solana-addresses.tsx:54
  • Draft comment:
    Removal button is disabled for the first address (index === 0); verify this business logic is intentional.
  • Reason this comment was not posted:
    Confidence changes required: 33% <= threshold 50% None
4. packages/dev/src/dev-feature-ui-inputs.tsx:5
  • Draft comment:
    Component 'DevFeatureUiInputs' correctly groups the Solana address input components using a function declaration.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None
5. packages/dev/src/dev-feature-ui.tsx:6
  • Draft comment:
    Top-level component 'DevFeatureUi' is defined as a function declaration, which meets the project guidelines.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None
6. packages/i18n/locales/en/ui.json:2
  • Draft comment:
    New translation keys ('actionAdd', 'actionRemove', 'actionSave') are added; ensure consistency with other locales.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None
7. packages/i18n/locales/es/ui.json:2
  • Draft comment:
    New translation keys ('actionAdd', 'actionRemove', 'actionSave') are added; verify the translations match the intended meanings.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None
8. packages/ui/src/components/ui-icon-map.tsx:144
  • Draft comment:
    Mapping for the 'x' icon is correctly added. The top-level helper functions use proper function declarations.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None

Workflow ID: wflow_AjyBEvDdQxLAXVj5

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

@bundlemon
Copy link

bundlemon bot commented Dec 16, 2025

BundleMon

Files updated (9)
Status Path Size Limits
apps/desktop/dist/assets/index-(hash).js
252.2KB (+252.03KB +149176.3%) -
apps/web/dist/assets/form-(hash).js
12.31KB (+1.29KB +11.67%) -
apps/extension/.output/chrome-mv3/chunks/form
-(hash).js
12.32KB (+1.29KB +11.66%) -
apps/desktop/dist/assets/form-(hash).js
12.32KB (+1.29KB +11.65%) -
apps/extension/.output/chrome-mv3/chunks/clie
nt-(hash).js
255.03KB (+116B +0.04%) -
apps/extension/.output/chrome-mv3/chunks/inde
x.browser-(hash).js
814B (-3.97KB -83.32%) -
apps/web/dist/assets/index.browser-(hash).js
1.33KB (-4.59KB -77.46%) -
apps/desktop/dist/assets/index.browser-(hash)
.js
989B (-4.95KB -83.69%) -
apps/web/dist/assets/index-(hash).js
173B (-279.77KB -99.94%) -
Unchanged files (92)
Status Path Size Limits
apps/extension/.output/chrome-mv3/chunks/deri
ve-(hash).js
23.43KB -
apps/desktop/dist/assets/derive-(hash).js
23.43KB -
apps/web/dist/assets/derive-(hash).js
23.43KB -
apps/extension/.output/chrome-mv3/chunks/sett
ings-(hash).js
20.09KB -
apps/desktop/dist/assets/settings-(hash).js
20.09KB -
apps/web/dist/assets/settings-(hash).js
20.09KB -
apps/extension/.output/chrome-mv3/chunks/sele
ct-(hash).js
8.08KB -
apps/desktop/dist/assets/select-(hash).js
8.08KB -
apps/web/dist/assets/select-(hash).js
8.07KB -
apps/desktop/dist/assets/onboarding-(hash).js
5.26KB -
apps/extension/.output/chrome-mv3/chunks/onbo
arding-(hash).js
5.26KB -
apps/web/dist/assets/onboarding-(hash).js
5.26KB -
apps/extension/.output/chrome-mv3/chunks/crea
te-(hash).js
4.23KB -
apps/desktop/dist/assets/create-(hash).js
4.23KB -
apps/web/dist/assets/create-(hash).js
4.23KB -
apps/desktop/dist/assets/use-(hash).js
3.21KB -
apps/extension/.output/chrome-mv3/chunks/use-
(hash).js
3.21KB -
apps/web/dist/assets/use-(hash).js
3.21KB -
apps/extension/.output/chrome-mv3/chunks/cons
tants-(hash).js
3.16KB -
apps/web/dist/assets/constants-(hash).js
3.16KB -
apps/desktop/dist/assets/constants-(hash).js
3.15KB -
apps/desktop/dist/assets/vanity-(hash).js
2.68KB -
apps/web/dist/assets/vanity-(hash).js
2.68KB -
apps/desktop/dist/assets/portfolio-(hash).js
2.62KB -
apps/web/dist/assets/portfolio-(hash).js
2.62KB -
apps/extension/.output/chrome-mv3/chunks/port
folio-(hash).js
2.62KB -
apps/extension/.output/chrome-mv3/chunks/togg
le-(hash).js
2.46KB -
apps/desktop/dist/assets/toggle-(hash).js
2.45KB -
apps/web/dist/assets/toggle-(hash).js
2.45KB -
apps/extension/.output/chrome-mv3/chunks/drop
down-(hash).js
2.16KB -
apps/desktop/dist/assets/dropdown-(hash).js
2.15KB -
apps/web/dist/assets/dropdown-(hash).js
2.15KB -
apps/desktop/dist/assets/field-(hash).js
1.93KB -
apps/extension/.output/chrome-mv3/chunks/fiel
d-(hash).js
1.93KB -
apps/web/dist/assets/field-(hash).js
1.93KB -
apps/extension/.output/chrome-mv3/chunks/chec
kbox-(hash).js
1.89KB -
apps/desktop/dist/assets/checkbox-(hash).js
1.88KB -
apps/web/dist/assets/checkbox-(hash).js
1.88KB -
apps/desktop/dist/assets/request-(hash).js
1.87KB -
apps/extension/.output/chrome-mv3/chunks/requ
est-(hash).js
1.87KB -
apps/web/dist/assets/request-(hash).js
1.79KB -
apps/desktop/dist/assets/item-(hash).js
1.22KB -
apps/extension/.output/chrome-mv3/chunks/item
-(hash).js
1.22KB -
apps/web/dist/assets/item-(hash).js
1.21KB -
apps/extension/.output/chrome-mv3/chunks/tool
s-(hash).js
1.17KB -
apps/desktop/dist/assets/tools-(hash).js
1.16KB -
apps/web/dist/assets/tools-(hash).js
1.15KB -
apps/web/dist/assets/explorer-(hash).js
1.14KB -
apps/desktop/dist/assets/explorer-(hash).js
1.14KB -
apps/extension/.output/chrome-mv3/chunks/expl
orer-(hash).js
1.14KB -
apps/desktop/dist/assets/zod-(hash).js
763B -
apps/extension/.output/chrome-mv3/chunks/zod-
(hash).js
761B -
apps/web/dist/assets/zod-(hash).js
761B -
apps/extension/.output/chrome-mv3/chunks/badg
e-(hash).js
737B -
apps/desktop/dist/assets/badge-(hash).js
736B -
apps/web/dist/assets/badge-(hash).js
730B -
apps/extension/.output/chrome-mv3/chunks/stan
dard-(hash).js
651B -
apps/desktop/dist/assets/standard-(hash).js
649B -
apps/web/dist/assets/standard-(hash).js
649B -
apps/desktop/dist/assets/button-(hash).js
581B -
apps/extension/.output/chrome-mv3/chunks/butt
on-(hash).js
581B -
apps/web/dist/assets/button-(hash).js
579B -
apps/desktop/dist/assets/input-(hash).js
577B -
apps/extension/.output/chrome-mv3/chunks/inpu
t-(hash).js
577B -
apps/web/dist/assets/input-(hash).js
575B -
apps/desktop/dist/assets/ui-(hash).js
527B -
apps/extension/.output/chrome-mv3/chunks/ui-(
hash).js
527B -
apps/web/dist/assets/ui-(hash).js
525B -
apps/desktop/dist/assets/label-(hash).js
516B -
apps/extension/.output/chrome-mv3/chunks/labe
l-(hash).js
515B -
apps/web/dist/assets/label-(hash).js
515B -
apps/desktop/dist/assets/get-(hash).js
492B -
apps/extension/.output/chrome-mv3/chunks/get-
(hash).js
492B -
apps/web/dist/assets/get-(hash).js
492B -
apps/extension/.output/chrome-mv3/chunks/conv
ert-(hash).js
425B -
apps/web/dist/assets/convert-(hash).js
423B -
apps/desktop/dist/assets/convert-(hash).js
422B -
apps/desktop/dist/assets/sol-(hash).js
419B -
apps/extension/.output/chrome-mv3/chunks/sol-
(hash).js
419B -
apps/web/dist/assets/sol-(hash).js
415B -
apps/desktop/dist/assets/dev-(hash).js
278B -
apps/web/dist/assets/dev-(hash).js
276B -
apps/extension/.output/chrome-mv3/chunks/dev-
(hash).js
275B -
apps/extension/.output/chrome-mv3/chunks/side
panel-(hash).js
204B -
apps/extension/.output/chrome-mv3/chunks/popu
p-(hash).js
202B -
apps/extension/.output/chrome-mv3/chunks/inde
x-(hash).js
174B -
apps/desktop/dist/assets/ellipsify-(hash).js
145B -
apps/extension/.output/chrome-mv3/chunks/elli
psify-(hash).js
145B -
apps/web/dist/assets/ellipsify-(hash).js
145B -
apps/desktop/dist/assets/network-(hash).js
121B -
apps/extension/.output/chrome-mv3/chunks/netw
ork-(hash).js
121B -
apps/web/dist/assets/network-(hash).js
121B -

Total files change -37.25KB -4.33%

Groups updated (3)
Status Path Size Limits
apps/extension/.output/chrome-mv3/**/*-
.js
436.94KB (+3.53KB +0.81%) -
apps/desktop/dist/**/*-.js
438.81KB (+3.52KB +0.81%) -
apps/web/dist/**/*-.js
464.96KB (+3.47KB +0.75%) -

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

@beeman beeman requested a review from tobeycodes December 16, 2025 12:38
@beeman beeman enabled auto-merge (rebase) December 16, 2025 12:49
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