Files
simbarag/raggr-frontend
ryan 0ae87ee610 Add artifact panel with per-kind renderers
Right-hand pane (440px, lg and up) with tabs, collapse rail and a
library of the conversation's artifacts; a bottom sheet below lg.
useArtifactPanel holds tabs/active and caches fetched artifacts by id;
tabs reset on conversation change.

Artifacts from tool_end auto-open on windows >= 1280px (newest wins,
and a panel the user collapsed stays collapsed). ChatScreen exposes
openArtifact for the activity timeline's onOpenArtifact and adds an
Artifacts button to the chat header.

One renderer per v1 kind (YNAB summary, category budget, spending
report, transactions; Mealie recipe, meal plan, shopping lists;
Obsidian note; document search) using CSS bars only, plus a JSON
fallback for unknown kinds or renderer errors.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 18:37:33 -04:00
..
2026-01-31 17:13:27 -05:00
2026-01-31 17:13:27 -05:00
2026-01-31 17:13:27 -05:00
2026-01-31 17:13:27 -05:00
2026-01-31 17:13:27 -05:00
2026-01-31 17:13:27 -05:00
2026-01-31 17:13:27 -05:00
2026-01-31 17:13:27 -05:00
2026-01-31 17:13:27 -05:00

Rsbuild project

Setup

Install the dependencies:

pnpm install

Get started

Start the dev server, and the app will be available at http://localhost:3000.

pnpm dev

Build the app for production:

pnpm build

Preview the production build locally:

pnpm preview

Learn more

To learn more about Rsbuild, check out the following resources: