Skip to content

feat: issue 101 - show who owns a story - #293

Open
andybencomo95 wants to merge 1 commit into
theam:mainfrom
andybencomo95:feat/issue-101-story-assignees
Open

feat: issue 101 - show who owns a story#293
andybencomo95 wants to merge 1 commit into
theam:mainfrom
andybencomo95:feat/issue-101-story-assignees

Conversation

@andybencomo95

Copy link
Copy Markdown

Summary

Implements issue #101: Show who owns a story — render the assignees Facility already mirrors.

Changes

  • New component: apps/web/components/issues/assignees.tsx with:
    • AssigneeAvatar: GitHub avatar URL with initial-letter fallback when image fails to load
    • Assignees: Full display with avatar + @login for first assignee, +N with avatar stack tooltip on hover for additional assignees
    • CompactAssignees: Dense row version (avatar + @login + +N)
  • Story row (apps/web/components/issues/issue-row.tsx): Renders CompactAssignees alongside labels and timestamp
  • Story detail header (apps/web/app/(app)/projects/[projectId]/stories/[number]/page.tsx): Renders full Assignees component alongside labels
  • Stories board (apps/web/app/(app)/projects/[projectId]/stories/page.tsx): Adds "mine" filter chip next to stage chips, filtering by current user's GitHub login

Verification

  • pnpm build --filter=@facility/web
  • pnpm test --filter=@facility/web ✓ (13 test files, 69 tests)
  • pnpm biome check
  • Full pnpm test ✓ (16 suites, 389+ tests)

- Add Assignees and CompactAssignees components with GitHub avatar URLs and initial-letter fallback
- Render assignees on story row (IssueRow) and story detail header
- Add 'mine' filter on Stories board matching current user's GitHub login

New file:
- apps/web/components/issues/assignees.tsx
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