Read current reserved cash in switch console#42
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b71060b8c2
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| [t("selectedAccount"), account.label], | ||
| [t("selectedMarket"), supportedDomainLabel(state.selected, account)], | ||
| [t("reservedCashPolicy"), reservedCashPolicyText(inputs)], | ||
| [t("reservedCashPolicy"), currentReservedCashPolicyText(state.selected, account)], |
There was a problem hiding this comment.
Show edited reserve policy in the confirmation
When a user edits the reserve cash fields, buildInputs() still sends those edited values, but this row now ignores inputs and always displays the currently read policy. In that scenario the confirmation panel and copied summary can show the old reserve policy while the dispatch request applies a different one, so users lose the last chance to verify the cash settings they are about to submit.
Useful? React with 👍 / 👎.
Summary
Tests