Skip to content

Add interactive PR detail view with CRUD and markdown editor#39

Merged
stylessh merged 1 commit intomainfrom
stylessh/pr-review-requests
Apr 9, 2026
Merged

Add interactive PR detail view with CRUD and markdown editor#39
stylessh merged 1 commit intomainfrom
stylessh/pr-review-requests

Conversation

@stylessh
Copy link
Copy Markdown
Owner

@stylessh stylessh commented Apr 9, 2026

Summary

  • Add full CRUD for PR reviewers and labels with optimistic updates and auto-revert on error via a reusable useOptimisticMutation hook
  • Add review request banner when the authenticated user is requested for review
  • Add in-app PR description editor with syntax-highlighted markdown (shiki), formatting toolbar with keyboard shortcuts (⌘B, ⌘I, ⌘E, ⌘K, etc.), and edit/preview tabs
  • Extract reusable Spinner and LabelsSection components; add markdown token colors to shiki themes
  • Add entity-scoped cache busting helpers for pulls and issues

Test plan

  • Open a PR detail page, verify reviewer and label add/remove works with instant UI feedback
  • Trigger a mutation error and verify optimistic state reverts
  • Open a PR where you are requested for review, verify the banner appears
  • Edit a PR description: test toolbar buttons, keyboard shortcuts, scroll sync, and save
  • Verify merged PRs hide the "Review changes" CTA

…arkdown editor

- Add reviewer and label management with remove buttons and optimistic updates
- Create reusable useOptimisticMutation hook with auto-revert on error
- Add review request banner for authenticated user
- Add PR description editor with syntax-highlighted markdown, toolbar, and keyboard shortcuts
- Add entity-scoped cache busting helpers for pulls and issues
- Add Spinner component and markdown token colors to shiki themes
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
diffkit ba1cc30 Commit Preview URL

Branch Preview URL
Apr 09 2026, 12:58 PM

@stylessh stylessh merged commit 313579d into main Apr 9, 2026
4 checks passed
stylessh added a commit that referenced this pull request Apr 18, 2026
…arkdown editor (#39)

- Add reviewer and label management with remove buttons and optimistic updates
- Create reusable useOptimisticMutation hook with auto-revert on error
- Add review request banner for authenticated user
- Add PR description editor with syntax-highlighted markdown, toolbar, and keyboard shortcuts
- Add entity-scoped cache busting helpers for pulls and issues
- Add Spinner component and markdown token colors to shiki themes
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