Document Cyberminimalist Glass System and fix btn-neo styling #415
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#415
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?
Parent
#411 — Updated Gap Analysis (recommendations 5 + 6)
Current codebase
frontend-dapp/src/index.css(~1800 lines): glassmorphism (backdrop-filter), neo-brutalist borders (shell-panel,card-neo,btn-primary,tab-neo,input-neo), warm palette via CSS variables, dual theme viadata-theme.btn-neoused inLimitOrdersPage.tsx,PairNotFoundLinkNotice.tsx,InvalidPairLinkNotice.tsx— no.btn-neorule inindex.css..glassdefined inindex.csswith nosrc/references.QA_TEMPLATE.md§10 references neo-brutalist borders;docs/frontend.mddocuments engineering invariants but no design spec.Why needed
#411 requires docs aligned with the Cyberminimalist Glass System. Without an authoritative spec, new UI drifts (Tailwind
primaryblue vs warm tokens, missingbtn-neo). Broken button class is a visible defect on/limitsmode toggle.Constraints / guardrails
--ink,--line,--mintlegacy names) — avoid a parallel Tailwind-only system.btn-neofix: either define as muted secondary (inset border, no fill) or replace usages withbtn-muted— pick one approach repo-wide.btn-neofix (scope creep).Relevant files
frontend-dapp/src/index.cssfrontend-dapp/src/theme-dark.css,theme-light.cssfrontend-dapp/src/pages/LimitOrdersPage.tsxfrontend-dapp/src/components/trade/PairNotFoundLinkNotice.tsxfrontend-dapp/src/components/trade/InvalidPairLinkNotice.tsxfrontend-dapp/src/components/ui/Card.tsxQA_TEMPLATE.md§10docs/frontend.mdRecommended direction
docs/design-system.md— token table, primitives (shell-panel,shell-panel-strong,card-neo,btn-*,tab-neo,input-neo,label-neo), typography, spacing, when-to-use rules, icon/unicode guidelines (#411)..btn-neoinindex.css(secondary neo outline) or replace allbtn-neowithbtn-muted..glass(deprecate or wire to a component).docs/frontend.mdandQA_TEMPLATE.md§10.Acceptance criteria
docs/design-system.mdexists and names Cyberminimalist Glass System.*-neo/shell-panel*primitives.btn-neorenders correctly on/limitssingle/ladder toggle./limitsplace mode toggle — both states styled.shell-panel+card-neocompliance reference.Test plan
/limits,/trade(pair-not-found deep link).make lint-frontendLimitOrdersPagemode buttons.Attack / abuse test plan
--focus-ring) unchanged for a11y.Verification criteria
rg 'btn-neo' frontend-dapp/src— every usage has matching CSS or usesbtn-muted.docs/README.mdordocs/frontend.md.mentioned in issue #411
Do rename. We want to completely remove neo brutalist design patterns.
mentioned in commit
28bbc602fcmentioned in merge request !937
mentioned in commit
950a40388dVerification — #415 (PASS)
Verified on
main@6ffd7f44(implementation merged via950a4038/28bbc602).Acceptance criteria
docs/design-system.mdexists and names Cyberminimalist Glass System*-glass/shell-panel*primitivesshell-panel,shell-panel-strong,card-glass,btn-*,tab-glass*,input-glass,badge-glass, etc.; legacy*-neodocumented as removedbtn-neo/ place-mode toggle on/limitsrg 'btn-neo' frontend-dapp/src→ 0 hits; Playwright: Single=btn-primary, Ladder=btn-muted; toggling swaps classesPairNotFoundLinkNotice+InvalidPairLinkNoticeusebtn-muted; VitestPairNotFoundLinkNotice.test.tsx; Playwright/trade/terra1xxx…→ CTA classbtn-muted text-xs/limitsplace mode toggle (both states)/tmp/issue-415-screenshots/limits-single-mode.png,limits-ladder-mode.pngshell-panel+card-glass/tmp/issue-415-screenshots/swap-shell-panel.pngTest plan
-neoinsrc/rg -- '-neo' frontend-dapp/src→ OKdocs/frontend.md,docs/README.md,QA_TEMPLATE.md§10,skills/AGENTS_FRONTEND_DESIGN_SYSTEM.mdpython3 scripts/check_design_tokens.py→ OKmake lint-frontend→ 0 errors (5 pre-existing warnings)make test-frontend→ 184 files / 1084 tests passed (incl.#415class assertions onLimitOrdersPage+PairNotFoundLinkNotice)btn-primary/btn-mutedretain:focus-visiblewithvar(--focus-ring)inindex.cssComment follow-up (PlasticDigits)
Per issue comment: neo-brutalist patterns removed repo-wide (
*-neo→*-glass); design doc reflects deprecation. PASS — aligns with stated direction.Manual environment
Provisioned LocalTerra (
make setup-cloud-localterra --fresh --skip-build), frontend viamake dev, Playwright chromium for visual capture.mentioned in issue #489
mentioned in issue #659