"My cards" section

Aperta
#8,655 4 commenti 2 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript
Ambito
api, database, frontend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
JavaScript
Stelle
1.4k
Fork
380
Merge medio
1g 17h
PR unite (30g)
72

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nextcloud/deck

Tutte le issue di nextcloud/deck

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.