16 lines
766 B
Markdown
16 lines
766 B
Markdown
# 0049 A page error keeps the page's own bar
|
|
|
|
Status: Proposed · Area: design · Date: 2026-10-09 · Decided by: agent
|
|
|
|
## Context
|
|
G-4: each bull page brings its own top bar, so a route error showed none: no back, no support.
|
|
|
|
## Decision
|
|
`PageError` derives the bar from the path (a tab root's name, back plus the parent's name, or back only) and takes `layout`. Desktop shows DeskBack, PageHeader and a card in the 640 column. Route groups whose layout draws no frame pass `standalone`. Retry blocks repeat taps; from the second failure on a path, «تماس با پشتیبانی» replaces «بازگشت به خانه».
|
|
|
|
## Alternatives
|
|
- One generic bar: loses the page's way back.
|
|
|
|
## Consequences
|
|
New route groups decide `standalone` in their `error.tsx`.
|