frontend: pre-sign summary card for pool provide/withdraw (#462) #990
No reviewers
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:implement
agent:implement
agent:open_issues
agent:ready
agent:research
agent:security_audit
agent:verify
architecture
backend
blocker:hybrid
blocker:launch
blocker:limit-orders
blocker:v2
block:log_only
block:security
bug
ci
contracts
correctness
deploy
dev
devops
docs
documentation
duplicate
e2e
enhancement
epic
feature
frontend
functional-completion
gas
good first issue
governance
help wanted
high-risk
hooks
hybrid
indexer
infra
infrastructure
integrators
invalid
launch-blocker
limit-orders
localnet
localterra
low priority
missing-implementation
needs-design
ops
performance
priority
high
priority
medium
product
qa
QA
question
ready
ready
research
scripts
security
security-hardening
smartcontracts
tech-debt
testing
ux
UX
v2
verification
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/cl8y-dex-terraclassic!990
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "qa/462-pool-presign-summary"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Pool provide and withdraw had no pre-sign summary — a user saw only token
amounts and a submit button, with chain/action/pair absent before the Keplr
dialog. Swaps already have this SEC-D11 anti-phishing anchor (SEC-I05 F-03).
Add
PoolPreSubmitSummary(action, pair, amount lines, chain label fromgetNetworkBadgeCopy().fullLabel) and render it in PoolPage before both theprovide button (gated on amountA && amountB) and the withdraw button (gated on
lpAmount).
Tests: new component suite (provide 2-amount + chain, withdraw LP + chain, env
badge fallback) 3/0; PoolPage suite green, tsc clean.
Source + unit verified; the before-the-wallet-dialog placement/UX is a laptop
browser-pass item.
assigned to @Brouie
mentioned in issue #462
Security review — MR !990
Commit reviewed:
75700b087c5969e649db1543d8c81f2a8d4ed5a4Scope:
PoolPreSubmitSummary.tsx,PoolPreSubmitSummary.test.tsx,PoolPage.tsx(pool provide/withdraw pre-sign summary card, #462 / SEC-I05 F-03)Outcome:
FINDINGS: 0medium+Summary: No medium, high, or critical vulnerabilities identified on this diff. The change adds a read-only pre-sign summary (action, pair, amounts, chain label) rendered immediately before the provide/withdraw buttons. All displayed values are React text nodes (no
dangerouslySetInnerHTML), chain label defaults to env-scopedgetNetworkBadgeCopy().fullLabel, and amount/pair fields reuse the same user input anduseTokenDisplayInfolabels already shown elsewhere onPoolPage— no new attacker-controlled sink or auth boundary. This is an anti-phishing UX hardening aligned with existing limit-order pre-submit patterns.Prior review threads: None on this MR; no inline security findings to reference.
Inline threads: None (zero medium+ findings).
mentioned in commit
a19bb72260mentioned in merge request !997