Skip to content

Fix support ticket close, delete, and the claim shown in Discord - #22

Merged
BoxingOctopus merged 3 commits into
mainfrom
patch/ticket_panel_channel
Nov 24, 2026
Merged

BoxingOctopus merged 3 commits into
mainfrom
patch/ticket_panel_channel

Conversation

@BoxingOctopus

Copy link
Copy Markdown
Contributor

Summary

  • A selected panel channel or support role was saved as empty, so posting the ticket panel answered "Choose a panel channel." Channel and role dropdowns now store the select element's own value.
  • Closing a ticket saves the transcript, posts it in the transcript channel, and deletes the ticket channel ten seconds later. Reopen during those ten seconds keeps the channel.
  • Delete ticket removes a closed channel on click. The transcript is already saved from the close.
  • Claim, release, and reopen were written to the database and the dashboard, while the Discord message was rebuilt from the ticket loaded before the save. The channel message now uses the updated ticket.

Test plan

  • On Support tickets, choose an existing panel channel, a category, a transcript channel, and the support role. Save and post the panel. Reload and confirm the panel channel is still selected.
  • Open a ticket in Discord, claim it, and confirm the channel says who claimed it. The dashboard should show the same name.
  • Release the claim and confirm Discord says nobody has claimed it.
  • Close the ticket with a reason. Confirm the transcript is in the dashboard and the transcript channel, and that the ticket channel is gone within ten seconds.
  • Close another ticket and press Delete ticket before the ten seconds are up. The channel should disappear immediately, and the transcript should stay in the dashboard.
  • Reopen a ticket during the ten seconds and confirm the channel stays.

The panel dropdown fix is already on main as #20. The close, delete, and claim fixes are not in the current tree, so this description covers that work only once those changes are committed.

BoxingOctopus and others added 2 commits November 15, 2026 20:34
Reopen before then puts the ticket back. The delete button removes the channel immediately, and the docs match that behavior.

Co-authored-by: Cursor <cursoragent@cursor.com>
@BoxingOctopus BoxingOctopus added the release:patch Fix: bump the patch version (the default) label Nov 24, 2026
Keep the dashboard check that a closed ticket channel is deleted ten seconds later.

Co-authored-by: Cursor <cursoragent@cursor.com>
@BoxingOctopus
BoxingOctopus merged commit 72c64f7 into main Nov 24, 2026
5 checks passed
@BoxingOctopus
BoxingOctopus deleted the patch/ticket_panel_channel branch November 24, 2026 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:patch Fix: bump the patch version (the default)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant