Skip to content

RM-335: Handle channels the bot can't view in panels - #155

Merged
biast12 merged 4 commits into
masterfrom
RM-335
Oct 8, 2026
Merged

biast12 merged 4 commits into
masterfrom
RM-335

Conversation

@biast12

@biast12 biast12 commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

RM-335

Description

Supports Discord channel obfuscation.

  • Obfuscated channels are left out of /channels.
  • Panel and multi-panel saves reject them with "not visible to the bot - grant it the View Channel permission".
  • Permission check reports no_access instead of "deleted", and the warning banner shows it.
  • Thread-mode panels no longer validate the unused ticket category, and channel-mode panels no longer validate the unused notification channel.

Needs:
TicketsBot-cloud/gdl#17
TicketsBot-cloud/tickets.rs#17

Type of Change

  • Bug fix
  • New feature
  • Breaking change

Testing

  • Backend: go build ./... and go vet
  • Frontend: tsc --noEmit, eslint and prettier

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

Exclude obfuscated channels from API results and reject inaccessible panel, category, transcript, and notification channels during validation. Expose no-access permission results in the frontend and update panel forms to validate channel requirements according to thread mode.
@BenHall-1

Copy link
Copy Markdown
Member

Ready for GDL Bump

@biast12

biast12 commented Sep 27, 2026

Copy link
Copy Markdown
Contributor Author

@BenHall-1 bumped!!

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

Deploying tickets-v2-dashboard with  Cloudflare Pages  Cloudflare Pages

Latest commit: e1ded5d
Status: ✅  Deploy successful!
Preview URL: https://3ca97be6.tickets-v2-dashboard.pages.dev
Branch Preview URL: https://rm-335.tickets-v2-dashboard.pages.dev

View logs

BenHall-1
BenHall-1 previously approved these changes Oct 8, 2026
@biast12
biast12 merged commit 9a2a858 into master Oct 8, 2026
3 checks passed
@biast12
biast12 deleted the RM-335 branch October 8, 2026 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:bug Bug Fixes type:feature New Feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants