feat(web): render GitHub assignees on stories - #161
Open
Nxssie wants to merge 2 commits into
Open
Conversation
Facility already mirrors gh_issues.assignees end to end and ships it on both the pipeline and story-detail responses, but apps/web never read the field, so ownership was invisible without opening GitHub. - show @login chips (first + N) on the story row and story header, with a GitHub avatar that falls back to an initial when the browser can't reach github.com - add a "mine" filter on the Stories board matching the signed-in user's githubLogin
"mine" filters by assignee, an axis independent from stage — grouping it inline with the single-select stage tabs read as if it belonged to the same selection. Move it to the end of the row, set off with a vertical divider, so it reads as its own filter.
Author
|
Pushed a follow-up commit (a98dd21) after manually walking through this on a local instance:
No behavior change to the filtering logic itself, just the grouping/placement. |
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.
Summary
Closes #101.
Facility already mirrors
gh_issues.assigneesend to end — webhook sync,services/api/src/pipeline.ts, and bothPipelineStorySchema.assigneesandStoryDetailSchema.assignees— butapps/webnever read the field, soownership was invisible without opening GitHub.
@loginassignee chips on the story row (IssueRow) and the storydetail header, in the existing label/timestamp grammar. Several assignees
collapse to the first plus
+N; unassigned renders nothing (Backlog'scommon case), not a placeholder.
AssigneeChip: GitHub avatar (github.com/{login}.png, no new synccolumn needed) with an initial-letter fallback for deployments where the
browser can't reach
github.com.against the signed-in user's
githubLogin(from Show the signed-in GitHub user, and assign them on the issue and the PR #70).Test plan
bunx tsc --noEmit— cleanbunx vitest run(apps/web, full suite) — 67/67 passing, including newcoverage in
pipeline-story.test.tsfor the unassigned, +N, andavatar/fallback cases
bunx biome checkon touched files — clean