VP-1 UI: Limit Ladder — "Place ladder" submit button is unstyled (plain btn-neo instead of primary CTA) #296
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#296
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?
Found during: OE-3 checklist testing — visual inspection of the limit ladder panel
Summary:
The "Place N-rung ladder" submit button renders with a plain, flat background using the
btn-neoclass instead of the orange primary CTA style (btn-primary btn-cta) used on all other order submission buttons. It does not visually communicate that it is the primary action on the panel.Reproduction steps
/limitsor/trade/:pairAddrand open the Limit Ladder sectionExpected behavior
The primary submit button on the ladder panel should use
btn-primary btn-cta(same as all other order submission buttons), producing the orange accent background that visually identifies it as the primary action.Actual behavior
Button renders with
btn-neo— plain background, no accent color, visually indistinguishable from secondary/neutral controls.Screenshot
Verified root cause (code read and confirmed)
LimitOrderLadderPanel.tsxline 292–294:Compare to the Place limit submit button in
TradeOrderTicket.tsxline 801–804:The ladder button is missing
btn-primary btn-cta— it usesbtn-neowhich is the neutral/secondary button style.Impact assessment
btn-neomay also have a different hover state thanbtn-primary).Environment
/limitsSeverity: P3: Nit — cosmetic only, does not affect ladder functionality.
Suggested GitLab label/title prefix:
UI:orfix(ladder):Related checklist items: OE-3, VP-1
cc: @PlasticDigits
mentioned in issue #291
Confirmed (frontend-only, visual — your layer).
LimitOrderLadderPanel.tsx:294setsclassName="btn-neo w-full"on the ladder submit (data-testid="ladder-place-submit"), vs the primary submit inTradeOrderTicket.tsx:804which usesbtn-primary btn-cta w-full. One-line fix to match. Real, cosmetic. @totdkingmentioned in merge request !757
Fixed in MR !757. One-liner: the "Place ladder" submit was btn-neo (neutral); switched it to the primary CTA class (btn-primary btn-cta) the other order-submit buttons use. Cosmetic only — visual check is yours. @PlasticDigits
mentioned in commit
6e42a5b6f6Verification — GitLab #296 (VP-1 UI: Limit Ladder submit button styling)
Verdict: All acceptance criteria PASS on
main(fix landed in !757, commit84dae10/ merge6e42a5b). No additional code changes required from this verification pass.Acceptance mapping
btn-primary btn-cta(notbtn-neo)LimitOrderLadderPanel.tsxsubmit:className="btn-primary btn-cta w-full !text-xs"; nobtn-neoon[data-testid="ladder-place-submit"]TradeOrderTicket.tsxlimit submit (btn-primary btn-cta w-full !text-xs)/limits(Simulated Wallet, pair selected, Ladder mode):btn-primary+btn-ctapresent; computedbackground-imagenon-none(accent gradient)glab mr view 39→ merged;git logshows #296 in84dae10cd frontend-dapp && npx tsc -b(clean)/limitsladder panel)make deploy-localenv; Playwright flow: connect → select pair → Ladder tab → assert submit stylingCommands / artifacts
glab issue view 296 -R PlasticDigits/cl8y-dex-terraclassic --commentsglab mr view 39 -R PlasticDigits/cl8y-dex-terraclassicrg 'ladder-place-submit|btn-primary btn-cta' frontend-dapp/src/components/trade/LimitOrderLadderPanel.tsxPLAYWRIGHT_SKIP_CHAIN=1 npx playwright test(ephemeral spec: connect wallet →/limits→ pair index 0 → Ladder → assert classes + computed background)Notes
.btn-primary.btn-ctarules inindex.css(same as other order submits).Closing as verified on
main.