Skip to content

[New TX Flow] Address copilot's suggestions#2014

Merged
jeesunikim merged 5 commits intofeature/new-tx-flowfrom
new-tx-flow-copilot
Apr 8, 2026
Merged

[New TX Flow] Address copilot's suggestions#2014
jeesunikim merged 5 commits intofeature/new-tx-flowfrom
new-tx-flow-copilot

Conversation

@jeesunikim
Copy link
Copy Markdown
Contributor

@jeesunikim jeesunikim commented Apr 7, 2026

I left a direct link to the comment in each updated file

@github-project-automation github-project-automation bot moved this to Backlog (Not Ready) in DevX Apr 7, 2026
/**
* Determines if the simulation result indicates a read-only transaction
* (no auth entries and no write footprint).
* (no write footprint).
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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


return (
<div
role="button"
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

const className = `Tab ${addlClassName ?? ""}`;

if (t.href) {
if (t.href && !t.isDisabled) {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

// directly in handleCustomSignAll.
useEffect(() => {
if (allSigned) {
if (allSigned && signMode === "individual") {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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


// Clear previous validated result so a failed re-validation can't leave
// stale validatedXdr enabling the next step.
setValidatedXdr(undefined);
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

// signing + assembly, or after auto-assembly when no auth entries are
// present) so the sign step receives a transaction with
// simulation-derived resources/fees.
return !simulate.simulationResultJson || !simulate.assembledXdr;
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@stellar-jenkins-ci
Copy link
Copy Markdown

@jeesunikim jeesunikim requested a review from quietbits April 7, 2026 23:30
@stellar-jenkins-ci
Copy link
Copy Markdown

@stellar-jenkins-ci
Copy link
Copy Markdown

variant="success"
variant={variant}
title="Your transaction envelope XDR is ready."
icon={<Icon.CheckCircle />}
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.

If the variant is dynamic, should the icon be dynamic as well?

@stellar-jenkins-ci
Copy link
Copy Markdown

@jeesunikim jeesunikim merged commit 93a683b into feature/new-tx-flow Apr 8, 2026
4 checks passed
@jeesunikim jeesunikim deleted the new-tx-flow-copilot branch April 8, 2026 18:04
@github-project-automation github-project-automation bot moved this from Backlog (Not Ready) to Done in DevX Apr 8, 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

Development

Successfully merging this pull request may close these issues.

2 participants