feat: add admin channel directory to server settings - #860
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
gusye1234
marked this pull request as ready for review
October 1, 2026 17:45
gusye1234
marked this pull request as draft
October 2, 2026 02:23
gusye1234
marked this pull request as ready for review
October 2, 2026 02:38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Server owners and administrators can open Server Settings → Channels, immediately after Members, to inspect every top-level text/forum channel in their server, including private channels they have not joined. Rows show group, channel name, creator and creation time; listing metadata does not grant private-message access.
The 77-line Settings view renders its own group headers and readonly rows. Public groups reserve a blank icon slot; private groups show a lock. Native buttons handle collapse, creator handles use the existing MentionPill, and long channel names wrap on mobile. The original channel panel, sortable components, sidebar tests and composer picker have zero diff against PR base
266ff110b65c4b15841a9794a5b568bab9577de2.The admin-only
GET /api/community/servers/{id}/channels/adminuses primary-DB authorization and a server-scoped metadata query, excludes child threads/DMs and deleted creator details, and returnsCache-Control: private, no-store. It runs only when Channels is selected and uses an isolated, non-persisted query cache with request cancellation and role/server guards. No dependencies or schema migrations are added. The complete PR is 16 files, +707/−5, including frontend and backend.Validation on final SHA
d5583ba288b3691177106439e938506d10df9122: