Repository navigation
[Guilds 06] Mute, report and share a guild from its ⋯ menu - #215
Draft
shanesmithdev wants to merge 4 commits into
Draft
shanesmithdev wants to merge 4 commits into
shanesmithdev wants to merge 4 commits into
Conversation
The guild page's header now has Join or Leave beside the icon, as a profile has Follow, with Commit (posting to the board) where Remote sits. Share stays alone in the top bar. Joining or leaving changes the button and the member count at once, puts them back if devnull refuses, and unmutes a guild you join, as devnull does. Tapping the member count opens the guild's members, as the web lists them: avatar, name, handle and bio, with "(moderator)" on the moderator's row while they're a member, and no Follow buttons.
A hashtag that names a guild now opens the guild instead of a search. Any non-guild hashtag still opens search instead. In a commit it shows as a chip: the guild's name in medium mono on a wash, in a colour picked from its handle. The guild's icon can't sit in text yet, so it's left out for now. In a Remotes message the name keeps the bubble's link colour, which a guild's colour could clash with.
shanesmithdev
marked this pull request as draft
November 24, 2026 16:41
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.
Status: Pending #211 (Guilds 05) being merged first.
This builds on #211, which builds on #210 and #214, so until those merge this PR also shows their commits. Only the guild page's ⋯ menu is new here. It uses the guild mute and report API in dev-null.sh, which is merged and live.
What's in this PR?
The guild page's top bar has a ⋯ menu in place of Share, like the ⋯ on someone else's profile:
Mute and Unmute ask first, as on a profile ("Mute #laravel?" / "You won't see its commits in your logs or search."). The menu updates straight away and goes back, with the reason, if devnull rejects the request for whatever reason.
Report guild opens a sheet like the commit reporting: "Report Laravel", "Your report is private. Admins will review the description and icon. Reporting does not hide the guild.", a required "What looks wrong?" (up to 500 characters) and "Send report". Once devnull has it, the sheet says "Report received. Admins will review it privately." If devnull rejects the request, the reason shows in the sheet and what you wrote stays so it doesn't need to be re-typed.
Testing
Pest tests (
GuildMenuTest) cover the menu for a guild you haven't joined, have joined, have muted, moderate and one that's paused; muting and unmuting with Cancel, refusals and joining after muting; and reporting, including details of only spaces, refusals, swiping the sheet away and Done.Locally, the full suite passes. Checked by hand on an Android phone against a local dev-null.sh.
Independent review
A fresh reviewer, who hadn't seen the work being built, read the change and the screenshots. It found one issue, now fixed: Done reset the report sheet while it was still closing, so it could go blank or grow as it slid away.
Screenshots
iOS is missing: building for iOS needs Xcode 27.2, which isn't installed on my local machine yet.