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
59c90c3519
feat: integrate dynamic role selection in user form
...
- Add getAllRole API import to fetch roles dynamically
- Add roleList and loadingRoles state management
- Implement fetchRoles function to get all roles from API
- Update Select component to display roles dynamically from database
- Display role format: Role Name (Level X)
- Add loading indicator while fetching roles
- Fetch roles automatically when modal opens
2025-10-10 15:44:21 +07:00
76e40ced3f
integrasi role user
2025-10-10 14:59:21 +07:00
5f6c156c12
feat: add role fetching functionality to DetailUser component
2025-10-10 14:49:16 +07:00
c312577d50
dynamic active sidebar
2025-10-10 15:07:00 +07:00
a3666dbf41
add status toggle switch to DetailBrandDevice and update ListBrandDevice
2025-10-10 14:40:41 +07:00
49dda8621b
refactor: remove IndexErrorCode component and update ListErrorMaster
2025-10-10 14:21:48 +07:00
bf03891142
refactor: streamline brand device management components and add error master view
2025-10-10 14:14:10 +07:00
3ce9b3772d
remove IndexErrorCode component
2025-10-10 14:12:37 +07:00
27c901d08f
role-based access control
2025-10-10 11:40:33 +07:00
a6e8c39ed8
integrasi role
2025-10-10 11:39:31 +07:00
7d10c3f5b2
update history trending
2025-10-10 10:58:45 +07:00
76cf2de6ed
fix signin bug identifier
2025-10-09 23:12:54 +07:00
823492a381
add detailuser file
2025-10-09 22:53:06 +07:00
25e31c58bd
add detail user
2025-10-09 22:52:37 +07:00
f1fe0e0bc4
filter hide superadmin from get all user
2025-10-09 22:51:27 +07:00
c6957b46c6
add notification management with list and detail views, including modal handling and state management
2025-10-09 16:45:52 +07:00
a7af974108
add status management with list and detail views, including routing and mock data
2025-10-09 16:43:03 +07:00
dcdd8c9b8d
refactor ListEventAlarm component by removing unused detail view handler and adjusting column widths
2025-10-09 14:50:26 +07:00
406b306275
refactor event alarm components to improve detail view and add action buttons
2025-10-09 14:48:36 +07:00
6807be41b6
update validation message for email/username field in SignIn component
2025-10-09 14:42:21 +07:00
7a9cf46e39
add event alarm management with list and detail views
2025-10-09 14:30:37 +07:00
0a2c23fa9c
add route for plant section in App component
2025-10-09 10:59:52 +07:00
e13539618b
add plant section management with list and detail views
2025-10-09 10:50:27 +07:00
8ef1bdb142
update data index username, fullname, user phone
2025-10-09 03:47:13 +07:00
930ee1708a
Merge branch 'lavoce' of https://gitea.idetama.id/yogiedigital/cod-fe into lavoce
2025-10-09 03:44:52 +07:00
2fddc7f098
add role management components with list and detail views
2025-10-09 10:26:13 +07:00
1613ee52d3
login identifier email dan username
2025-10-09 03:44:48 +07:00
148bca0e55
fix: update signin dan signup
2025-10-08 15:47:00 +07:00
7b78755ee1
delet background piu
2025-10-08 15:02:33 +07:00
678dd12a18
Merge branch 'lavoce' of https://gitea.idetama.id/yogiedigital/cod-fe into lavoce
2025-10-08 14:45:52 +07:00
bc46328832
feat: implement user management API functions and create ListUser component for user listing
2025-10-08 14:45:41 +07:00
9806593319
update: enhance global card styling and sidebar menu appearance
2025-10-08 14:38:00 +07:00
dcedf9fe19
update background cod signin&up
2025-10-08 14:33:21 +07:00
2f678cef03
Merge branch 'lavoce' of https://gitea.idetama.id/yogiedigital/cod-fe into lavoce
2025-10-07 14:46:19 +07:00
32d88df400
update: implement brand device management with listing, detail view, and search functionality
2025-10-07 12:37:40 +07:00
f21174e5d0
update: implement ListTag and DetailTag components for enhanced tag management functionality
2025-10-07 12:37:40 +07:00
676fb64554
update: adjust TableList component for improved data display and enhance ListDevice component styles
2025-10-07 12:37:40 +07:00
0beb46e318
Merge branch 'lavoce' of https://gitea.idetama.id/yogiedigital/cod-fe into lavoce
2025-10-07 12:07:31 +07:00
b2e1bca4ab
update: implement brand device management with listing, detail view, and search functionality
2025-10-07 12:07:29 +07:00
317610e552
update: implement ListTag and DetailTag components for enhanced tag management functionality
2025-10-07 12:01:15 +07:00
0d97a1978e
update: adjust TableList component for improved data display and enhance ListDevice component styles
2025-10-06 08:47:07 +07:00
d469992ee2
menambahkan halaman awal untuk setiap menu sidebar
2025-10-03 17:05:50 +07:00
e3b7792f9b
update tambah route
2025-10-03 17:05:00 +07:00
600e6c8593
update: enhance LayoutMenu component with additional menu items and icons
2025-10-03 17:03:59 +07:00
fbf8231050
update: remove fixed horizontal scroll width in TableList component for improved responsiveness
2025-10-02 15:36:59 +07:00
50aa323b5f
update: improve code formatting and error handling in SignIn component
2025-10-02 15:35:07 +07:00
3484683074
fix: refresh token cookies
2025-10-02 15:32:32 +07:00
1c0ac6930e
update: adjust horizontal scroll width in TableList component for better data visibility
2025-10-02 14:05:09 +07:00
1687f3b952
update signup
2025-10-02 11:45:20 +07:00