Skip to content

Commit 8c2532a

Browse files
authored
πŸ›‚ Migrate frontend to Shadcn (#2010)
* πŸ”§ Add Tailwind, update dependencies and config files * ✨ Introduce new Shadcn components and remove old ones * πŸ”§ Update dependencies * Add new components.json file * πŸ”₯ Remove Chakra UI files * πŸ”§ Add ThemeProvider component and integrate it into main * πŸ”₯ Remove common components * Update primary color * ✨ Add new components * ✨ Add AuthLayout component * πŸ”§ Add utility function cn * πŸ”§ Refactor devtools integration and update dependencies * ✨ Add Footer and Error components * ♻️ Update Footer * πŸ”₯ Remove utils * ♻️ Refactor error handling in useAuth * ♻️ Refactor useCustomToast * ♻️ Refactor Login component and form handling * ♻️ Refactor SignUp component and form handling * πŸ”§ Update dependencies * ♻️ Refactor RecoverPassword component and form handling * ♻️ Refactor ResetPassword and form handling * ♻️ Add error component to root route * ♻️ Refactor error handling in utils * ♻️ Update buttons * 🍱 Add icons and logos assets * ♻️ Refactor Sidebar component * 🎨 Format * ♻️ Refactor ThemeProvider * ♻️ Refactor Common components * πŸ”₯ Remove old Appearance component * ✨ Add Sidebar components * ♻️ Refactor DeleteAccount components * ♻️ Refactor ChangePassword component * ♻️ Refactor UserSettings * ✨ Add TanStack table * ♻️ Update SignUp * ✨ Add Select component * 🎨 Format * ♻️ Update Footer * ✨ Add useCopyToClipboard hook * 🎨 Tweak table styles * 🎨 Tweak styling * ♻️ Refactor AddUser and AddItem components * ♻️ Update DeleteConfirmation * βœ… Update tests * βœ… Update tests * βœ… Fix tests * ✨ Add DataTable for item and admin management * ♻️ Refactor DeleteUser and DeleteItem components * βœ… Fix tests * ♻️ Refactor EditUser and EditItem components * ♻️ Refactor UserInformation component * 🎨 Format * ♻️ Refactor pending components * 🎨 Format * βœ… Update tests * βœ… Update tests * βœ… Fix test * ♻️ Minor tweaks * ♻️ Update social media links
1 parent 61b7cd6 commit 8c2532a

File tree

104 files changed

+9125
-3521
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+9125
-3521
lines changed

β€Žfrontend/components.jsonβ€Ž

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"$schema": "https://ui.shadcn.com/schema.json",
3+
"style": "new-york",
4+
"rsc": false,
5+
"tsx": true,
6+
"tailwind": {
7+
"config": "",
8+
"css": "src/index.css",
9+
"baseColor": "neutral",
10+
"cssVariables": true,
11+
"prefix": ""
12+
},
13+
"iconLibrary": "lucide",
14+
"aliases": {
15+
"components": "@/components",
16+
"utils": "@/lib/utils",
17+
"ui": "@/components/ui",
18+
"lib": "@/lib",
19+
"hooks": "@/hooks"
20+
},
21+
"registries": {}
22+
}

0 commit comments

Comments
Β (0)