Commit Graph

12 Commits

Author SHA1 Message Date
Ichsan Kurniawan 60648f312d update 2026-02-25 13:39:59 +07:00
Ichsan Kurniawan 7d18e9f38f Add CreateAttendance and update UI/hooks
Add a new CreateAttendance component to allow admins to create manual attendance (Alpha) with confirmation dialog and server API call. Lazy-load the CreateAttendance component in EmployeeAlpha and wrap usages with Suspense plus a loading fallback to reduce initial bundle size. Update Performance page to use a centered Suspense fallback. Improve ImportExcel UX by showing a full-loading state, tweaking button/icon styles, and fixing modal sizing/scroll behavior. Enhance useFetchWithAxios to accept nullable URLs and SWR options, adjust the fetcher signature, and return the nested data payload. Add a "use server" directive and imports in lib/server-api, and apply small type/formatting tweaks (table size cast and minor UI/text refinements).
2026-02-22 23:33:15 +07:00
Ichsan Kurniawan 85d8db1e54 fixing error 2026-02-20 16:50:07 +07:00
Ichsan Kurniawan 226484f693 Update index.tsx 2026-02-20 16:14:46 +07:00
Ichsan Kurniawan e6a52d02d5 fixing error in production 2026-02-20 16:12:29 +07:00
Ichsan Kurniawan 5a3629badf update performance, manual attendance, redownload leave form
Added the ability to view and re-download leave application forms in the Employee History page (Leave, Permit, and Sick tabs)
Added employee alpha stats and employee alpha detail in Employee Performance Page
Added total WFO, WFH and WFS in Admin Summary Report
Added batch import from Excel files in Admin Manual Attendance
2026-02-20 15:19:42 +07:00
Ichsan Kurniawan b55e759029 Update FormChangePassword.tsx 2026-02-09 21:40:00 +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 5e439ea9f7 remove next image 2026-01-28 21:10:07 +07:00
Ichsan Kurniawan 885cb00e29 fixing bug or error when build 2026-01-28 20:01:35 +07:00
Ichsan Kurniawan 946b5d8b61 update page title metadata 2025-12-23 18:49:34 +07:00
Ichsan Kurniawan 7e172f5cf7 initial commit for new hats app 2025-12-19 13:57:55 +07:00