"My cards" section

Open
#8,655 4 comments 2 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript
Domain
api, database, frontend

Research direction

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.

Written by the indexing model from the issue text.

Description

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.
Dominant language
JavaScript
Stars
1.4k
Forks
380
Avg merge
1d 17h
Merged PRs (30d)
72

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nextcloud/deck

All issues in nextcloud/deck

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.