The pwa lib lists every iPhone and iPad screen and builds a portrait and a
landscape startup image for each. Both apps' root metadata links the images
and adds apple-mobile-web-app-capable, which Next.js 16 no longer renders.
tools/generate-splash-screens.ts draws each app's icon on the manifest
background with next/og; run it again when the icon, the background or the
screen list changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Channel, post, checkout and analysts read their data in the browser; the
server reads no back-end data outside the landing (0070).
- Only the landing is indexable; every other page is noindex, the rules
pages through the terms layout (0071).
- Remove the landing's loading.tsx so all of it renders in the first flush.
- Remove the server caches and metadata helpers nothing uses any more.
- Update the page rendering docs; 0021, 0045 and 0055 are superseded.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- account: /account overview, investor profile form, notification settings (features/account, features/notification-settings)
- auth: board fixes, J03 creator profile edit with identity resubmission (features/verification), shared links section
- discovery: featured creators, creator search with recent searches, analysts directory, empty خانه, follow notice (features/discovery)
- channel and post: display names, follower counts, media frame, share, lightbox, desk back
- checkout: invite link codes kept per creator in the checkout draft, CodeInput field; subscriptions with amount paid and per-period history; transactions, following and notifications as list rows
- publishing: publish standing guard, idempotent publish, pinned composer footer, media strip
- predictions: composer with live quotes and server field codes, early close at the server quote, track record and own predictions (features/prediction)
- creator dashboard: three tabs, audience stats, invite-code card and capacity requests (features/referral), pricing, promotion, finance, ledger and شبا fixes
- errors: API error code reaches HttpError.code; page error keeps the page bar; session expiry keeps drafts; slow and offline states
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Checkout draft store survives the bank round trip; the app shell settles an
abandoned payment on return. Renewal sheet lists periods as tier options.
Notification bell opens the centre as a panel on desktop.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- `(landing)` route with `force-static` and `revalidate = 600`, its
loading and error pages, the hero image and LandingRedirect (0026, 0027).
- `force-dynamic` moves from the root layouts to each route group's
layout, so every other route still renders per request.
- The feed moves from `(main)/(home)` to `(main)/feed`, with bear's
empty `@modal` page.
- Auth frames' brand goes to the landing, onboarding's to خانه.
- Server bootstrap adds the server-only translations; server env reads
`NEXT_PHASE` for the build-time fallback.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Landing screens for `/`: header, hero, trust strip, markets tabs,
featured analysts carousel, track record, steps, plans, for analysts,
FAQ, closing call to action and footer, composed by LandingTemplate
with labels built from the server's translations.
- Featured analysts read (`/creators/featured`) with a cache and
`loadLandingPage`: 404 and 403 hide the section, other failures hide
it at build time and throw at a revalidation.
- `ROUTES.home` is now `/feed` and `ROUTES.landing` is `/`; `homeRoute`
and `useHomeHref` decide where a viewer belongs, used by the brands,
back, HomeGuard and LandingRedirect.
- Registration step 1 pre-selects the account type from `?role=` once,
then drops it from the address.
- The `landing` namespace is server-only (SERVER_RESOURCES).
- Landing metadata and FAQPage JSON-LD helpers.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add the landing's own display type (hero and section Typography variants),
a page container, an image shade and a 720px tablet breakpoint used only by
the landing's grids (0028). Add three domain-free molecules the landing
shares: SectionHeading, SampleFrame (real components with made-up data,
inert and labelled) and FactCard.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0020 server organisms take labels from the app, 0021 the channel feed starts from the server page, 0022 post rules live in the API, 0023 the desktop composer is an intercepted dialog (publishing over the own channel goes back), 0024 home is the investor's browser feed, 0025 the investor's dashboard is a tabbed section.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The creator's channel and post pages, the post composer, the investor's home feed and the following tab, in bull and bear.
- Channel and post page start from the server's read and re-read in the browser for the creator or a subscriber; locked posts show a gate only once the viewer and their standing are known, frozen for another creator.
- Composer: text and up to four images uploaded as picked, free or premium, a device draft that keeps stored file URLs, 15-minute edit of a published post; on desktop a dialog over the page through bear's @modal intercept.
- Owner actions: preview as a visitor or subscriber, edit, delete (dialogs locked while sending), close a prediction with the outcome the API recorded.
- Follow and unfollow run in tap order; the home feed dates posts from its last read; paged lists read past pages with nothing to show.
- Cache stays true after mutations: a delete re-reads the channel's offset pages, a new post resets them, and a post page delete navigates without a stale refresh.
- Navigation: bottom nav, mobile top bar, desktop header and publish menu; the preview chrome only for the creator's own post.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Island pieces for the channel, post page, composer and dashboard.
- New molecules: ActionMenu (links or actions in a popover), TabLinks (route tabs), SegmentedChoice.
- PostCard: owner footer, share menu on desktop, access note for an open premium post, frozen CTA reason on a locked one.
- LockedTeaser keeps the gate's place while the viewer is unknown; Modal gains sizes; Lightbox and skeleton presets for feeds and headers.
- Button: `pressableWhenFrozen`, a frozen look whose press still calls onClick (explain or check instead of a tooltip).
- TextInput counts UTF-16 units, as the native maxLength does, so the counter reaches the limit with it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sonner 2 doesn't pause on focus, so island's Toast runs the clock and sonner only places the toast. The index line now says focus pauses a toast and that callers never pass duration Infinity.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Toast follows the updated Lumina design system.
- ✕ «بستن اعلان» on every toast shown by showToast: 44px, its hit area reaching into the padding; the label comes from the Toaster's new `closeLabel`.
- Motion: in over 200ms (rise 16px, fade in), out over 160ms (drop 8px, fade out); reduced motion keeps a plain 120ms fade. The entrance plays once, even when the region moves into a dialog.
- Text wraps evenly; with an action, text past two lines moves the action under it, measured again when the width changes.
- Toast runs its own clock (sonner gets duration Infinity): it pauses while a pointer is on the region (hover, press, hold, swipe), while keyboard focus is inside it, and while the tab is hidden.
- One toast at a time: a new one replaces the old; while keyboard focus is in the region it waits until focus leaves. Every toast gets a fresh id, so `showToast` drops its `id` option.
- The Toaster slot overrides sonner's slide and stack with inline style instead of !important, and `toastOptions` is no longer a prop.
- market: AppShell passes `closeLabel`; showActionError no longer passes an id.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0015 own route for a view with its own frame, 0016 needsProfile and OnboardingGuard, 0017 a loading skeleton per step (proposed); 0018 the /api rewrite and 0019 toasts close by themselves (accepted).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>