Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: enact-on/next-shadcn-dashboard-starter
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: Kiranism/next-shadcn-dashboard-starter
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 11 commits
  • 105 files changed
  • 2 contributors

Commits on Feb 12, 2025

  1. lint

    Kiranism committed Feb 12, 2025
    Copy the full SHA
    25d5520 View commit details

Commits on Feb 27, 2025

  1. lint

    Kiranism committed Feb 27, 2025
    Copy the full SHA
    ca5316a View commit details
  2. Copy the full SHA
    4832630 View commit details

Commits on Mar 10, 2025

  1. Copy the full SHA
    9aa9d41 View commit details
  2. Merge pull request Kiranism#87 from Kiranism/tailwind

    Tailwind V4
    Kiranism authored Mar 10, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    a9337ba View commit details
  3. chore: cleanup

    Kiranism committed Mar 10, 2025
    Copy the full SHA
    fcecbf8 View commit details

Commits on Mar 27, 2025

  1. feat: ui refactor

    Kiranism committed Mar 27, 2025
    Copy the full SHA
    375448a View commit details
  2. feat: ui refactor

    Kiranism committed Mar 27, 2025
    Copy the full SHA
    25161f3 View commit details
  3. feat: ui refactor

    Kiranism committed Mar 27, 2025
    Copy the full SHA
    b126c70 View commit details
  4. feat: ui refactor

    Kiranism committed Mar 27, 2025
    Copy the full SHA
    88057df View commit details
  5. feat: ui refactor

    Kiranism committed Mar 27, 2025
    Copy the full SHA
    71f2cb4 View commit details
Showing with 6,744 additions and 4,607 deletions.
  1. +4 −3 .eslintrc.json
  2. +10 −8 env.example.txt
  3. +43 −31 package.json
  4. +1,746 −1,436 pnpm-lock.yaml
  5. +1 −2 postcss.config.js
  6. +4 −4 src/app/dashboard/overview/@area_stats/error.tsx
  7. +3 −3 src/app/dashboard/overview/@bar_stats/error.tsx
  8. +4 −4 src/app/dashboard/overview/@pie_stats/error.tsx
  9. +4 −4 src/app/dashboard/overview/@sales/error.tsx
  10. +0 −1 src/app/dashboard/overview/@sales/loading.tsx
  11. +2 −2 src/app/dashboard/overview/error.tsx
  12. +92 −91 src/app/dashboard/overview/layout.tsx
  13. +2 −2 src/app/dashboard/product/page.tsx
  14. +108 −112 src/app/globals.css
  15. +44 −4 src/app/layout.tsx
  16. +2 −2 src/app/not-found.tsx
  17. +105 −0 src/app/theme.css
  18. +67 −0 src/components/active-theme.tsx
  19. +2 −2 src/components/breadcrumbs.tsx
  20. +16 −15 src/components/file-uploader.tsx
  21. +65 −81 src/components/icons.tsx
  22. +8 −7 src/components/kbar/index.tsx
  23. +1 −1 src/components/kbar/render-result.tsx
  24. +6 −4 src/components/kbar/result-item.tsx
  25. +20 −30 src/components/layout/ThemeToggle/theme-toggle.tsx
  26. +40 −25 src/components/layout/app-sidebar.tsx
  27. +18 −0 src/components/layout/cta-github.tsx
  28. +7 −3 src/components/layout/header.tsx
  29. +13 −2 src/components/layout/providers.tsx
  30. +8 −3 src/components/layout/user-nav.tsx
  31. +5 −5 src/components/mode-toggle.tsx
  32. +42 −35 src/components/nav-main.tsx
  33. +13 −12 src/components/nav-projects.tsx
  34. +14 −14 src/components/nav-user.tsx
  35. +85 −0 src/components/org-switcher.tsx
  36. +0 −11 src/components/providers/theme-provider.tsx
  37. +4 −4 src/components/search-input.tsx
  38. +0 −89 src/components/team-switcher.tsx
  39. +102 −0 src/components/theme-selector.tsx
  40. +53 −44 src/components/ui/accordion.tsx
  41. +117 −105 src/components/ui/alert-dialog.tsx
  42. +44 −37 src/components/ui/alert.tsx
  43. +11 −0 src/components/ui/aspect-ratio.tsx
  44. +42 −39 src/components/ui/avatar.tsx
  45. +20 −10 src/components/ui/badge.tsx
  46. +76 −82 src/components/ui/breadcrumb.tsx
  47. +30 −28 src/components/ui/button.tsx
  48. +74 −65 src/components/ui/card.tsx
  49. +202 −213 src/components/ui/chart.tsx
  50. +22 −20 src/components/ui/checkbox.tsx
  51. +25 −3 src/components/ui/collapsible.tsx
  52. +129 −107 src/components/ui/command.tsx
  53. +252 −0 src/components/ui/context-menu.tsx
  54. +105 −92 src/components/ui/dialog.tsx
  55. +132 −0 src/components/ui/drawer.tsx
  56. +225 −173 src/components/ui/dropdown-menu.tsx
  57. +33 −46 src/components/ui/form.tsx
  58. +44 −0 src/components/ui/hover-card.tsx
  59. +77 −0 src/components/ui/input-otp.tsx
  60. +15 −19 src/components/ui/input.tsx
  61. +15 −17 src/components/ui/label.tsx
  62. +276 −0 src/components/ui/menubar.tsx
  63. +168 −0 src/components/ui/navigation-menu.tsx
  64. +127 −0 src/components/ui/pagination.tsx
  65. +38 −21 src/components/ui/popover.tsx
  66. +22 −19 src/components/ui/progress.tsx
  67. +20 −19 src/components/ui/radio-group.tsx
  68. +56 −0 src/components/ui/resizable.tsx
  69. +48 −38 src/components/ui/scroll-area.tsx
  70. +157 −92 src/components/ui/select.tsx
  71. +11 −14 src/components/ui/separator.tsx
  72. +107 −108 src/components/ui/sheet.tsx
  73. +428 −466 src/components/ui/sidebar.tsx
  74. +3 −5 src/components/ui/skeleton.tsx
  75. +54 −19 src/components/ui/slider.tsx
  76. +8 −14 src/components/ui/sonner.tsx
  77. +21 −19 src/components/ui/switch.tsx
  78. +93 −94 src/components/ui/table.tsx
  79. +4 −4 src/components/ui/table/data-table-filter-box.tsx
  80. +26 −23 src/components/ui/table/data-table.tsx
  81. +54 −43 src/components/ui/tabs.tsx
  82. +12 −18 src/components/ui/textarea.tsx
  83. +73 −0 src/components/ui/toggle-group.tsx
  84. +47 −0 src/components/ui/toggle.tsx
  85. +49 −18 src/components/ui/tooltip.tsx
  86. +1 −1 src/features/auth/components/github-auth-button.tsx
  87. +8 −8 src/features/auth/components/sigin-view.tsx
  88. +6 −2 src/features/auth/components/user-auth-form.tsx
  89. +8 −8 src/features/kanban/components/board-column.tsx
  90. +1 −1 src/features/kanban/components/column-action.tsx
  91. +5 −5 src/features/kanban/components/task-card.tsx
  92. +3 −3 src/features/overview/components/area-graph-skeleton.tsx
  93. +43 −14 src/features/overview/components/area-graph.tsx
  94. +33 −12 src/features/overview/components/bar-graph.tsx
  95. +85 −101 src/features/overview/components/overview.tsx
  96. +61 −24 src/features/overview/components/pie-graph.tsx
  97. +1 −1 src/features/overview/components/recent-sales-skeleton.tsx
  98. +51 −80 src/features/overview/components/recent-sales.tsx
  99. +4 −4 src/features/products/components/product-tables/cell-action.tsx
  100. +10 −10 src/features/profile/components/profile-create-form.tsx
  101. +0 −33 src/hooks/use-breakpoints.tsx
  102. +19 −0 src/hooks/use-media-query.ts
  103. +1 −4 src/lib/auth.config.ts
  104. +49 −0 src/lib/font.ts
  105. +0 −110 tailwind.config.js
7 changes: 4 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -2,9 +2,10 @@
"extends": "next/core-web-vitals",
"plugins": ["@typescript-eslint"],
"rules": {
"@typescript-eslint/no-unused-vars": ["warn", { "args": "none" }],
"import/no-unresolved": "error",
"@typescript-eslint/no-unused-vars": "warn",
"import/no-unresolved": "off",
"import/named": "off",
"no-console": "warn"
"no-console": "warn",
"react-hooks/exhaustive-deps": "warn"
}
}
18 changes: 10 additions & 8 deletions env.example.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
# Next auth https://next-auth.js.org/configuration/options
# Run this command to generate a a new NEXTAUTH_SECRET
# $ openssl rand -base64 32
# Auth
# https://authjs.dev/getting-started/migrating-to-v5#environment-variables
# https://authjs.dev/reference/core#secret
# pnpx auth secret to create a new secret

AUTH_URL = http://localhost:3000
AUTH_SECRET=


NEXTAUTH_URL = http://localhost:3000
NEXTAUTH_SECRET=

# Go to github and setup the oauth configuration
# https://next-auth.js.org/providers/github#configuration
# https://github.com/settings/developers

GITHUB_ID =
GITHUB_SECRET =
AUTH_GITHUB_ID =
AUTH_GITHUB_SECRET =

# In github add these values
# Homepage URL : http://localhost:3000
74 changes: 43 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
@@ -28,45 +28,51 @@
"@dnd-kit/sortable": "^8.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@hookform/resolvers": "^3.9.1",
"@radix-ui/react-accordion": "^1.2.2",
"@radix-ui/react-alert-dialog": "^1.1.3",
"@radix-ui/react-avatar": "^1.1.2",
"@radix-ui/react-checkbox": "^1.1.3",
"@radix-ui/react-collapsible": "^1.1.2",
"@radix-ui/react-dialog": "^1.1.3",
"@radix-ui/react-dropdown-menu": "^2.1.3",
"@radix-ui/react-accordion": "^1.2.3",
"@radix-ui/react-alert-dialog": "^1.1.6",
"@radix-ui/react-aspect-ratio": "^1.1.2",
"@radix-ui/react-avatar": "^1.1.3",
"@radix-ui/react-checkbox": "^1.1.4",
"@radix-ui/react-collapsible": "^1.1.3",
"@radix-ui/react-context-menu": "^2.2.6",
"@radix-ui/react-dialog": "^1.1.6",
"@radix-ui/react-dropdown-menu": "^2.1.6",
"@radix-ui/react-hover-card": "^1.1.6",
"@radix-ui/react-icons": "^1.3.2",
"@radix-ui/react-label": "^2.1.1",
"@radix-ui/react-popover": "^1.1.3",
"@radix-ui/react-progress": "^1.1.1",
"@radix-ui/react-radio-group": "^1.2.2",
"@radix-ui/react-scroll-area": "^1.2.2",
"@radix-ui/react-select": "^2.1.3",
"@radix-ui/react-separator": "^1.1.1",
"@radix-ui/react-slider": "^1.2.2",
"@radix-ui/react-slot": "^1.1.1",
"@radix-ui/react-switch": "^1.0.3",
"@radix-ui/react-tabs": "^1.1.2",
"@radix-ui/react-toast": "^1.2.3",
"@radix-ui/react-tooltip": "^1.1.5",
"@radix-ui/react-label": "^2.1.2",
"@radix-ui/react-menubar": "^1.1.6",
"@radix-ui/react-navigation-menu": "^1.2.5",
"@radix-ui/react-popover": "^1.1.6",
"@radix-ui/react-progress": "^1.1.2",
"@radix-ui/react-radio-group": "^1.2.3",
"@radix-ui/react-scroll-area": "^1.2.3",
"@radix-ui/react-select": "^2.1.6",
"@radix-ui/react-separator": "^1.1.2",
"@radix-ui/react-slider": "^1.2.3",
"@radix-ui/react-slot": "^1.1.2",
"@radix-ui/react-switch": "^1.1.3",
"@radix-ui/react-tabs": "^1.1.3",
"@radix-ui/react-toast": "^1.2.6",
"@radix-ui/react-toggle": "^1.1.2",
"@radix-ui/react-toggle-group": "^1.1.2",
"@radix-ui/react-tooltip": "^1.1.8",
"@tabler/icons-react": "^3.31.0",
"@tailwindcss/postcss": "^4.0.0",
"@tanstack/react-table": "^8.20.6",
"@types/node": "22.10.2",
"@types/react": "19.0.1",
"@types/react-dom": "19.0.2",
"autoprefixer": "10.4.20",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.0.4",
"date-fns": "^4.1.0",
"eslint": "8.48.0",
"eslint-config-next": "15.1.0",
"input-otp": "^1.4.2",
"kbar": "^0.1.0-beta.45",
"lucide-react": "^0.468.0",
"lucide-react": "^0.476.0",
"match-sorter": "^8.0.0",
"motion": "^11.17.0",
"next": "15.1.0",
"next": "15.2.4",
"next-auth": "^5.0.0-beta.25",
"next-themes": "^0.4.4",
"next-themes": "^0.4.6",
"nextjs-toploader": "^3.7.15",
"nuqs": "^2.2.3",
"postcss": "8.4.49",
@@ -75,28 +81,34 @@
"react-dom": "19.0.0",
"react-dropzone": "^14.3.5",
"react-hook-form": "^7.54.1",
"react-resizable-panels": "^2.1.7",
"react-responsive": "^10.0.0",
"recharts": "^2.15.0",
"recharts": "^2.15.1",
"sharp": "^0.33.5",
"sonner": "^1.7.1",
"sort-by": "^1.2.0",
"tailwind-merge": "^2.5.5",
"tailwindcss": "^3.4.16",
"tailwind-merge": "^3.0.2",
"tailwindcss": "^4.0.0",
"tailwindcss-animate": "^1.0.7",
"typescript": "5.7.2",
"uuid": "^11.0.3",
"vaul": "^1.1.2",
"zod": "^3.24.1",
"zustand": "^5.0.2"
},
"devDependencies": {
"@faker-js/faker": "^9.3.0",
"@types/node": "22.10.2",
"@types/react": "19.0.1",
"@types/react-dom": "19.0.2",
"@types/sort-by": "^1.2.3",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"husky": "^9.1.7",
"lint-staged": "^15.2.11",
"prettier": "3.4.2",
"prettier-plugin-tailwindcss": "^0.6.9"
"prettier-plugin-tailwindcss": "^0.6.11",
"tw-animate-css": "^1.2.4"
},
"overrides": {
"@types/react": "19.0.1",
Loading