Files
wekan/docs/Features/Board-Header/Board-Views/Status.md
T
Lauri Ojansivu b7589737f5 File docs/Features the way the WeKan menus are.
A feature's guide now sits under the menu it is used from, read from the
templates rather than from where somebody once put it: Header-Bar,
All-Boards, Pages, Board-Header (search and every Board View), Board-Sidebar
(Board Settings, Filter, Members, Labels, Archive), Rules, Swimlanes, Lists,
Cards, Member-Settings, Admin-Panel and Login-Page. Topics used from several
menus (editor, history, theme, translations, email, troubleshooting) are in
General.

- Each area has a README mapping its menu entries to their guides and to the
  template or server module that implements them. Board-Header/README.md
  lists all 40 Board View entries with the template boardBody.jade renders;
  five views (Table, Calendar Mode, Time, Timeline, Map) have no guide of
  their own yet and say so.
- Board-View.md listed 25 views while BOARD_VIEWS has 40; it now lists all
  of them with their English labels.
- Pages keep their file names. Where a released changelog links an old path,
  a "# Moved" page stays there and points to the new one; test-menu.sh skips
  folders holding only those.
- Undo was filed under Login; it is General/Undo now.
- Every link in docs, code comments, scripts and tests follows the move;
  docsLinksResolve checks them all.

Tests that read a doc follow it to its new place. boardViewSettings now fails
when Board-View.md or Board-Header/README.md differs from BOARD_VIEWS, or
names a template boardBody.jade does not render.

Thanks to xet7 !
2026-10-16 23:45:35 +03:00

2.6 KiB

Board view: Statistics (Tilastot)

Status: Implemented · Owner: xet7 · Related: client/components/boards/statsView.jade / .js / .css, client/components/boards/boardHeader.* (view switcher), client/components/boards/boardBody.* (view rendering), server/publications/boards.js (boardStatus method).

Statistics is a full-width board view — alongside Swimlanes, Lists, Calendar, Gantt and Table in the board-view switcher (the caret menu in the board header). It shows the board's status at a glance and renders full width like the other board views (Finnish: Tilastot).

What it shows

  • Card loading — the card-loading mode in effect for this board: Lazy (only visible cards) or All cards, and, when the instance uses the adaptive default, that it was chosen automatically ((Automatic …)). See Problems / Performance — big boards load lazily, small boards eagerly.
  • Swimlanes / Lists / Cards / Archived cards / Labels / Members / Custom fields — the board's current counts.
  • Time spent summary (in the style of the general task time reports):
    • Total time spent — the sum of every active card's spentTime (hours).
    • Cards with time spent — how many active cards have any time logged.
    • Overtime cards — how many active cards are flagged overtime.

Why the counts are computed on the server

The counts come from a single boardStatus(boardId) Meteor method, not from the browser's local data. This matters because of adaptive card loading: on a big board in lazy mode the client's minimongo only holds the visible window of cards, so counting locally would be wrong. The method counts on the server with countAsync() (and, for the time summary, fetches only cards that actually have spentTime > 0, so it stays cheap even on a large board). Any member who can see the board can open it.

Usability

  • Full width, like the other board views. Its text is selectable with the mouse (drag) and on touch (long-press), so any value (e.g. a count or the total hours) can be highlighted and copied — the view stops pointer/touch events from reaching the board canvas's drag-to-scroll so native selection works.
  • Read-only: opening it never changes the board.