Skip to content

feat: show standard label tags in draft creation (#132)#142

Merged
neonwatty merged 3 commits intomainfrom
feat/standard-labels
Apr 19, 2026
Merged

feat: show standard label tags in draft creation (#132)#142
neonwatty merged 3 commits intomainfrom
feat/standard-labels

Conversation

@neonwatty
Copy link
Copy Markdown
Collaborator

Summary

  • Add "or create with labels and repo →" link in CreateDraftSheet, linking to the full /new page
  • Show standard fallback labels (bug, enhancement, documentation, question) in NewIssuePage when repo-specific labels are unavailable
  • Fix stale comments and use correct design tokens (--paper-ink-muted, --paper-serif)

Closes #132

Test plan

  • Open the FAB quick-create sheet — verify "or create with labels and repo →" link appears below the save button
  • Click the link — verify it closes the sheet and navigates to /new
  • On /new, select a repo with no cached labels — verify the 4 standard labels (bug, enhancement, documentation, question) appear as chips
  • Select a repo with cached labels — verify repo-specific labels appear instead of the fallback
  • Trigger a label fetch error (e.g., disconnect network) — verify the initError banner says "Showing default labels instead"
  • Typecheck passes: pnpm turbo typecheck

Add a "create with labels and repo" link in CreateDraftSheet pointing to
/new, and fall back to standard labels (bug, enhancement, documentation,
question) in NewIssuePage when repo-specific labels are unavailable.
- Use --paper-ink-muted instead of undefined --paper-ink-50 token
- Add font-family: var(--paper-serif) for consistency
- Update initError banner to reflect standard labels fallback
- Fix stale comment in page.tsx about empty label chips
@neonwatty neonwatty force-pushed the feat/standard-labels branch from de03ea0 to 7ee4f87 Compare April 19, 2026 02:14
@neonwatty neonwatty added this pull request to the merge queue Apr 19, 2026
Merged via the queue into main with commit 5eb5071 Apr 19, 2026
5 checks passed
@neonwatty neonwatty deleted the feat/standard-labels branch April 19, 2026 12:35
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.

Add the ability to add standard tags when creating issues like bug, enhancement, documentation, etc.

1 participant