feat: interest agent page mockup - #6392
Draft
capJavert wants to merge 2 commits into
Draft
Conversation
Rebuild /agent/[id] as a product surface instead of the debug panel. - Always-available agent toolbar (fixed bottom): status, pause/resume, settings, freeform "tell the agent what to change" input, quick actions. - Feed / Posts / Activity / Debug tabs. Findings render through the real ArticleGrid cards with an agent footer (match score + rationale + "More like this" / "Not relevant" chips). - First card is a full-width featured-wide hero showing the agent's latest summary post. - Agent posts get inline rewrite chips and a freeform "tell it what to fix" field, with a faked background-rewrite state. - Settings modal replaces the debug controls: cadence, delivery hour, FOMO slider, output toggles, sources, pause/stop. - Self-contained fake data (mock.ts / mockFeed.ts) so ?demo=1 renders the whole flow with no API dependency. Findings query now pulls the full FeedPost fragment so real findings render as proper feed cards. Per-card feedback is local state only and does not trigger an agent run. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Replace the Feed and Posts tabs with a single Chat tab: an LLM-style message stream where the agent structures its output with real daily.dev content instead of plain prose. Activity and Debug stay. Message blocks (chat.ts): - text rendered through the shared Markdown component - posts ArticleList card, used for the single standout finding - picks /daily-style expandable rows for the tail - collection CollectionList with the multi-source avatar stack - feedLink chip (no target route yet) Post cards, picks rows and the collection card all open the real post modal — both modals take a post object directly, so this works off the mock posts with no API calls. The bottom toolbar is now the composer: sending appends a user bubble, shows a typing bubble, then resolves into a canned agent reply. AgentPickList replicates the /daily PickRow visual rather than importing it: PickRow is unexported and wired to useLogImpression with Origin.DailyPage plus daily's vote/bookmark mutations, so reusing it would log agent-page impressions into the daily feed's analytics. Removes AgentFeedSection, AgentFindingCard, AgentHeroCard and AgentPostSection, superseded by the chat stream. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
Rebuild /agent/[id] as a product surface instead of the debug panel.
Findings query now pulls the full FeedPost fragment so real findings render as proper feed cards. Per-card feedback is local state only and does not trigger an agent run.
Changes
Events
Did you introduce any new tracking events?
Experiment
Did you introduce any new experiments?
Manual Testing
Caution
Please make sure existing components are not breaking/affected by this PR
Preview domain
https://feat-interest-agent-mockup.preview.app.daily.dev