"My cards" section

Abierto
#8,655 4 comentarios 2 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
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
javascript

Línea de trabajo

Start by reading the existing /upcoming implementation and how it uses the /boards and /boards/{id}/stacks REST endpoints; the issue names no source files or tests. The requested work spans several views, drag-and-drop interactions, and private per-user storage, with API gaps also identified. Done means the described cross-board views and private sorting behavior are available without changing shared cards or boards.

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

Descripción

0. Needs triage enhancement
How to use GitHub

Is your feature request related to a problem? Please describe.

There is no cross-board view of "my cards" that I can sort myself. Deck offers:

  • the per-board filter "assigned to me", which stops at the board boundary;
  • /upcoming, which spans boards but is strictly grouped by due date – useless for cards without a due date and for any priority that isn't a date;
  • global search (assigned:me), which is a flat, unsortable result list.

In a team with 10+ boards, every member keeps a mental list of "what is actually mine right now, and in which order". Labels can't fill the gap: they are per board, shared with everyone and have team semantics; a personal "Fokus / Später" ordering doesn't belong on a shared board.

Describe the solution you'd like

Extend /upcoming into a "My cards" section with several views of the same data set (all open cards assigned to me, across all boards I can access):

  1. Upcoming – today's view, unchanged.
  2. Boards – one column per board, cards in their list/position order, list names as sub-headers; column order of the boards user-sortable by drag & drop.
  3. My sorting – user-defined columns ("buckets"), name and colour per column, plus a trailing "Unsorted" column holding everything not placed yet; cards moved between columns by drag & drop; the whole thing is private per user and does not touch the card (no label, no list move, nothing visible to others).
  4. Recent – two columns: latest comments on my cards (from the Activity feed, with author, time and text) and my cards by lastModified.

Storage for 2 and 3 is tiny per-user data: board order, bucket list (id, name, colour, card ids), unsorted-column name/colour/position – a user config value or a small table. Opening a card from any view should open the regular card details, as /upcoming already does.

Describe alternatives you've considered

  • Labels like agenda:fokus as pseudo-priorities: per board, visible to the whole team, and overlapping with real label usage. Rejected.
  • Moving cards to a personal board: breaks the shared boards, cards can only live on one board.
  • Due dates as the only ordering: /upcoming already does this; it's the thing that doesn't fit.

Because none of these work, I built the views above as a standalone page against the current REST API (/boards, /boards/{id}/stacks, the Activity OCS API, plus a per-user JSON file on WebDAV for the private sorting). The API was sufficient; the only gaps were:

  • no "cards assigned to me across boards" endpoint – the page has to fetch every board's stacks and filter assignedUsers client-side (one request per board);
  • comments are only reachable per card or via the Activity feed, not per user.

Happy to share the implementation (plain HTML/JS, mirrors Deck's card/stack markup) as a reference for the UI and the drag & drop behaviour if that helps.

Additional context

  • Nextcloud 34, Deck 1.18 (stable34).
  • Related: #6489 asks for the same thing in short form; this issue is the detailed version (concrete views, storage, API gaps) and could supersede it.
Lenguaje dominante
JavaScript
Estrellas
1.4k
Forks
380
Merge medio
1 d 17 h
PR fusionados (30 d)
72

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

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 nextcloud/deck

Todos los issues de nextcloud/deck

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.