mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 12:43:16 +00:00
* feat: persist git panel open/closed state to localStorage Make the agent thread git panel remember whether the user opened or closed it. The collapsed state now reads from and writes to localStorage, so it stays open or closed across thread navigation and page reloads instead of always re-collapsing per thread. Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com> * refactor: use plain function and named constants for git panel collapse Drop the unnecessary useCallback around setCollapsed and replace the "1"/"0" string literals with COLLAPSED_STATE_TRUE / COLLAPSED_STATE_FALSE constants. Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com> --------- 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";