Gantt, Group by Assignee, Map, Multi Board Calendar, Roadmap, Statistics, Table, Time, Timeline, Board-view titles and Version Control now follow the shared structure, checked against the code. Corrected from the code: the menu names are Frappe Gantt and DHTMLX Gantt; those two draw a card only when it has a Start or Received date, and also draw dated checklist items; Roadmap groups only by text and dropdown fields and puts cards without a value in a No value row instead of leaving them out; Multi Board Calendar labels entries "[Board] Card" and follows the sidebar Filter; the Statistics view no longer shows the time spent summary, which is in the Time view; the Frappe Gantt repository link points to frappe/gantt. Thanks to xet7 !
8.7 KiB
Table view
What it is
The Table view shows the board's cards as a table: one row per card, sortable by every column, searchable and paged. It is the board as a spreadsheet-like list, for scanning many cards and their dates at once, and for adding and moving cards without dragging them across lists. A board admin can hide the view in Board Settings / Board View, and a site admin can turn it off for the whole instance in Admin Panel / Settings / Features ("Table view").
Read more
- Table (information) and Pagination at Wikipedia.
- WeKan: Filter, Roles, Board Settings / Card (which dates are shown), Board Settings / Board View, Admin Panel / Settings / Features, Large boards.
How to use it
Open it. Board header → Board View → Table (in the menu's Board group).
What it shows. Every card of the board that is not archived and not in an archived list or swimlane, narrowed by the sidebar Filter. 25 rows per page.
| Column | Shown |
|---|---|
| Edit | always - opens the card over the table |
| Card, List, Swimlane | always |
| Assignees, Members, Labels | not on a small screen |
| Received, Start, Due, End | when the board shows that date at the card or at the minicard (Board Settings / Card), and not on a small screen |
On a lazily loaded large board the page is built on the server
(boardTablePage publication), sorted and paged there, and a linked card shows
its source card's dates.
Controls
- Sort: click a column header. Clicking it again reverses the order; a new column starts ascending. Empty values always sort last, ties by title. The default is the card title, ascending.
- Search: matches title, list, swimlane and label names, ignoring case. Enter or the Search button runs it. It is not saved.
- Previous / Next and the page counter.
- Wrap titles: wrap long card titles or cut them with an ellipsis. Saved in this browser, per user. The button's tooltip says which mode is on.
- Group by swimlane: a header row per swimlane, rows ordered by swimlane, then by the chosen column. Saved in this browser, per user.
Changing cards. Shown only to those who may change the board, and checked again by the server:
- Drag a row onto another row to move its card just before that card, into its list and swimlane (#864).
- + in an empty date cell sets that date; an existing date opens its editor.
- Add Card at the bottom: type the title, choose the list and the
swimlane, and click Add Card. The server (
tableViewAddCard) checks the list's role rules, puts the card last in that cell and numbers it.
Role permissions apply here as in every view; see Roles.
How the numbers are calculated
- Rows per page = 25; pages =
max(1, ceil(rows / 25)), where rows is the number of matching cards (on a lazy board, the total the server reports); the page shown is never past the last page (client/components/boards/tableView.js). - Sorting (models/lib/tableViewSort.js):
text columns compare case-insensitively and number-aware (
localeComparewithnumeric: true, sensitivity: 'base', so "Card 2" comes before "Card 10"); date columns compare by time; an empty value is last in both directions; equal values are ordered by title. - Date columns: a date column is shown when the board has that date on the card or on the minicard; on a small screen the date columns are hidden.
- Add Card: the title has its runs of whitespace collapsed, is trimmed and cut to 1 000 characters; an empty title is refused. The new card's sort is the last card's sort in that list and swimlane plus 1 (0 in an empty cell), and its number is the board's next card number (server/tableViewCards.js).
How it works in WeKan
- View:
client/components/boards/tableView.jade,.jsand.css(tableView.jade, tableView.js, tableView.css). - Pure modules:
models/lib/tableViewFilter.js(the card selector, ANDed with the Filter),tableViewSort.js,tableViewGrouping.js,tableViewTitleMode.js(the two browser-saved toggles),tableViewDrop.js(where a dropped row goes) - tableViewFilter.js, tableViewSort.js, tableViewGrouping.js, tableViewTitleMode.js, tableViewDrop.js. - Server:
server/tableViewCards.js(tableViewAddCard, which checkscanWriteInList) andserver/publications/boardTablePage.js(theboardTablePagepublication for lazy boards) - server/tableViewCards.js, server/publications/boardTablePage.js. - Tests:
tests/tableView*.test.cjs,tests/integration/boardTablePage.test.cjs,tests/playwright/specs/table-lazy-page.e2e.js, for example tests/tableViewSort.test.cjs, tests/tableViewDrop.test.cjs, tests/tableViewGrouping.test.cjs, tests/tableViewTitleMode.test.cjs, tests/integration/boardTablePage.test.cjs, tests/playwright/specs/table-lazy-page.e2e.js, tests/playwright/specs/table-linked-dates.e2e.js.
Commits
- Table view checked on phones, foldables, tablets and touchscreens
- Swimlane header rows span every column; the add-card error is translated
- Add cards, and drag a row onto another to move its card
- Optional features: a site admin can turn the Table view off
- Linked cards' authorized dates on lazy Table pages
- Table pages built on the server in lazy card mode
- Security-aware title viewer for the table rows
- The toolbar's controls vertically centred
- Descriptive tooltips on the toggle buttons
- Pagination buttons themed like the Search button
- Optional grouping by swimlane
- Column sorting restored
- Responsive table, with title wrapping
- The board Filter applies in the Table view
- Clickable column-header sorting removed for a while
- Columns for assignees, members, labels and all four dates
- Markdown and emoji in the table cells
- The board Table view added