fix(frontend): debounce swap and market sim quote queries (#346) #855
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!855
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "local1/346-impl-quote-debounce"
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?
Fixes #346
changed the description
changed the description
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is ON. A cloud agent has been kicked off to fix the reported issue.
Reviewed by Cursor Bugbot for commit
b6fb88bce2. Configure here.Stale quote allows swap submit
Medium Severity
Sim quotes now key off debounced amounts with
keepPreviousData, but swap submit still uses the live input for pay size,minReceived, and indexer ops. Submit stays enabled while the typed amount differs from the debounced quote or while a refetch runs, so execution can use a quote for another amount.Additional Locations (2)
frontend-dapp/src/components/trade/TradeMarketOrderPanel.tsx#L437-L448frontend-dapp/src/components/trade/TradeMarketOrderPanel.tsx#L153-L277Reviewed by Cursor Bugbot for commit
b6fb88bce2. Configure here.added 1 commit
b44758c6- fix: block swap submit while debounced quote is staleCompare with previous version
changed the description
resolved all threads
mentioned in commit
338947b1c2