Summary
This issue tracks the implementation of three features under the ACM HR tab: a searchable officer selector, the ability to delete officers from Firebase (with a confirmation guard), and a strike system (max 3) visible only to Exec users in the Officer View.
Officer search
- Add a search input under the ACM HR tab to locate and select an officer
- Search should filter officers in real time by name
- Selected officer context drives deletion and strike actions below
Officer deletion
- Provide a Delete Officer action for the selected officer
- Show a confirmation prompt — have to type officer full name before any write occurs
- On confirmation, fully remove the officer from Firebase
- On cancellation, take no action and return to the HR view
Strike management
- Allow Exec users to assign strikes to officers (max 3 per officer) and add a description, date given, title.
- Store strike count on the officer's Firebase record
- Have a striked officers view only shown on the hr tab
- Strike count is visible to Exec users only — all other roles must not see this field!!!!!!!
Summary
This issue tracks the implementation of three features under the ACM HR tab: a searchable officer selector, the ability to delete officers from Firebase (with a confirmation guard), and a strike system (max 3) visible only to Exec users in the Officer View.
Officer search
Officer deletion
Strike management