Commit Graph
34 Commits
Author SHA1 Message Date
c38b58618c refactor: shadcn UI (#496)
* feat: add shadcn/ui base dependencies

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* feat: configure shadcn/ui setup

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* feat: add cn utility for class merging

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* feat: configure tailwind with shadcn theme and CSS variables

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* feat: add shadcn button component

* feat: add shadcn input component

* feat: add shadcn label component

* feat: add shadcn card component

* feat: add shadcn badge component

* feat: add shadcn separator component

* chore: update dependencies for separator component

* feat: add shadcn dialog component

* feat: add shadcn sheet component (drawer replacement)

* feat: add shadcn dropdown-menu component

* feat: add shadcn tooltip component

* feat: add shadcn checkbox component

* feat: add shadcn textarea component

* feat: add shadcn avatar component

* feat: add shadcn sonner component (toast replacement)

* refactor: migrate Dropdown to shadcn dropdown-menu

* refactor: migrate Alert to shadcn alert-dialog

* refactor: migrate ShortcutCard to shadcn components

* refactor: migrate CreateShortcutDrawer to shadcn sheet

* fix: correct import path in alert-dialog

* feat: add framer-motion for animations

* feat: add animated card with framer motion

* feat: improve typography with consistent styles

* chore: migrate MUI Joy components to shadcn/ui (partial)

- Migrated core app components (main.tsx, App.tsx, Root.tsx)
- Replaced CssVarsProvider with next-themes ThemeProvider
- Replaced useColorScheme with useTheme from next-themes
- Migrated all page components using Button, Input, Divider, Tooltip, Separator
- Migrated component files using simple components
- Migrated setting sections with Select, Switch, Textarea
- Added shadcn/ui components: alert, switch, select, radio-group
- Build tested and passing

Remaining: Dialog/Modal, Drawer/Sheet, RadioGroup components in 10 files

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* refactor: complete Task 26 - migrate remaining components from MUI Joy to shadcn/ui

Migrated 11 remaining files using MUI Joy components to shadcn/ui:

Dialog migrations (6 files):
- AboutDialog.tsx: Modal/ModalDialog → Dialog
- ChangePasswordDialog.tsx: Modal/ModalDialog → Dialog
- CreateAccessTokenDialog.tsx: Modal/ModalDialog → Dialog with RadioGroup
- CreateUserDialog.tsx: Modal/ModalDialog → Dialog with RadioGroup
- EditUserinfoDialog.tsx: Modal/ModalDialog → Dialog
- GenerateQRCodeDialog.tsx: Modal/ModalDialog → Dialog

Drawer migrations (2 files):
- CreateCollectionDrawer.tsx: Drawer → Sheet
- CreateIdentityProviderDrawer.tsx: Drawer → Sheet

Page migrations (2 files):
- SubscriptionSetting.tsx: Alert, Button, Divider, Link, Textarea → shadcn equivalents
- WorkspaceSetting.tsx: Alert, Button, Divider → shadcn equivalents

Component migrations (1 file):
- SubscriptionFAQ.tsx: Accordion/AccordionGroup → shadcn Accordion

All components now use shadcn/ui. No MUI Joy imports remain.
Build verified successfully.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* chore: remove MUI Joy and react-hot-toast dependencies

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* docs: add UI components guide

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* feat: complete migration from MUI Joy to shadcn/ui

- Migrated all UI components to shadcn/ui
- Implemented clean & minimal design aesthetic
- Added Framer Motion for subtle animations
- Improved typography and spacing consistency
- Enhanced dark mode with proper color palette
- Replaced react-hot-toast with sonner
- Removed MUI Joy dependencies
- Updated all forms, modals, and interactive components
- Added component documentation

This migration improves maintainability, reduces bundle size, and provides a more modern, polished UI.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* chore: update

* chore: update

* chore: update

* refactor: complete shadcn/ui theme migration with semantic tokens

---------

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-authored-by: Johnny <yourselfhosted@gmail.com>
2025-12-18 18:06:00 +08:00
Johnny 36be3f2fbc chore: tweak plan name 2025-04-09 22:49:16 +08:00
johnnyjoy ff00a69025 docs: update privacy policy 2024-09-18 20:25:27 +08:00
Steven ba62afc034 docs: update extension guide 2024-09-17 23:40:32 +08:00
Steven 9b060cb7e7 chore: update assets 2024-09-01 22:44:26 +08:00
Steven baa3378ff7 chore: tweak subscription setting 2024-08-29 20:30:19 +08:00
Steven 643a6051b2 chore: update docs 2024-08-24 00:33:17 +08:00
Steven d3dcab3445 chore: tweak readme image 2024-08-22 23:26:19 +08:00
Steven 966e1d9ce3 chore: tweak description 2024-08-22 06:18:44 +08:00
Steven faa6fcf31c chore: tweak plans 2024-08-16 21:39:14 +08:00
Steven 63ebd6f8ea docs: add subscription 2024-08-14 22:34:02 +08:00
Steven 972b3a3106 chore: tweak sso docs 2024-08-14 22:24:11 +08:00
Steven 9876fb27a4 docs: add sso integration 2024-08-13 22:28:36 +08:00
Steven e63c8dde09 docs: update install with postgres as database 2024-08-13 22:21:24 +08:00
aminnairi ad54dd14c8 docs: add more informations about the administrator account for newcomers 2024-07-24 13:00:01 +08:00
johnnyjoy bb97cccb31 docs: add privacy policy 2024-07-07 20:17:50 +08:00
Steven 0602b2475a chore: tweak demo image 2024-05-20 23:56:31 +08:00
Steven 9e8eff134b chore: tweak demo image 2024-05-20 23:54:53 +08:00
Steven b6bcc3cda6 chore: tweak logo 2024-03-17 19:52:59 +08:00
Steven 5dab623793 chore: update logo 2024-01-21 18:42:47 +08:00
Steven 59ee192bf8 chore: add random name button 2024-01-10 10:50:02 +08:00
Steven 263812f98f chore: update package name 2023-11-25 10:40:16 +08:00
Steven ec581076ef chore: update logo 2023-11-21 21:22:39 +08:00
Steven cb98be1891 chore: update resource folder 2023-11-16 08:31:08 +08:00
Steven 30d9dd04bb chore: update collection docs 2023-11-12 16:54:30 +08:00
Steven bbe2bdffe3 docs: update getting started 2023-11-12 16:38:26 +08:00
Steven 8de658709c docs: add getting started placeholder 2023-11-12 12:29:00 +08:00
Steven 01417943fb chore: update readme about extension 2023-10-01 12:50:34 +08:00
Steven 126e4a62f8 chore: update install guide 2023-09-05 21:00:06 +08:00
monlor 78282dab4d feat: support docker compose deployment (#18) 2023-09-05 20:59:19 +08:00
Steven 6f26523a11 chore: update extension docs 2023-08-11 00:20:39 +08:00
Steven 876872f363 docs: add install browser extension 2023-08-08 23:21:15 +08:00
Steven fa504a88e5 chore: update docker username 2023-07-28 00:20:51 +08:00
Steven c30b6adb8e docs: add install guide 2023-07-23 23:42:36 +08:00