Skip to content

RM-225: Claimed and claimed_by naming scheme#87

Merged
BenHall-1 merged 3 commits intoTicketsBot-cloud:masterfrom
biast12:RM-225
Jan 6, 2026
Merged

RM-225: Claimed and claimed_by naming scheme#87
BenHall-1 merged 3 commits intoTicketsBot-cloud:masterfrom
biast12:RM-225

Conversation

@biast12
Copy link
Copy Markdown
Contributor

@biast12 biast12 commented Jan 5, 2026

Description

RM-225
Allows %claimed% and %claimed_by% to be used as a naming scheme, allowing users to see the claim status of a ticket

Dashboard: TicketsBot-cloud/dashboard#74
Docs: TicketsBot-cloud/docs#25

Type of Change

  • Bug fix
  • New feature
  • Breaking change

Testing

%claimed% should work like normally and just display claimed or unclaimed
%claimed_by% shows the user who has claimed the ticket, it does not show anything if the ticket is not claimed, and if only %claimed_by% is used does it display unclaimed as a fallback

Checklist

  • My code follows the style of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works

Introduces the %claimed_by% placeholder for ticket/channel names, substituting the claimer's username or 'unknown' if unavailable. Adds CleanChannelName to sanitize channel names by removing redundant characters and formatting issues caused by empty placeholders, and ensures a fallback name of 'unclaimed' if the result is empty.
BenHall-1
BenHall-1 previously approved these changes Jan 6, 2026
Copy link
Copy Markdown
Member

@BenHall-1 BenHall-1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 🎉

Introduces a new 'claim_indicator' substitutor in both the ticket rename command and channel name generation logic. This provides a visual indicator (🔴 or 🟢) based on whether a ticket is claimed.
@BenHall-1 BenHall-1 merged commit bd59d7e into TicketsBot-cloud:master Jan 6, 2026
@biast12 biast12 deleted the RM-225 branch January 6, 2026 20:27
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