feat(timeline): save named timeline views per workspace

Abierto
#401 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
14/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
nextjs, postgresql, react, typescript

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
TypeScript
Estrellas
1
Forks
1
Merge medio
6 h 56 min
PR fusionados (30 d)
136

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de eddiejaoude/StackDash

Todos los issues de eddiejaoude/StackDash

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.