64 Commits

Author SHA1 Message Date
zhixian
60d1595b8e feat: fix version display, add backup/restore before upgrade
- Fix Home showing "Update available" when versions are identical
  by adding frontend guard (latest !== installed)
- Add Rust backup commands: backup_before_upgrade copies openclaw dir
  (excluding sessions/archive) to .clawpal/backups/{timestamp}/,
  list_backups, restore_from_backup, delete_backup
- Home: add "Backup & Upgrade" button next to "View update" that
  creates a backup then opens the releases page
- Doctor: add "Backups" section listing available backups with
  Show, Restore (with confirmation), and Delete (with confirmation)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 13:49:18 +09:00
zhixian
7d47b7f859 feat: add confirmation dialogs, show-folder buttons, refresh feedback
- Doctor: wrap all memory/session clear buttons with AlertDialog
  confirmation, destructive red styling, and "Show" folder buttons
- Doctor: add loading state ("Refreshing...") to Refresh button
- Settings: wrap profile Delete buttons with AlertDialog confirmation
- Settings: fix provider combobox not using cached catalog — prevent
  empty CLI refresh result from overwriting cached data

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 12:51:10 +09:00
zhixian
af5b853016 feat: switch to shadcn light theme, improve Settings UX
- Replace custom dark navy color palette with shadcn default light theme
- Remove all custom --color-* CSS variables and use semantic classes
- Remove Chat Model section from Settings (no longer needed)
- Replace native <datalist> with Combobox (Popover + Command) for
  provider/model selection in Settings
- Add shadcn command, popover, and dialog components

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 02:22:28 +09:00
zhixian
ca6bf7536f feat: migrate Settings page to shadcn Card/Input/Select/Checkbox/Badge/Button
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 02:00:25 +09:00
zhixian
30b2b11a65 feat: migrate Home page to shadcn Card/Badge/Button — remove all inline styles
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 01:53:55 +09:00
zhixian
499e74aaf4 feat: migrate Doctor page to shadcn Card/Badge/Button
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 01:51:14 +09:00
zhixian
8a88bd0565 feat: migrate History/Recipes/Install pages to shadcn components
Replace inline styles and old CSS class references with Tailwind
utilities and shadcn Card, Badge, Button, Input, and Label components.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 01:48:09 +09:00
zhixian
eb6daad1e1 feat: migrate Chat to shadcn ScrollArea/Select/Input/Button
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 01:44:23 +09:00
zhixian
004460022a feat: migrate ParamForm to shadcn Input/Textarea/Label/Button
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 01:41:09 +09:00
zhixian
a26da28da3 feat: migrate DiffViewer + RecipeCard to shadcn components
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 01:38:38 +09:00
zhixian
f2eac4b5d6 feat: migrate App sidebar to shadcn Button + Separator + Tailwind
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 01:36:17 +09:00
zhixian
8d4bcd6009 chore: initialize shadcn/ui with Tailwind v4, add UI components
- Create components.json (new-york style, slate base, CSS variables)
- Add shadcn/ui components: button, card, input, select, badge,
  scroll-area, checkbox, separator, label, textarea
- Create src/lib/utils.ts with cn() helper (clsx + tailwind-merge)
- Replace old CSS classes in styles.css with Tailwind v4 @theme inline
  block containing shadcn color tokens and custom app theme colors
- Add radix-ui dependency (required by shadcn components)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 01:33:02 +09:00
zhixian
e7c6331110 chore: add Tailwind CSS v4 and shadcn utility dependencies
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 01:28:04 +09:00
zhixian
700c5e9ab2 feat: ClawPal v0.1 — Tauri desktop GUI for OpenClaw
4-page layout (Home, Recipes, Settings, Doctor) with sidebar nav
and integrated Chat panel powered by OpenClaw agent (--local).

- Home: status, agents overview, recommended recipes, recent activity
- Recipes: browse, preview diff, apply with params
- Settings: model profiles CRUD, chat model selection, provider catalog
- Doctor: diagnostics with auto-fix
- Chat: OpenClaw agent integration with session persistence,
  agent selector, read-only advisory context injection
- Progressive data loading to avoid UI blocking
- API key resolution from OpenClaw agent auth-profiles
- Model catalog from openclaw CLI with cache

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 01:16:38 +09:00