chore(apps,decisions): three-tab creator layouts, intercepts without loading files; propose 0050, note 0023 intercept loading

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Amiram_se 2026-10-09 19:34:24 +04:00
parent 7c0b86bfb8
commit c801ab6d8e
5 changed files with 20 additions and 4 deletions

View File

@ -8,7 +8,7 @@ import { i18n } from '../../../../i18n';
/**
* The creator's داشبورد on desktop (Creator Dashboard ۵.۱): the 640 column under the header, with
* the «داشبورد» heading, the two tabs «طرح‌های اشتراک» · «مالی», then the tab. Each tab is its own
* the «داشبورد» heading, the three tabs «طرح‌های اشتراک» · «پیش‌بینی‌ها» · «مالی», then the tab. Each tab is its own
* route with its own loading, so the heading and the tabs stay while one loads. Locked until
* registration step 5 is done (0016).
*/

View File

@ -7,8 +7,8 @@ import type { ReactNode } from 'react';
import { i18n } from '../../../../i18n';
/**
* The creator's داشبورد on mobile (Creator Dashboard ۱.۱): the tab bar «داشبورد», the two tabs
* «طرح‌های اشتراک» · «مالی», then the tab. Each tab is its own route with its own loading, so the
* The creator's داشبورد on mobile (Creator Dashboard ۱.۱, 0034): the tab bar «داشبورد», the three
* tabs «طرح‌های اشتراک» · «پیش‌بینی‌ها» · «مالی», then the tab. Each tab is its own route with its own loading, so the
* bar and the tabs stay while one loads. Locked until registration step 5 is done (0016).
*/
export default function CreatorDashboardLayout({

View File

@ -16,4 +16,4 @@ C4 ۷.۳ opens «پست جدید» on desktop as a 640px dialog over the page th
- A `[...catchAll]` slot page: rejected for the reason above.
## Consequences
Every new route the dialog can land on needs its own null `@modal` page. While the dialog is open `usePathname()` reads /compose/post, so the page under it sees that path.
Every new route the dialog can land on needs its own null `@modal` page. While the dialog is open `usePathname()` reads /compose/post, so the page under it sees that path. Intercept pages have no `loading.tsx`: a loading dialog would be a second Modal instance, so the dialog would open twice; each intercept renders its own dialog skeleton behind `AuthGuard` instead.

View File

@ -0,0 +1,15 @@
# 0050 Losing access while reading shows an info toast
Status: Proposed · Area: design · Date: 2026-10-09 · Decided by: agent
## Context
J05-4f: when a subscription ends while the investor reads a premium post, the board shows an info toast and the post locks in place. The skill says reads never toast; this one reports a change of access, not a failed read.
## Decision
`PostView` shows one info toast when a background standing re-read turns `accessEnded` on; the post relocks in place and nothing else toasts on reads.
## Alternatives
- An inline banner (the old `AccessEndedBanner`): the new board removed it.
## Consequences
This is the only toast a read can cause; review new ones against this record.

View File

@ -51,3 +51,4 @@
- 0047 architecture: The pwa lib keeps the browser's install offer; offer install at `/account/install` and once on bull's خانه with a 30-day snooze; the manifest starts at `/feed`.
- 0048 architecture: Composer routes check publish standing and render the locked state; every publish sends an Idempotency-Key stable while the body is unchanged.
- 0049 design: A page error keeps the page's own bar, derived from the path; route groups without a frame pass `standalone`.
- 0050 design: A post being read shows an info toast when the reader's access ends mid-read (J05-4f), the one toast not tied to the reader's own action.