Skip to content

feat: interest agent page mockup - #6392

Draft
capJavert wants to merge 2 commits into
mainfrom
feat/interest-agent-mockup
Draft

feat: interest agent page mockup#6392
capJavert wants to merge 2 commits into
mainfrom
feat/interest-agent-mockup

Conversation

@capJavert

@capJavert capJavert commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

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.

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

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>
@capJavert capJavert self-assigned this Jul 29, 2026
@vercel

vercel Bot commented Jul 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
daily-webapp Ready Ready Preview Jul 30, 2026 3:23pm
storybook Building Building Preview Jul 30, 2026 3:23pm

Request Review

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant