feat: support tickets between accounts and platform admins
ci / lint (push) Skipped
ci / test (push) Skipped
ci / build (push) Skipped
ci / image (push) Skipped
ci / lint (pull_request) Successful in 7m0s
ci / test (pull_request) Successful in 12m1s
ci / build (pull_request) Successful in 18m14s
ci / image (pull_request) Successful in 5m9s
ci / lint (push) Skipped
ci / test (push) Skipped
ci / build (push) Skipped
ci / image (push) Skipped
ci / lint (pull_request) Successful in 7m0s
ci / test (pull_request) Successful in 12m1s
ci / build (pull_request) Successful in 18m14s
ci / image (pull_request) Successful in 5m9s
Accounts open tickets under Support and admins answer them under Admin → Support tickets. - A ticket is open while it waits for the admins and answered while it waits for the account. Either side can close or reopen it, and a reply reopens it. - The admins are mailed about new tickets and replies, and the account about answers. - A ticket can name the active organization and point at a monitor, notification channel, alert group, status page or incident in it. Each must be something the account can read. - Next to the conversation, admins see the account at a glance: state, sign-in, organizations with their limits and usage, and open tickets. - Admins switch support off and limit how many tickets an account has open at once. - Suspended accounts and those yet to accept the terms reach support too; a suspended account opens one ticket. - Tickets are part of the account export and are deleted with the account. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
This commit is contained in:
1 parent
9fc3c6b050
commit
f3d402705e
25 files changed
+5296
-451
No files matched your search
@@ -441,6 +441,30 @@ type StatusPageMonitor struct {
|
||||
GroupID *uuid.UUID
|
||||
}
|
||||
|
||||
type SupportMessage struct {
|
||||
ID uuid.UUID
|
||||
TicketID uuid.UUID
|
||||
AuthorID *uuid.UUID
|
||||
FromStaff bool
|
||||
Body string
|
||||
CreatedAt time.Time
|
||||
}
|
||||
|
||||
type SupportTicket struct {
|
||||
ID uuid.UUID
|
||||
UserID uuid.UUID
|
||||
OrgID *uuid.UUID
|
||||
MonitorID *uuid.UUID
|
||||
ChannelID *uuid.UUID
|
||||
AlertGroupID *uuid.UUID
|
||||
StatusPageID *uuid.UUID
|
||||
IncidentID *uuid.UUID
|
||||
Subject string
|
||||
Status string
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
}
|
||||
|
||||
type User struct {
|
||||
ID uuid.UUID
|
||||
Email string
|
||||
|
||||
Reference in new issue
Block a user