feat(timeline): save named timeline views per workspace

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

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

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

評価

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

調査の方向性

Read #377 (option 9) and #119 first, then src/lib/timeline/query.ts to see how timelineHref serialises filters, and src/lib/palette/commands.ts for the existing jump targets. The blocking step is the options table: pick storage shape, RLS policies and permission model, and where views surface. Done means a recorded decision plus a saved view that restores its exact URL filters, with pgTAP coverage for member/nonmember/anonymous and a Playwright save-and-restore test.

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

説明

area: timeline enhancement priority: P3 size: M

Context

Original option 9 of #377 ("Named, shareable views"), deferred by the #377 review. URLs already share a view (timelineHref, src/lib/timeline/query.ts) and the command palette already jumps to a provider or type timeline (src/lib/palette/commands.ts). What is new is saving a named filter set per workspace, such as "Production" or "Payments".

Plan

Not specified yet. Needs a decision on:

  1. Storage: a new table with RLS and policies in the same migration, scoped to workspace, and who may create, rename, and delete a view.
  2. Overlap with the per-member preferences in #119.
  3. Where views appear: timeline header, command palette, or both.

Acceptance criteria

  • Options table on this issue with Eddie's choice recorded, including the overlap with #119.
  • A saved view restores exactly the URL filters it was saved with, and a member of another workspace cannot read its name.

Files and areas

New migration and RLS, src/lib/timeline/query.ts, timeline page, command palette. Non-goal: changing URL sharing.

Verification

pgTAP tests for RLS (member, nonmember, anonymous); Playwright for save and restore.

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 を短くまとめたダイジェスト。