Commit Graph

13 Commits

Author SHA1 Message Date
03be3a6a99 fix: update column title from 'Aksi' to 'Action' in ListUser component for clarity 2025-12-08 13:48:15 +07:00
a86795fdf6 fixing ui master 2025-10-25 16:08:42 +07:00
50d040953f color picker 2025-10-24 11:46:58 +07:00
98e5ed250c modify color card by data 2025-10-22 16:11:52 +07:00
172e14e77d update handle reject & is_active 2025-10-16 11:30:00 +07:00
2d2b1a6b0c pending reject handle 2025-10-15 19:42:47 +07:00
9f6cb66c37 feat: add password requirements validation and indicators in ChangePasswordModal and DetailUser components 2025-10-14 15:42:28 +07:00
c5f0c73ae1 refactor: change search parameter from 'search' to 'criteria'
- Update defaultFilter to use criteria instead of search
- Update handleSearch to use criteria parameter
- Update handleSearchClear to use criteria parameter
- Update auto-clear onChange to use criteria parameter

API endpoint now uses: /api/user?page=1&limit=10&criteria=keyword
2025-10-10 15:59:38 +07:00
c3b5ec2121 feat: refactor role display with dynamic colors and capitalize
- Add helper function capitalizeFirstLetter for consistent formatting
- Add helper function getRoleColor to determine tag color by role_level or role_name
- Refactor role_name column render to use dynamic helpers
- Replace 30+ lines of hardcoded conditions with 8 lines of clean code
- Support any role name from database without code changes
- Display role names with first letter capitalized
- Color mapping: Level 1=purple, Level 2=blue, Level 3=cyan, Level 4=green
- Add KeyOutlined icon import for change password feature
2025-10-10 15:44:46 +07:00
76e40ced3f integrasi role user 2025-10-10 14:59:21 +07:00
823492a381 add detailuser file 2025-10-09 22:53:06 +07:00
8ef1bdb142 update data index username, fullname, user phone 2025-10-09 03:47:13 +07:00
bc46328832 feat: implement user management API functions and create ListUser component for user listing 2025-10-08 14:45:41 +07:00