diff --git a/apps/bear/src/app/(main)/dashboard/(creator)/layout.tsx b/apps/bear/src/app/(main)/dashboard/(creator)/layout.tsx index 0119bf4..3cb9da8 100644 --- a/apps/bear/src/app/(main)/dashboard/(creator)/layout.tsx +++ b/apps/bear/src/app/(main)/dashboard/(creator)/layout.tsx @@ -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). */ diff --git a/apps/bull/src/app/(main)/dashboard/(creator)/layout.tsx b/apps/bull/src/app/(main)/dashboard/(creator)/layout.tsx index aeb317f..7ddd577 100644 --- a/apps/bull/src/app/(main)/dashboard/(creator)/layout.tsx +++ b/apps/bull/src/app/(main)/dashboard/(creator)/layout.tsx @@ -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({ diff --git a/docs/decisions/0023-desktop-composer-is-an-intercepted-dialog.md b/docs/decisions/0023-desktop-composer-is-an-intercepted-dialog.md index 86a9fea..2dc8bfa 100644 --- a/docs/decisions/0023-desktop-composer-is-an-intercepted-dialog.md +++ b/docs/decisions/0023-desktop-composer-is-an-intercepted-dialog.md @@ -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. diff --git a/docs/decisions/0050-access-ended-toast.md b/docs/decisions/0050-access-ended-toast.md new file mode 100644 index 0000000..5737778 --- /dev/null +++ b/docs/decisions/0050-access-ended-toast.md @@ -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. diff --git a/docs/decisions/README.md b/docs/decisions/README.md index 2c41b20..65302d7 100644 --- a/docs/decisions/README.md +++ b/docs/decisions/README.md @@ -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.