Follow controls use on-dark and following instead of secondary, on the
channel and in دنبالشدهها. Discovery shows a plain label for a followed
analyst and no longer offers unfollow. Adds Vitest and Testing Library,
the repo's first test runner, and the pre-launch plan.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- next ~16.3.8 (catchError and retry for error boundaries are stable from 16.3)
- i18next, react-i18next, react-hook-form, @hookform/resolvers, zustand, immer,
@tanstack/react-query
- bull runs on port 3001 and bear on 3002 in dev and start
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
New components:
- Lightbox, NetworkStatus (+ useOnline), TierOption, SkeletonPreset
Rebuilt to the design system:
- PredictionCard: range bar, open KPIs, closed hero, price ladder, horizon progress, seal, locked veil
- CreatorStats: form curve, outcome split, KPI tiles, insights and streak; null renders nothing
- PostCard, LockedTeaser, MediaCarousel: owner action rules, expanded variant, viewer CTA, locked order
- SubscriptionCard: active/suspended/expired/refunded, compact density, amount and support rows
- Countdown, ResendCode, OtpInput: absolute end times, DS wording and thresholds, WebOTP
Fixes:
- Dialog: waits only for finite exit animations, keeps non-dismissible halts open, focuses the
panel, closes on scrim presses only, mounts the panel only while open
- Toaster: moves its region into the open dialog so toasts show and stay tappable over sheets
- Button: blocked submit, frozen cursor, loading links; TextInput focus border; Card, Banner,
ChoiceCard, StepProgress, ErrorState, Amount and Avatar details
- Tokens: muted status tracks, inverse controls, scrim chip, inverse and lightbox focus rings;
the spinner keeps turning under reduced motion
Adds sonner and svgo; island gets the icons target and the hooks subpath.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>