James-Lycett / workplace-wellness

0 stars 0 forks source link

Some big changes #36

Closed James-Lycett closed 1 month ago

James-Lycett commented 1 month ago

Big pull request. I split the AdminHome page into 3 different components, added components for a table of a user's entries log, and shuffled the file system around a whole bunch. The user activity table ("UserRecordsTable.jsx" et al) still wants functionality for its buttons and probably some styling plus dates would be nice... I mostly just cloned the EmployeesList stuff over and adapted it all for entries instead. It still needs work but it's a step in the right direction.

I reorganized the file system so all the stuff we've been working on is under /Dashboard now instead of /AdminHome and slotted into neat little subdirectories for each component. Otherwise that /AdminHome folder was gonna have like 40 files in it to sort through. Just be warned the file structure is gonna look a lot different than what you've been seeing but I think it's a helpful move, lmk if you hate it.

To test:

Changes: