Initialize Eigen HRIS project
- Add .gitignore, .yarnrc.yml, and initial project metadata (AGENTS.md, DESIGN.md, package.json, Yarn lock, Tailwind, PostCSS, Next.js config, TypeScript config) - Add CSV data files (users, employees, contracts, attendances) - Implement API routes for auth, employees, contracts, attendances, analytics, and file upload - Add core pages (dashboard, employees, attendances, profile, login, main layout) - Add UI components (avatar, avatar picker, badge, button, card, input, modal, select, sidebar, navigation shell, top header) - Add attendance features (table, clock widget, unified permit modal with file upload, upload API) - Add employee management (contract timeline with file upload, employee form modal, employee table) - Add dashboard widgets (leaderboard, early bird, latecomer, night owl, day status feed, date filter bar) - Add utilities (avatar generator, analytics calculations, CSV DB layer, auth context) - Add type definitions for auth, employee, contract, attendance, dashboard All changes are synchronized with documentation (AGENTS.md, DESIGN.md, walkthrough).
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
id,employee_id,date,type,work_mode,clock_in,clock_out,duration_minutes,late_minutes,status,reason_or_notes,attachment_url,created_at
|
||||
ATT-20260801-002,EMP-002,2026-08-01,PRESENT,WFO,07:35:12,18:05:00,630,0,APPROVED,Frontend sprint planning & architecture review,,2026-08-01T07:35:12Z
|
||||
ATT-20260801-003,EMP-003,2026-08-01,PRESENT,WFH,08:50:00,21:15:00,745,0,APPROVED,Database indexing & caching optimization,,2026-08-01T08:50:00Z
|
||||
ATT-20260801-004,EMP-004,2026-08-01,PRESENT,WFO,07:42:00,18:30:00,648,0,APPROVED,Design system token audit,,2026-08-01T07:42:00Z
|
||||
ATT-20260801-006,EMP-006,2026-08-01,PRESENT,WFO,09:45:00,18:00:00,495,45,APPROVED,Performance marketing campaign rollout,,2026-08-01T09:45:00Z
|
||||
ATT-20260804-002,EMP-002,2026-08-04,PRESENT,WFO,07:30:00,18:10:00,640,0,APPROVED,Component library development,,2026-08-04T07:30:00Z
|
||||
ATT-20260804-003,EMP-003,2026-08-04,PRESENT,WFH,08:55:00,21:40:00,765,0,APPROVED,Microservices deployment setup,,2026-08-04T08:55:00Z
|
||||
ATT-20260804-004,EMP-004,2026-08-04,PRESENT,WFO,07:40:00,18:00:00,620,0,APPROVED,User research synthesis,,2026-08-04T07:40:00Z
|
||||
ATT-20260804-006,EMP-006,2026-08-04,LATE_PERMIT,WFO,09:35:00,18:15:00,520,35,APPROVED,Ban bocor di tol dalam kota,,2026-08-04T09:35:00Z
|
||||
ATT-20260805-002,EMP-002,2026-08-05,PRESENT,WFO,07:38:00,18:20:00,642,0,APPROVED,Code review for PRs,,2026-08-05T07:38:00Z
|
||||
ATT-20260805-003,EMP-003,2026-08-05,PRESENT,WFH,08:45:00,20:50:00,725,0,APPROVED,API endpoints implementation,,2026-08-05T08:45:00Z
|
||||
ATT-20260805-004,EMP-004,2026-08-05,PRESENT,WFO,07:45:00,18:00:00,615,0,APPROVED,Design tokens documentation,,2026-08-05T07:45:00Z
|
||||
ATT-20260805-006,EMP-006,2026-08-05,PRESENT,WFO,09:50:00,18:30:00,520,50,APPROVED,Ads optimization review,,2026-08-05T09:50:00Z
|
||||
ATT-20260810-002,EMP-002,2026-08-10,PRESENT,WFO,07:32:00,18:00:00,628,0,APPROVED,Refactoring state management,,2026-08-10T07:32:00Z
|
||||
ATT-20260810-003,EMP-003,2026-08-10,PRESENT,WFH,08:50:00,21:30:00,760,0,APPROVED,Server performance benchmarks,,2026-08-10T08:50:00Z
|
||||
ATT-20260810-004,EMP-004,2026-08-10,PRESENT,WFO,07:39:00,18:15:00,636,0,APPROVED,Prototype testing session,,2026-08-10T07:39:00Z
|
||||
ATT-20260810-006,EMP-006,2026-08-10,PRESENT,WFO,09:40:00,18:00:00,500,40,APPROVED,Weekly growth metrics report,,2026-08-10T09:40:00Z
|
||||
ATT-20260815-002,EMP-002,2026-08-15,PRESENT,WFO,07:34:00,18:05:00,631,0,APPROVED,Bug fixes on table components,,2026-08-15T07:34:00Z
|
||||
ATT-20260815-003,EMP-003,2026-08-15,PRESENT,WFH,08:48:00,22:10:00,802,0,APPROVED,Database migration script execution,,2026-08-15T08:48:00Z
|
||||
ATT-20260815-004,EMP-004,2026-08-15,PRESENT,WFO,07:36:00,18:00:00,624,0,APPROVED,Mobile viewport visual QA,,2026-08-15T07:36:00Z
|
||||
ATT-20260815-006,EMP-006,2026-08-15,PRESENT,WFO,09:30:00,18:00:00,510,30,APPROVED,Campaign A/B test setup,,2026-08-15T09:30:00Z
|
||||
ATT-20260820-002,EMP-002,2026-08-20,PRESENT,WFO,07:28:00,18:00:00,632,0,APPROVED,Frontend unit tests coverage,,2026-08-20T07:28:00Z
|
||||
ATT-20260820-003,EMP-003,2026-08-20,PRESENT,WFH,08:52:00,21:00:00,728,0,APPROVED,WebSocket gateway integration,,2026-08-20T08:52:00Z
|
||||
ATT-20260820-004,EMP-004,2026-08-20,PRESENT,WFO,07:44:00,18:10:00,626,0,APPROVED,Icon set standardization,,2026-08-20T07:44:00Z
|
||||
ATT-20260820-006,EMP-006,2026-08-20,PRESENT,WFO,09:42:00,18:00:00,498,42,APPROVED,Marketing funnel audit,,2026-08-20T09:42:00Z
|
||||
ATT-20260826-001,EMP-001,2026-08-26,PRESENT,WFO,08:15:00,17:30:00,555,0,APPROVED,Executive operational review,,2026-08-26T08:15:00Z
|
||||
ATT-20260826-002,EMP-002,2026-08-26,PRESENT,WFO,07:31:00,18:00:00,629,0,APPROVED,Feature release deployment,,2026-08-26T07:31:00Z
|
||||
ATT-20260826-003,EMP-003,2026-08-26,PRESENT,WFH,08:50:00,21:45:00,775,0,APPROVED,Load testing backend clusters,,2026-08-26T08:50:00Z
|
||||
ATT-20260826-004,EMP-004,2026-08-26,PRESENT,WFO,07:40:00,18:00:00,620,0,APPROVED,Product UX teardown,,2026-08-26T07:40:00Z
|
||||
ATT-20260826-005,EMP-005,2026-08-26,ANNUAL_LEAVE,OFF,,,0,0,APPROVED,Cuti tahunan urusan keluarga,,2026-08-26T08:00:00Z
|
||||
ATT-20260826-006,EMP-006,2026-08-26,PRESENT,WFO,09:35:00,18:10:00,515,35,APPROVED,Content marketing strategy,,2026-08-26T09:35:00Z
|
||||
ATT-20260826-007,EMP-007,2026-08-26,PRESENT,WFO,08:20:00,17:45:00,565,0,APPROVED,Budget allocation report,,2026-08-26T08:20:00Z
|
||||
ATT-20260826-008,EMP-008,2026-08-26,PRESENT,WFH,08:45:00,18:00:00,555,0,APPROVED,Kubernetes cluster upgrades,,2026-08-26T08:45:00Z
|
||||
ATT-20260827-001,EMP-001,2026-08-27,PRESENT,WFO,08:10:00,17:30:00,560,0,APPROVED,Weekly all-hands preparation,,2026-08-27T08:10:00Z
|
||||
ATT-20260827-002,EMP-002,2026-08-27,PRESENT,WFO,07:25:00,18:00:00,635,0,APPROVED,UI performance optimization,,2026-08-27T07:25:00Z
|
||||
ATT-20260827-003,EMP-003,2026-08-27,PRESENT,WFH,08:45:00,21:50:00,785,0,APPROVED,GraphQL query performance optimization,,2026-08-27T08:45:00Z
|
||||
ATT-20260827-004,EMP-004,2026-08-27,PRESENT,WFO,07:38:00,18:00:00,622,0,APPROVED,Design critique & sprint planning,,2026-08-27T07:38:00Z
|
||||
ATT-20260827-005,EMP-005,2026-08-27,SICK,OFF,,,0,0,APPROVED,Pemeriksaan dokter spesialis THT (surat terlampir),/uploads/sample-surat-dokter.txt,2026-08-27T08:00:00Z
|
||||
ATT-20260827-006,EMP-006,2026-08-27,LATE_PERMIT,WFO,09:40:00,18:00:00,500,40,APPROVED,Macet total tol Jagorawi akibat kecelakaan,,2026-08-27T09:40:00Z
|
||||
ATT-20260827-007,EMP-007,2026-08-27,ANNUAL_LEAVE,OFF,,,0,0,APPROVED,Cuti tahunan kepulangan keluarga ke Padang,,2026-08-27T08:00:00Z
|
||||
ATT-20260827-008,EMP-008,2026-08-27,PRESENT,WFH,08:50:00,18:00:00,550,0,APPROVED,Infrastructure observability alerting,,2026-08-27T08:50:00Z
|
||||
ATT-20260828-005,EMP-005,2026-08-28,ANNUAL_LEAVE,OFF,,,0,0,APPROVED,Istirahat pemulihan pasca tindakan medis,,2026-08-27T09:00:00Z
|
||||
ATT-20260828-007,EMP-007,2026-08-28,ANNUAL_LEAVE,OFF,,,0,0,APPROVED,Cuti tahunan kepulangan keluarga,,2026-08-27T09:00:00Z
|
||||
ATT-20260828-004,EMP-004,2026-08-28,OFFICIAL_TRAVEL,WFO,08:00:00,17:00:00,540,0,APPROVED,Dinas Luar: Client Product Pitching di SCBD,,2026-08-27T10:00:00Z
|
||||
|
@@ -0,0 +1,12 @@
|
||||
id,employee_id,contract_number,contract_type,start_date,end_date,salary,notes,document_url,created_at
|
||||
CTR-001,EMP-001,001/EIG-HR/PKWTT/I/2024,PKWTT,2024-01-01,,32000000,Permanent appointment as VP of People & Ops,https://example.com/docs/contract-001.pdf,2024-01-01T08:00:00Z
|
||||
CTR-002,EMP-002,014/EIG-HR/PKWT-1/III/2024,PKWT,2024-03-15,2025-03-14,20000000,Initial 1-year contract as Lead Frontend Engineer,https://example.com/docs/contract-002.pdf,2024-03-15T08:00:00Z
|
||||
CTR-003,EMP-002,088/EIG-HR/PKWTT/III/2025,PKWTT,2025-03-15,,24000000,Promoted to permanent employee with salary adjustment,https://example.com/docs/contract-003.pdf,2025-03-15T08:00:00Z
|
||||
CTR-004,EMP-003,022/EIG-HR/PKWT-1/V/2024,PKWT,2024-05-01,2025-04-30,22000000,Senior Backend Architect initial contract,https://example.com/docs/contract-004.pdf,2024-05-01T08:00:00Z
|
||||
CTR-005,EMP-003,099/EIG-HR/PKWTT/V/2025,PKWTT,2025-05-01,,26000000,Permanent Senior Backend Architect,https://example.com/docs/contract-005.pdf,2025-05-01T08:00:00Z
|
||||
CTR-006,EMP-004,031/EIG-HR/PKWTT/VI/2024,PKWTT,2024-06-10,,23000000,Permanent Principal Product Designer,https://example.com/docs/contract-006.pdf,2024-06-10T08:00:00Z
|
||||
CTR-007,EMP-005,045/EIG-HR/PKWT-1/VIII/2024,PKWT,2024-08-01,2025-07-31,14000000,People Engagement Specialist contract,https://example.com/docs/contract-007.pdf,2024-08-01T08:00:00Z
|
||||
CTR-008,EMP-005,105/EIG-HR/PKWT-2/VIII/2025,PKWT,2025-08-01,2026-07-31,16500000,Contract extension PKWT 2,https://example.com/docs/contract-008.pdf,2025-08-01T08:00:00Z
|
||||
CTR-009,EMP-006,052/EIG-HR/PKWT-1/II/2025,PKWT,2025-02-01,2026-01-31,15000000,Growth Marketing Lead 1-year contract,https://example.com/docs/contract-009.pdf,2025-02-01T08:00:00Z
|
||||
CTR-010,EMP-007,063/EIG-HR/PKWTT/IV/2025,PKWTT,2025-04-15,,18000000,Permanent Financial Analyst,https://example.com/docs/contract-010.pdf,2025-04-15T08:00:00Z
|
||||
CTR-011,EMP-008,077/EIG-HR/PKWT-1/VII/2025,PKWT,2025-07-01,2026-06-30,17500000,DevOps Engineer 1-year term,https://example.com/docs/contract-011.pdf,2025-07-01T08:00:00Z
|
||||
|
@@ -0,0 +1,10 @@
|
||||
id,nik,full_name,email,phone,department,position,status,join_date,work_location_default,photo_url,created_at,updated_at
|
||||
EMP-001,EIG-2024-001,Raden Bagus Arya,arya.superadmin@eigen.io,+628112345678,Executive,VP of People & Operations,active,2024-01-01,WFO,https://api.dicebear.com/7.x/avataaars/svg?seed=Raden%20Bagus%20Arya-Rocket-655&backgroundColor=ebf2ff,Mon Jan 01 2024 15:00:00 GMT+0700 (Western Indonesia Time),2026-08-27T10:29:10.589Z
|
||||
EMP-002,EIG-2024-014,Budi Santoso,budi.santoso@eigen.io,+628123456789,Engineering,Lead Frontend Engineer,active,2024-03-15,HYBRID,https://api.dicebear.com/7.x/notionists/svg?seed=BudiSantoso&backgroundColor=f4ceff,Fri Mar 15 2024 15:00:00 GMT+0700 (Western Indonesia Time),Thu Aug 27 2026 15:00:00 GMT+0700 (Western Indonesia Time)
|
||||
EMP-003,EIG-2024-022,Siti Aminah,siti.aminah@eigen.io,+628139876543,Engineering,Senior Backend Architect,active,2024-05-01,WFH,https://api.dicebear.com/7.x/lorelei/svg?seed=SitiAminah&backgroundColor=ebf2ff,Wed May 01 2024 15:00:00 GMT+0700 (Western Indonesia Time),Thu Aug 27 2026 15:00:00 GMT+0700 (Western Indonesia Time)
|
||||
EMP-004,EIG-2024-031,Reza Rahadian,reza.rahadian@eigen.io,+628145678901,Product,Principal Product Designer,active,2024-06-10,WFO,https://api.dicebear.com/7.x/notionists/svg?seed=RezaDesign&backgroundColor=f4ceff,Mon Jun 10 2024 15:00:00 GMT+0700 (Western Indonesia Time),Thu Aug 27 2026 15:00:00 GMT+0700 (Western Indonesia Time)
|
||||
EMP-005,EIG-2024-045,Dian Sastrowardoyo,dian.sastro@eigen.io,+628156789012,Human Resources,People Engagement Specialist,active,2024-08-01,HYBRID,https://api.dicebear.com/7.x/lorelei/svg?seed=DianSastro&backgroundColor=ebf2ff,Thu Aug 01 2024 15:00:00 GMT+0700 (Western Indonesia Time),Thu Aug 27 2026 15:00:00 GMT+0700 (Western Indonesia Time)
|
||||
EMP-006,EIG-2025-052,Andika Pratama,andika.pratama@eigen.io,+628167890123,Marketing,Growth Marketing Lead,probation,2025-02-01,WFO,https://api.dicebear.com/7.x/notionists/svg?seed=AndikaGrowth&backgroundColor=f4ceff,Sat Feb 01 2025 15:00:00 GMT+0700 (Western Indonesia Time),Thu Aug 27 2026 15:00:00 GMT+0700 (Western Indonesia Time)
|
||||
EMP-007,EIG-2025-063,Nadia Hutagalung,nadia.hutagalung@eigen.io,+628178901234,Finance,Senior Financial Analyst,active,2025-04-15,WFO,https://api.dicebear.com/7.x/lorelei/svg?seed=NadiaFinance&backgroundColor=ebf2ff,Tue Apr 15 2025 15:00:00 GMT+0700 (Western Indonesia Time),Thu Aug 27 2026 15:00:00 GMT+0700 (Western Indonesia Time)
|
||||
EMP-008,EIG-2025-077,Farhan Maulana,farhan.m@eigen.io,+628189012345,Engineering,DevOps & Cloud Engineer,active,2025-07-01,WFH,https://api.dicebear.com/7.x/notionists/svg?seed=FarhanDevOps&backgroundColor=f4ceff,Tue Jul 01 2025 15:00:00 GMT+0700 (Western Indonesia Time),Thu Aug 27 2026 15:00:00 GMT+0700 (Western Indonesia Time)
|
||||
EMP-009,EIG-2026-941,Jamal,jamal@eigen.co.id,+628454545454,Engineering,Senior Backend Engineer,active,2026-08-27,WFO,https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=300&h=300&fit=crop&crop=faces,Thu Aug 27 2026 17:26:52 GMT+0700 (Western Indonesia Time),Thu Aug 27 2026 17:26:52 GMT+0700 (Western Indonesia Time)
|
||||
|
@@ -0,0 +1,7 @@
|
||||
id,username,password,role,employee_id,created_at
|
||||
USR-001,superadmin,admin123,superadmin,EMP-001,2026-01-01T08:00:00Z
|
||||
USR-002,budi.santoso,staff123,staff,EMP-002,2026-01-10T08:00:00Z
|
||||
USR-003,siti.aminah,staff123,staff,EMP-003,2026-01-15T08:00:00Z
|
||||
USR-004,reza.rahadian,staff123,staff,EMP-004,2026-02-01T08:00:00Z
|
||||
USR-005,dian.sastro,staff123,staff,EMP-005,2026-02-15T08:00:00Z
|
||||
USR-006,andika.pratama,staff123,staff,EMP-006,2026-03-01T08:00:00Z
|
||||
|
Reference in New Issue
Block a user