Skip to content

Receiver inbox から GitHub Issue を作成する #29

Description

@kosako

背景

PatchLoop は画面上の feedback を修正文脈につなげるためのプロトタイプ。receiver inbox には feedback と screenshot を保存できるようになったが、GitHub Issue 作成の経路はまだない。

目的

receiver inbox の feedback item から GitHub Issue を作成できるようにする。

想定スコープ

  • receiver に GitHub 設定を追加する
    • target repository
    • optional labels
    • optional assignees
  • inbox card ごとに Create GitHub Issue 操作を追加する
  • feedback payload から issue title / body を生成する
  • issue body に page URL、selector、target position、reviewer、created timestamp、screenshot URL、raw payload details を含める
  • GitHub 連携結果を integrations.github に保存する
  • inbox 上に GitHub 作成ステータスと issue link を表示する

受け入れ条件

  • receiver inbox card から GitHub Issue を作成できる
  • 作成された issue に visual feedback を再現するための文脈が入っている
  • screenshot がある場合は screenshot link が含まれる
  • 成功結果が server/feedback.json に保存される
  • 失敗しても feedback item は失われず、エラー状態が inbox に表示される
  • README / README.en に必要な config と local setup が追記されている

メモ

  • ブラウザ側から GitHub API を呼ばない。token / credential は receiver 側に閉じる。
  • local prototype としては gh CLI 利用も選択肢だが、credential の境界は明示する。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions