feat(timeline): give deploys, payments, and alerts their own detail fields

オープン
#400 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
8/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
nextjs, postgresql, react, typescript
領域
api, database, frontend

調査の方向性

This is a design epic, not a patch: the plan is explicitly unspecified and the first deliverable is an options table on the issue itself. Start by reading the activity_events row in src/lib/supabase/database.types.ts, then the event details panel in src/components/timeline/event-inspector.tsx and one or two adapters under src/lib/adapters/ to see what fields each event type could emit. Compare a typed-columns migration in supabase/migrations/ against a validated jsonb payload or a side table, and check how api_activity_events is shaped today so the proposal stays non-breaking. Done means an options table with a recorded choice and sub-issues for schema, adapter, API and panel work.

索引モデルが issue の本文から書いたものです。

説明

area: timeline enhancement epic priority: P3 size: XL

Context

Original option 8 of #377 ("Event-specific detail treatments"), split out because the #377 epic records it as its own epic, not timeline polish. The event details panel (#380) shows the same generic fields for every event: activity_events has only title, body, and url (src/lib/supabase/database.types.ts, activity_events row). Deploys, payments, and alerts would read better with fields of their own.

Plan

Not specified yet. Needs an options table before any code, covering at least:

  1. Where structured fields live (typed columns, a validated jsonb payload per event type, or a side table) and the expand-then-contract migration path.
  2. Which adapters emit them first, and how the public events API (api_activity_events) exposes them without a breaking change.
  3. The panel layout per event type. Feed rows stay consistent.

Never infer money or other facts from prose (title/body); amounts follow the money rules (integer minor units plus currency).

Acceptance criteria

  • An options table on this issue, with Eddie's choice recorded.
  • Sub-issues for the chosen schema, adapter, API, and panel work.

Files and areas

Schema (supabase/migrations/), adapters (src/lib/adapters/), public events API, src/components/timeline/event-inspector.tsx. Non-goal: changing feed rows.

Verification

Defined per sub-issue.

Model: anthropic/claude-opus-5-5 | Reasoning effort: not exposed by harness

主要言語
TypeScript
スター
1
フォーク
1
平均マージ
6時間 56分
マージ済み PR(30日)
136

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

eddiejaoude/StackDash のほかの issue

eddiejaoude/StackDash の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。