Repository navigation
[Guilds 05] Open a guild from its hashtag in a commit or message - #211
Merged
Merged
Conversation
shanesmithdev
force-pushed
the
guilds-05
branch
from
November 23, 2026 16:27
8c82462 to
bc406cf
Compare
shanesmithdev
marked this pull request as ready for review
November 23, 2026 16:33
shanesmithdev
marked this pull request as draft
November 24, 2026 14:55
1 task
shanesmithdev
force-pushed
the
guilds-05
branch
from
November 26, 2026 13:58
bc406cf to
7970278
Compare
A hashtag that names a guild now opens the guild instead of a search. Any non-guild hashtag still opens search instead.
shanesmithdev
force-pushed
the
guilds-05
branch
from
November 26, 2026 14:36
7970278 to
fb59ecf
Compare
simonhamp
marked this pull request as ready for review
November 26, 2026 16:41
simonhamp
added a commit
to shanesmithdev/dev-null-app
that referenced
this pull request
Nov 26, 2026
Main now has NativePHP#211 as it was merged, so the older draft of it on this branch gives way. Commit.php, commit-body.blade.php and CommitDetailTest.php take main's version. GuildTest.php had a second copy of the join and leave tests from the last merge, so Pest refused to run the suite. It's back to what the guild menu commit intended: main's file without the share test, which moved to GuildMenuTest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 task
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: Draft. Waiting on new iOS screenshots.
This follows on from Guilds 04 (#210), which is merged. It uses the guild mentions dev-null.sh now sends with every commit and message, which are merged and live.
What's in this PR?
A hashtag that names a guild opens the guild, instead of a search for it, as on the web. Any other hashtag still searches.
In a commit, a guild's hashtag shows as a pill, like the web's guild mention and the "posted in" pill: the guild's mark (its uploaded icon, otherwise its emoji), then its name in mono, in a rounded tag on the wash.
In a Remotes message, a guild's name is mono in the bubble's link colour, without the background, as inline code is there. A guild's own colour could match the colour of your bubble.
Testing
Pest tests cover:
Locally, the tests for the commit, guild, log, profile, search and conversation screens and the unit tests pass (1,008). Checked by hand on an Android phone, with a commit mentioning 21 guilds.
Independent review
A fresh reviewer, who hadn't seen the work being built, read the first version of this commit, which drew guilds as coloured text. It found one bug, now fixed:
#rust, which replaced the real name devnull sent in its guild mentions, so the chip read "#rust" instead of "Rustaceans". devnull's name now wins, and a test covers it.And a few smaller points:
The pills replaced the coloured text after that review, so they haven't had one of their own yet.
Screenshots
New screenshots to come: Android is taken, and iOS waits on an Xcode update (the app needs the iOS 27.2 SDK to build). The ones that were here showed the earlier coloured text.