mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 10:23:14 +00:00
* fix: render submitted user message immediately in web chat Insert the optimistic prompt into local pendingPrompts state on submit so the user's message appears right away instead of only after the agent responds and thread.messages refetches. Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com> * fix: keep queued user prompts in submission order Offset each pending prompt's insertAt by the number of prompts already pending so multiple follow-ups queued before the backend echoes them don't collide at the same splice index and render out of order. Applies to both the local state and persisted sessionStorage paths. Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com> * fix: roll back optimistic message on send failure, single insertAt source --------- Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| assets | ||
| public | ||
| src | ||
| .cta.json | ||
| .gitignore | ||
| .prettierignore | ||
| .prettierrc | ||
| bun.lock | ||
| components.json | ||
| eslint.config.js | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| vercel.json | ||
| vite.config.ts | ||
| yarn.lock | ||
TanStack Start + shadcn/ui
This is a template for a new TanStack Start project with React, TypeScript, and shadcn/ui.
Adding components
To add components to your app, run the following command:
npx shadcn@latest add button
This will place the ui components in the components directory.
Using components
To use the components in your app, import them as follows:
import { Button } from "@/components/ui/button";