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
+12
-2
@@ -222,7 +222,12 @@ templ ConsentPage(p Page, me Me, docs []LegalLink, versions, next string) {
|
||||
</label>
|
||||
@submit(i18n.T(ctx, "consent.submit"))
|
||||
</form>
|
||||
<p class="mt-6 text-sm"><button data-logout class="underline underline-offset-2">{ i18n.T(ctx, "console.nav.logout") }</button></p>
|
||||
<p class="mt-6 flex flex-wrap gap-x-4 text-sm">
|
||||
if me.Support {
|
||||
<a href="/support" class="underline underline-offset-2">{ i18n.T(ctx, "support.contact") }</a>
|
||||
}
|
||||
<button data-logout class="underline underline-offset-2">{ i18n.T(ctx, "console.nav.logout") }</button>
|
||||
</p>
|
||||
<div class="mt-12 border-t border-rule pt-6">
|
||||
<p class="mb-6 text-sm text-muted">{ i18n.T(ctx, "consent.decline") }</p>
|
||||
@accountDataBody(me)
|
||||
@@ -246,7 +251,12 @@ templ SuspendedPage(p Page, me Me, reason string) {
|
||||
<p class="mb-6 border-l-2 border-down pl-3 text-sm">{ reason }</p>
|
||||
}
|
||||
<p class="mb-6 text-sm text-muted">{ i18n.T(ctx, "suspended.options") }</p>
|
||||
<p class="mb-10 text-sm"><button data-logout class="underline underline-offset-2">{ i18n.T(ctx, "console.nav.logout") }</button></p>
|
||||
<p class="mb-10 flex flex-wrap gap-x-4 text-sm">
|
||||
if me.Support {
|
||||
<a href="/support" class="underline underline-offset-2">{ i18n.T(ctx, "support.contact") }</a>
|
||||
}
|
||||
<button data-logout class="underline underline-offset-2">{ i18n.T(ctx, "console.nav.logout") }</button>
|
||||
</p>
|
||||
@accountDataBody(me)
|
||||
</main>
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user