Skip to content

Move the guild's Commit into the nav bar and make Join a glass pill - #226

Draft
simonhamp wants to merge 1 commit into
mainfrom
feat/guild-header-buttons
Draft

simonhamp wants to merge 1 commit into
mainfrom
feat/guild-header-buttons

Conversation

@simonhamp

@simonhamp simonhamp commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

The guild header had three small theme buttons beside the guild's icon: Commit, the moderator's Edit, and Join or Leave. This changes two things.

Commit is now a pencil in the nav bar, before the more menu, like the Log's new commit button. It calls the same composeForGuild as before, so it opens the guild composer. It only shows while the guild takes posts, so a paused guild has just the more menu. VoiceOver reads it as "New commit in #handle".

Join and Leave now use glass-pill-button, the partial Follow and Remote use on a profile. They are 40pt pills on Liquid Glass on iOS, with Join filled in your colour and Leave on clear glass. Android gets the same tonal pills the profile has. I put the moderator's Edit on the same pill, because a small button next to a 40pt pill looked out of place.

The Log switches to a system icon when it sits in an iOS workspace column. A guild never opens in a workspace column (Workspace::paneFor() only takes commits and Remotes threads) and always pushes over its tab, so the guild's action uses the Lucide pencil on both platforms, as Remotes does.

Worth a look:

  • On iOS a long guild name now shares the bar with two actions, so iOS moves the title to the left when it can't fit in the middle. You can see it with "Laravel Artisans" in the joined screenshots.
  • The Commit tests in GuildPostTest now check the bar action: its icon, label and position, that pressing it at its own callback opens the composer, and that it's gone on a paused guild. GuildTest checks Join and Leave are 40pt pills with glass on iOS and the right fill on each platform. The full suite passes when run serially (2437 passed, 12 skipped).

Screenshots

Taken against a local API with four seeded guilds: one you haven't joined, one you have, one you moderate and a paused one. The moderator screenshots show Edit.

not-joined

iOS light iOS dark Android light Android dark
Before
After

joined

iOS light iOS dark Android light Android dark
Before
After

moderator

iOS light iOS dark Android light Android dark
Before
After

paused

iOS light iOS dark Android light Android dark
Before
After
  • No visible change

🤖 Generated with Claude Code

The guild header had Commit, Edit and Join or Leave as small theme
buttons. Commit is now a pencil in the nav bar before the more menu, the
same as the Log's new commit action, and it only shows while the guild
takes posts. Join, Leave and the moderator's Edit use the 40pt pill the
profile's Follow and Remote use: glass on iOS, Join filled in your colour,
Leave and Edit clear glass, tonal pills on Android.

A guild always opens pushed over its tab, never in an iOS workspace
column, so the bar action uses the Lucide pencil on both platforms.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shanesmithdev

Copy link
Copy Markdown
Contributor

That looks better than what I had!

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