Skip to content

[Guilds] Say which joined guild brought a commit into Following - #242

Draft
shanesmithdev wants to merge 1 commit into
NativePHP:mainfrom
shanesmithdev:because-you-joined
Draft

shanesmithdev wants to merge 1 commit into
NativePHP:mainfrom
shanesmithdev:because-you-joined

Conversation

@shanesmithdev

Copy link
Copy Markdown
Contributor

Status: Draft. Not blocked: the API it uses (dev-null.sh #1649) is merged and live.

On the web, a commit that's in your Following log because you joined a guild says because you joined with the guild's pill, under its header. devnull now sends this as joined_guild on the signed Following log, so the app shows the same line.

  • It shows on the Following log only, as on the web, and takes the place of "posted in" when a commit has both.
  • It covers both ways a guild brings a commit in: posted in the guild, or tagged with its hashtag.
  • The pill shows the guild's icon and name, taken from the commit's own guild or the guilds its hashtags name, or the hashtag when the commit says nothing else. Tapping it opens the guild.
  • The pill is now one partial that "posted in" and "because you joined" share.

Testing

Pest tests cover reading joined_guild (named from the commit's guild, its guild mentions whatever the case, or the hashtag alone), the line in Following in place of "posted in", opening the guild from it, and no line on Latest. Checked by hand on the iOS simulator against a local dev-null.sh with #1649 in it.

Screenshots

Following

Notice how both commits now say because you joined with the guild's pill: one was posted in NativePHP, the other tags #rust. Neither author is followed.

Before After
iOS light
iOS dark

On the web, a commit that's in your Following log because you joined a
guild says "because you joined" with the guild's pill, under its header.
devnull now sends this as joined_guild on the signed Following log, so
the app shows the same line there, in place of "posted in".

The guild's name and icon come from the commit's own guild or the guilds
its hashtags name, falling back to the hashtag. The pill is now a shared
partial that both lines use, and tapping it opens the guild.
@shanesmithdev shanesmithdev changed the title Say which joined guild brought a commit into Following [Guilds] Say which joined guild brought a commit into Following Nov 30, 2026
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.

1 participant