"My cards" section

Đang mở
#8,655 4 bình luận 2 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript
Lĩnh vực
api, database, frontend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
JavaScript
Star
1.4k
Fork
380
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
72

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nextcloud/deck

Tất cả issue của nextcloud/deck

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.