Repository navigation
feat(storybook): Sources hub redesign - #6961
Draft
tomeredlich wants to merge 3 commits into
Draft
tomeredlich wants to merge 3 commits into
tomeredlich wants to merge 3 commits into
Conversation
Storybook only, no app code. "Sources/Redesign" holds two stories: - Overview: today's /sources, the redesigned hub on the squads directory's frame (Discover lists in Popular Squads' layout, a Top video row, the squad directory's 13 categories), and the reasoning. - All states: every width, account, theme and state, plus a flow map of where each press goes. The hub runs on real api.daily.dev data in device-width iframes, so each frame shows its true breakpoint. Phones use production's phone shell; the category tabs ride on the Sources segment in a sheet, as Happening now does. Search opens Spotlight scoped to a new Sources scope (mocked until the backend lands). Rows, tiles and search results open a source page, and presses that leave the sources pages name their destination in a toast. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Every Suggest button in the hub now opens production's NewSourceModal, drawn in the device frame since the real one needs the app's auth and react-modal mounts it outside the frame. Same copy and fields (TextField, Radio, Alert) and the same steps: Check link, pick a feed, Submit for review, then the thanks toast. The scrape is mocked from the link, so "already exists" (linking to the source's page), the fetch error with Contact, and the reputation lock are all reachable. The All states page gains a Suggest section at laptop and phone. A new "Suggest a source · 6 directions" story explores six redesigns of the popup on the same mocked flow: command bar, live preview, stepper, invitation, kinds and timeline, and an anchored popover. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The suggest popup stays as production's NewSourceModal. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The /sources page redesign as Storybook stories, under Sources/Redesign. Storybook only: every file is in
packages/storybook/stories/sources/, with no app, shared or config changes.The hub
All data is real, fetched from api.daily.dev into
raw.ts.🤖 Generated with Claude Code
Preview domain
https://claude-sources-page-redesign-bb8.preview.app.daily.dev