Skip to content

feat(RM-51): Show panel name in close container if available (CV2)#22

Merged
BenHall-1 merged 4 commits intoTicketsBot-cloud:cv2from
biast12:cv2-panelname
Mar 1, 2026
Merged

feat(RM-51): Show panel name in close container if available (CV2)#22
BenHall-1 merged 4 commits intoTicketsBot-cloud:cv2from
biast12:cv2-panelname

Conversation

@biast12
Copy link
Copy Markdown
Contributor

@biast12 biast12 commented Jul 18, 2025

RM-51
Adds the panel name to the close container details if the ticket has an associated panel with a title.
Also refactors claimedBy and reason formatting logic for clarity and error handling.

biast12 added 2 commits July 18, 2025 23:51
Adds the panel name to the close container details if the ticket has an associated panel with a title. Also refactors claimedBy and reason formatting logic for clarity and error handling.
@biast12
Copy link
Copy Markdown
Contributor Author

biast12 commented Jul 19, 2025

I converted rating/feedback/DM transcript also

Can't test the buttons still but i assume they work as i haven't changed anything for the buttons themself

Would be nice if we could add the server name to the DM message also, just need to do it tomorrow i guess

image image

The BuildCloseContainer function now accepts a guild parameter to display the server name and icon in the ticket close UI (DMs only).
@biast12
Copy link
Copy Markdown
Contributor Author

biast12 commented Jul 19, 2025

And the server name and icon is also added now
image

Refactors the logic for building the section with a guild icon accessory in the close embed. Now only adds the accessory if the guild and icon are present, otherwise appends the text display directly. This prevents empty or incorrect accessory fields.
@biast12 biast12 changed the title feat(RM-51): Show panel name in close container if available feat(RM-51): Show panel name in close container if available (CV2) Aug 5, 2025
@biast12
Copy link
Copy Markdown
Contributor Author

biast12 commented Feb 15, 2026

Just a note, this is for #18 / cv2, and is not a feature to be added into the main bot yet

@BenHall-1 BenHall-1 merged commit 4b515f6 into TicketsBot-cloud:cv2 Mar 1, 2026
@biast12 biast12 deleted the cv2-panelname branch March 1, 2026 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants