Skip to content

Show saved contracts in address/contract type dropdown#2130

Open
jeesunikim wants to merge 3 commits into
mainfrom
issue-2002
Open

Show saved contracts in address/contract type dropdown#2130
jeesunikim wants to merge 3 commits into
mainfrom
issue-2002

Conversation

@jeesunikim

@jeesunikim jeesunikim commented Jun 26, 2026

Copy link
Copy Markdown
Contributor
  • Renamed SignerSelector to AddressSelector to accommodate contract address
  • Added 'ScAddress' and 'contract' mode to AddressSelector. ScAddress displays both saved contract and public key. contract displays only saved contract address.
  • Fixed some icons showing in the navigation footer

Screenshots:

  • only contract id
only-contract only-contract-02
  • ScAddress
scaddress

@github-project-automation github-project-automation Bot moved this to Backlog (Not Ready) in DevX Jun 26, 2026
@stellar-jenkins-ci

Copy link
Copy Markdown

jeesunikim and others added 2 commits July 24, 2026 10:51
Add opt-in includeContracts prop to SignerSelector so the JsonSchema
address field lists saved contracts alongside saved keypairs. Contracts
only surface in public mode; signing/source-account contexts are
unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jeesunikim
jeesunikim marked this pull request as ready for review July 24, 2026 21:12
Copilot AI review requested due to automatic review settings July 24, 2026 21:12
@stellar-jenkins-ci

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds saved contracts to address and contract-ID selectors across smart-contract workflows.

Changes:

  • Replaces SignerSelector with multi-mode AddressSelector.
  • Adds saved-contract selection and expanded E2E coverage.
  • Updates selector/footer styling and generated network limits.

Reviewed changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tests/e2e/signerSelector.test.ts Removes superseded tests.
tests/e2e/addressSelector.test.ts Tests account and contract selection modes.
src/styles/globals.scss Positions renamed/new selector wrappers.
src/constants/networkLimits.ts Refreshes generated network values.
src/components/TransactionFlowFooter/styles.scss Raises sticky footer stacking order.
src/components/SourceAccountPicker.tsx Migrates to AddressSelector.
src/components/SmartContractJsonSchema/renderPrimitivesType.tsx Offers contracts for Soroban addresses.
src/components/SignerSelector/index.tsx Removes replaced selector.
src/components/FormElements/PubKeyPickerWithSignerSelector.tsx Migrates public-key selection.
src/components/FormElements/MultiPicker.tsx Migrates secret-key selection.
src/components/FormElements/FetchContractMethodPickerWithQuery.tsx Adds saved contract-ID selection.
src/components/ContractSelector/index.tsx Adds dropdown icon.
src/components/AddressSelector/styles.scss Renames and extends selector styling.
src/components/AddressSelector/index.tsx Implements multi-mode address selection.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/components/AddressSelector/index.tsx Outdated
Comment thread src/components/FormElements/FetchContractMethodPickerWithQuery.tsx Outdated
@jeesunikim jeesunikim changed the title [Smart Contract Page] Show saved contracts in Get address dropdown Show saved contracts in address/contract type dropdown Jul 24, 2026
@jeesunikim
jeesunikim requested a review from quietbits July 24, 2026 22:24
@stellar-jenkins-ci

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog (Not Ready)

Development

Successfully merging this pull request may close these issues.

contract address type to include both public and contract address

2 participants