Commit Graph

17 Commits

Author SHA1 Message Date
ebda6424c7 fixed design of item table in the admin panel 2025-12-05 10:17:46 +01:00
fd2ccaa747 feat: add door_key field to items and update related logic in forms and database 2025-11-24 17:12:37 +01:00
85e6d7fe00 fixed bugs 2025-11-23 21:39:18 +01:00
0a4d981808 changed the design of the item table 2025-11-23 19:37:59 +01:00
80cb393768 Enhance item management: update API key display, add locker number input, and modify database schema for unique locker numbers 2025-11-21 16:55:18 +01:00
e49700071b imrpoved table view 2025-11-11 17:11:20 +01:00
a8b4ac3d60 Refactor loan and user management components and backend routes
- Updated LoanTable component to fetch loan data from new API endpoint and display notes.
- Enhanced UserTable component to include additional user fields (first name, last name, email, admin status) and updated input handling.
- Modified fetcher utility to use new user data API endpoint.
- Adjusted login functionality to point to the new admin login endpoint and handle unauthorized access.
- Refactored user actions utility to align with updated API endpoints for user management.
- Updated backend routes for user and loan data management to reflect new structure and naming conventions.
- Revised SQL schema and mock data to accommodate new fields and constraints.
- Changed Docker configuration to use the new database name.
2025-11-11 17:08:45 +01:00
9daff3ea5c refactor: update heading sizes in ItemTable, LoanTable, and UserTable components 2025-10-26 13:54:43 +01:00
6ea1ff799c added .env link function 2025-10-04 00:26:02 +02:00
c3572a3d70 fix: adjust icon placement and styling for safe state indicator 2025-09-16 13:49:44 +02:00
4fc60a08d9 refactor: update button for safe state with improved styling and text display 2025-09-16 13:48:56 +02:00
5159877d8d added changeSafeState function 2025-09-16 13:00:15 +02:00
b3ddfd9aa5 added working item change route 2025-09-16 11:13:19 +02:00
755ebfd06b added inpu elemts and backend API routes for changing the item table 2025-09-11 16:40:31 +02:00
866f860d5a fixed bug/issue: #11 2025-09-03 13:14:30 +02:00
48c16350b7 refactor: remove LockerTable component, enhance ItemTable and LoanTable with CRUD functionality, and implement AddItemForm for item creation 2025-09-02 20:30:29 +02:00
217803ba8f implement admin panel with login functionality and dashboard layout 2025-08-31 18:07:49 +02:00