W7-C6: No order summary before signing — no estimated output, no fee estimate, no price impact, no min received #157
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#157
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Issue Summary
The Place Limit form shows no pre-submission order summary. After filling in Price, Amount, and Expiry, the trader has no visibility into estimated output, gas fee, trading fee, price impact, or minimum received before clicking Place Limit and triggering the wallet prompt.
Reproduction Steps
/trade, select any pair, connect walletEnvironment Details
localterra(local Docker)VITE_NETWORK=local npm run devatlocalhost:3000Wallet / Device Details
terra1...sl7cvvterra146...c9mjav)Severity / Impact
P2: polish . A trader cannot answer "what will I receive and what will it cost" before signing. On mainnet with real funds this is a meaningful trust gap — the first time a trader sees fee and output figures is inside the wallet prompt, not in the app. Found under W7-C6 (Slippage / price impact / min received — Display and Trader use dimensions).
cc: @PlasticDigits
mentioned in issue #116
mentioned in commit
60b1158ce5Update (GitLab #157 — pre-submit limit summary)
Implemented and merged to
main(commit onmainincludes merge offix/157-limit-order-pre-submit-summary).What changed
/trade+/limits: New Limit order summary before signing card above Place limit explains resting execution (filled over time by other traders), explicitly not taker slippage / pool price impact / min received.floor(effective_fee_bps / 2)from pairget_fee_config+ optional fee-discountget_discount, and min LUNC forincrease_allowance+place_limit_order(estimateLimitOrderPlaceSequenceUlunaFeesTotal).LimitOrderPriceFieldhelp text now mentions non-immediate execution vs market.docs/frontend.md§ Trade page — limit order pre-submit summary,docs/limit-orders.mddApp bullet,skills/AGENTS_FRONTEND_LIMIT_ORDER_PRICE.mdcross-links.Verification checklist for QA
/trade, pick a pair, Limit tab — confirm the summary card appears above Place limit with the three bullets + doc link./limitsstandalone page — same card withdata-testid="limits-page-pre-submit-summary".limitOrderFeeSummary.test.ts,LimitOrderPreSubmitSummary.test.tsx,TradePage.test.tsx.@totdking — please verify on your side (localterra + Keplr as in the issue) and confirm the trust gap for #157 is addressed; leaving the issue open per implementer request.
QA verification (agent, 2026-05-27)
Verified GitLab #157 on
main@3f6a2e5(merged viafix/157-limit-order-pre-submit-summary/60b1158). No additional code changes required.Verification checklist
/trade→ Limit tab —data-testid="trade-limit-pre-submit-summary"renders above Place limit with resting-order copy + three bullets +limit-orders.mdlink (browser MCP, wallet connected, EMBER/CORAL pair)./limits— same card withlimits-page-pre-submit-summaryafter pair selection (hidden until pair chosen because fee/ref needterra1pair address).trade-market-quote(Expected receive / Min. after slippage) when simulation runs (code + existing trade tests).limitOrderFeeSummary.test.ts,LimitOrderPreSubmitSummary.test.tsx,TradePage.test.tsx(incl. #157 case): 19/19 passed.Optional / docs
LimitOrderPriceFieldintro copy mentions non-immediate resting vs market.docs/frontend.md§ pre-submit summary,docs/limit-orders.md,skills/AGENTS_FRONTEND_LIMIT_ORDER_PRICE.mdpresent.Infra used
LocalTerra OK, host Postgres
:5432, indexer:3001, frontend:3000.Closing — trust gap addressed: traders see deviation, maker placement fee, and min network LUNC before wallet sign; resting limits correctly omit taker slippage / pool impact / min-received (market path retains those).
mentioned in issue #411
mentioned in issue #414