Skip to content

Replace public/secret key field with SignerSelector#1968

Merged
jeesunikim merged 2 commits intomainfrom
issue-1703-1789-1845
Mar 23, 2026
Merged

Replace public/secret key field with SignerSelector#1968
jeesunikim merged 2 commits intomainfrom
issue-1703-1789-1845

Conversation

@jeesunikim
Copy link
Copy Markdown
Contributor

Screenshot 2026-03-20 at 4 45 10 PM Screenshot 2026-03-20 at 4 41 11 PM

tackles #1703, #1789, #1845

Copilot AI review requested due to automatic review settings March 21, 2026 00:42
@github-project-automation github-project-automation Bot moved this to Backlog (Not Ready) in DevX Mar 21, 2026
@stellar-jenkins
Copy link
Copy Markdown

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates address/public-key inputs across the app to support selecting from saved keypairs and connected wallets via the existing SignerSelector, addressing issues around missing dropdowns and improving consistency.

Changes:

  • Add PubKeyPickerWithSignerSelector and swap it into transaction op “source_account” and Sign Transaction signature public key inputs.
  • Enhance smart contract JSON schema Address primitive inputs to include a SignerSelector dropdown.
  • Enable secret key selection dropdown in Sign Transaction’s secret key multipicker and add global positioning styles for selector wrappers.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/styles/globals.scss Adds .SignerSelectorWrapper positioning so selector dropdown can be absolutely positioned correctly.
src/components/formComponentTemplateTxnOps.tsx Uses PubKeyPickerWithSignerSelector for operation source_account fields.
src/components/SmartContractJsonSchema/renderPrimitivesType.tsx Wraps Address inputs with a SignerSelector-enabled input variant.
src/components/SignTransactionXdr/index.tsx Enables secret key dropdown in MultiPicker and swaps signature public-key inputs to the new selector-enabled picker.
src/components/FormElements/PubKeyPickerWithSignerSelector.tsx Introduces a reusable public key picker wrapped with SignerSelector.

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

Comment thread src/components/FormElements/PubKeyPickerWithSignerSelector.tsx
Comment thread src/components/SmartContractJsonSchema/renderPrimitivesType.tsx
Comment thread src/components/FormElements/PubKeyPickerWithSignerSelector.tsx Outdated
@stellar-jenkins
Copy link
Copy Markdown

1 similar comment
@stellar-jenkins
Copy link
Copy Markdown

Comment thread src/components/FormElements/PubKeyPickerWithSignerSelector.tsx Outdated
@jeesunikim jeesunikim force-pushed the issue-1703-1789-1845 branch from 5acf6d1 to f56d94f Compare March 23, 2026 18:06
@stellar-jenkins
Copy link
Copy Markdown

@jeesunikim jeesunikim merged commit f4a1e99 into main Mar 23, 2026
7 of 8 checks passed
@jeesunikim jeesunikim deleted the issue-1703-1789-1845 branch March 23, 2026 19:07
@github-project-automation github-project-automation Bot moved this from Backlog (Not Ready) to Done in DevX Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

4 participants