Skip to content

v0.1.4

Choose a tag to compare

@hasdfa hasdfa released this 04 Mar 12:01
1c242d5

PR Reviews & Review Threads in Workspace Overview

Added full support for viewing PR reviews and inline review comment threads directly in the workspace overview.

  • PR review display — Shows APPROVED, CHANGES_REQUESTED, COMMENTED, and DISMISSED reviews with author info and timestamps
  • Review comment threads — Renders inline review comments with diff hunks and threaded replies
  • Unified activity timeline — Merges issue comments and reviews into a single chronological feed, replacing the previous comments-only view

HTML Sanitization for Markdown

PR descriptions and comments from GitHub can contain embedded HTML. Added rehype-raw + rehype-sanitize to safely render this HTML using GitHub's own sanitization schema. Styled <details>/<summary> disclosure elements in prose.

Code Cleanup & Refactoring

  • Extracted a shared MarkdownBody component to deduplicate rehype config and ReactMarkdown usage across OverviewTab, ReviewCard, and ReviewThread
  • Removed dead getPrComments IPC handler and preload method (replaced by getPrActivity)
  • getPrActivity now accepts prNumber directly, avoiding a redundant subprocess call
  • Restored optimistic updates for comment posting instead of full refetch
  • Fixed no-op ternary in timeline sort comparator
  • Single-pass comment partitioning in assembleThreads