Commit Graph

9 Commits

Author SHA1 Message Date
Ichsan Kurniawan 7f8e6637e4 Move auth config and build admin menus
Extract NextAuth configuration into a shared library, load admin sidebar items from role permissions, and update related RBAC types and UI.
2026-11-06 18:25:54 +07:00
Ichsan Kurniawan 20b77dc0b7 Add PWA support with offline fallback
Add installable app metadata and icons, register a service worker for asset and page caching, and provide an offline page when navigation fails.
2026-11-04 20:47:26 +07:00
Ichsan Kurniawan fb2d746fc0 Add UI components and Tooltip provider
Introduce a set of reusable UI primitives and integrate tooltip provider in the app layout. Adds: Combobox (with virtualized and non-virtualized variants), Command palette components (cmdk wrapper and related subcomponents), DatePicker and DateTimePicker (popover-based date/time selection with time pickers and Done footer), LazyImage (progressive image with blur/scale transition), and Tooltip (Radix wrapper and provider). Also imports TooltipProvider in app/layout.tsx and wraps the app content so tooltips are available globally.
2026-04-16 22:37:45 +07:00
Ichsan Kurniawan 09ad78ed03 update opengraph 2026-02-09 16:22:14 +07:00
Ichsan Kurniawan 5cbded392a Add server API helper, logging & misc updates
Introduce a reusable serverApiCall helper and file-based logger (lib/server-api.ts, lib/logger.ts) to centralize backend requests, attach session auth, and capture request/response/error logs. Update server actions to use the new helper (updateProfileAction, changeAvatarAction) and ensure profile revalidation. Add client-side avatar upload size limit (5MB) and normalize avatar base64 payload. Add new OpenGraph/Twitter images, bump app version to v1.1.1, and add a v1.1.1 entry in release notes. Update default API/IMG env URLs and metadataBase fallback, fix minor release-notes link capitalization, and adjust a debug console.log in admin user page.
2026-02-09 14:48:03 +07:00
Ichsan Kurniawan 36b5b07d28 update UI 2026-01-29 14:13:32 +07:00
Ichsan Kurniawan 885cb00e29 fixing bug or error when build 2026-01-28 20:01:35 +07:00
Ichsan Kurniawan 7e172f5cf7 initial commit for new hats app 2025-12-19 13:57:55 +07:00
Ichsan Kurniawan aa949d71ff Initial commit from Create Next App 2025-12-09 12:41:19 +07:00