acmutd / acmutd/officer-database

feat: ACM HR

未关闭
#67 0 条评论 0 个 reaction 已指派 1 人 已被 @danielnguywn 认领 在 GitHub 查看
Type: Feature Request
主要语言
TypeScript
星标
0
派生
1
PR 合并指标
30 天内没有已合并 PR

描述

### **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!!!!!!!

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。