-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: ERT Request panel for admins #1061
Conversation
Reviewer's Guide by SourceryThis pull request introduces an Emergency Response Team (ERT) request panel for admins. It allows admins to dispatch ERTs with different roles and manage incoming ERT requests. Sequence diagram for ERT request and response flowsequenceDiagram
actor User
participant CC as Communications Console
participant Server
participant Admin
participant ERT as ERT Manager
User->>CC: Click 'Request Emergency Response Team'
CC->>User: Show reason input modal
User->>CC: Enter reason
CC->>Server: Send ERT request
Server->>Admin: Notify about ERT request
Admin->>ERT: Open ERT Manager
alt Accept Request
ERT->>Server: Configure and dispatch ERT
Server->>User: Announce ERT deployment
else Deny Request
ERT->>Server: Send denial with reason
Server->>User: Announce ERT denial
end
Class diagram for ERT Manager systemclassDiagram
class ErtManager {
+String name
+String ert_type
+int admin_slots
+int commander_slots
+int security_slots
+int medical_slots
+int engineering_slots
+int janitor_slots
+int inquisitor_slots
+ui_interact()
+ui_data()
+ui_act()
+slots_to_roles()
+makeERTFromSlots()
}
class MessageType {
+String time
+String sender_real_name
+String sender_uid
+String message
}
ErtManager -- MessageType
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ну на тестмерже ошибок сообщено не было(?), насчет кода особо сказать не могу.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: dj-34 <[email protected]>
Последний вздох рос сумпле |
Что этот PR делает
Порт ЕРТ панели с пары. Пока не модульно, надо чтоб всё заработало.
Почему это хорошо для игры
admins want
Изображения изменений
Тестирование
лкльн
Changelog
🆑
admin: Панель ЕРТ Менеджера
/:cl:
Summary by Sourcery
Add an ERT request panel for admins to the communications console. Allow admins to send ERT requests, view existing requests, and deny requests with a reason.
New Features: