W9-C5 Indexer unavailable banner contradicts itself — claims order book still uses chain but order book immediately shows unavailable #164
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#164
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
When the indexer goes down, a yellow banner appears stating "Indexer unavailable at http://127.0.0.1:3001 — chart and tape may be limited. Order book and tickets still use chain where applicable." However, the ASKS and BIDS panels immediately display "Book unavailable (indexer or LCD)." The banner explicitly claims the order book still functions via chain, but the UI contradicts this claim in the same view.
Reproduction Steps
Expected Behavior
The banner should accurately describe what is and is not available. If the order book is unavailable, the banner should say so — not claim it still works via chain.
Actual Behavior
Banner states: "Order book and tickets still use chain where applicable." Order book panels state: "Book unavailable (indexer or LCD)."
These are contradictory messages shown simultaneously in the same view.
Screenshot
Environment Details
localterra(local Docker)VITE_NETWORK=local npm run devWallet / Device Details
Severity / Impact
P2 Polish. No funds are at risk but the contradictory messaging undermines trader trust. A trader reading the banner expects the order book to still be functional — then sees it is not. This directly erodes confidence in the reliability of status messaging across the app. Found under W9-C5 (Empty and error rows — Display dimension).
cc: @PlasticDigits
mentioned in issue #116
mentioned in commit
bf5a32b24dFix shipped (main)
Problem: The Trade tab yellow banner claimed the order book and tickets still used the chain while ASKS/BIDS showed Book unavailable (indexer or LCD) — contradictory messaging (`TradePage.tsx`).
Change: Accurate outage copy is centralized in `frontend-dapp/src/utils/indexerTradeOutageCopy.ts`. The banner now states that chart, tape, order book depth, and most swap/limit ticket features need a reachable indexer, and that those surfaces stay unavailable or degraded until the indexer is back or `VITE_INDEXER_URL` is corrected. Added `data-testid="trade-indexer-outage-banner"` for tests.
Docs / agent playbooks: docs/frontend.md § Trade page — indexer outage banner (invariant: no false “chain fallback” claim). Crosslinks in `skills/AGENTS_FRONTEND_TRADE_PAGE_LAYOUT.md`, `AGENTS_FRONTEND_USER_ERRORS.md`, `AGENTS_LOCALNET_TRADING_SWARM.md`.
Verification checklist (please tick when done):
@totdking Could you verify on your LocalTerra setup and confirm the messaging matches what traders should expect when the indexer is down? Leaving the issue open until you sign off.
mentioned in commit
534769b384mentioned in issue #166
mentioned in issue #165
mentioned in commit
f4c8cbc656mentioned in commit
4f230d35cfVerification complete (agent)
Verified GitLab #164 on LocalTerra + host Postgres + indexer + frontend (:3000) + bot swarm.
Checklist
/tradewith pair: notrade-indexer-outage-banner(unit + infra check).npm run test:run—indexerTradeOutageCopy.test.ts,TradePage.test.tsxgreen.Fix on merge
Main already had the #164 banner rewrite; verification found the banner tail still rendered raw
[GitLab #166](url)markdown in the UI. Mergedfix/issue-164-verifyto strip markdown from retail copy while keeping #165 panel strings.Playwright smoke captured banner + book copy with indexer down; cursor-ide-browser MCP is not enabled in this workspace — used Playwright instead.
Closing as verified.
mentioned in issue #215
marked as related to #215
mentioned in issue #218
mentioned in issue #561
mentioned in issue #693