Commit graph

6 commits

Author SHA1 Message Date
Adam Moussa
fad2b7d661 Fix controlled input warning on all form pages
- Merge API response into form state instead of replacing it
- Null values from the API now fall back to the form's default values
- Prevents React controlled-to-uncontrolled input warning
2026-04-16 17:34:53 -04:00
Adam Moussa
2dcb140d10 Consolidate duplicate form CSS into shared FormPage.css
- Create styles/FormPage.css from ContactFormPage.css
- Update contacts and accounts form pages to import shared CSS
- Delete 4 duplicate ContactFormPage.css copies
2026-04-16 16:54:03 -04:00
Adam Moussa
7db23a5597 Replace 11 duplicate hooks with single usePaginatedList
- Create shared hooks/usePaginatedList.js accepting a fetch function and optional extra params
- Update all 7 list pages to use the shared hook
- Delete 11 individual hook files (useItems, useEmployees, useLocations, etc.)
2026-04-16 16:53:52 -04:00
npalOmega
65ec768e13 UI changes checking in 2026-03-30 07:53:42 -05:00
npalOmega
933e93c845 fixed style, added new pages, refactored 2026-01-20 15:05:00 -06:00
npalOmega
27d68b50e9 commiting changes 2026-01-11 17:35:46 -06:00