acmutd / acmutd/officer-database

feat: ACM HR

Đang mở
#67 0 bình luận 0 reaction 1 người được giao Được @danielnguywn nhận Xem trên GitHub
Type: Feature Request
Ngôn ngữ chính
TypeScript
Star
0
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.