- The General/ level is gone: its 109 files moved up into the folders of the same name, and its topic table is the "Shared topics" section of Features.md. - Accessibility is one folder, docs/Features/Accessibility/, with the Admin Panel's accessibility page in it. - Every folder's main page is README.md (110 X/X.md pages renamed with git mv, five merged with an existing README.md, 26 index pages added for folders that had none), so a folder opened on GitHub shows its page. - The 73 "# Moved" forwarding pages are deleted, with the folders that held only them; every link that went to one goes to its final page. - docs/Features/README.md has the website's "Features in WeKan" overview, each feature linking to its page here. 1,129 Markdown links in 262 files and 352 doc paths in code, tests, compose, snap and release files follow. tests/docsFeaturesLayout.test.cjs fails when General/ or a "# Moved" page comes back, a folder has no README.md, or a relative link in the docs or README.md does not resolve. Thanks to xet7 !
Swimlanes
What it is
This folder describes a swimlane's header and its hamburger menu
(client/components/swimlanes/swimlaneHeader.jade). Swimlanes are the
horizontal bands of a board; the Swimlanes view is the default
Board View.
How to use it
Open a board in the Swimlanes view and click ☰ in a swimlane header. That opens Swimlane Actions; the pages below explain each entry.
Swimlane menu
Swimlane menu (☰ in the swimlane header, Swimlane Actions), in menu order
(swimlaneActionPopup), grouped under the headings Share and history,
Export and import, Add, Appearance, Move and copy and
Archive. Who sees which entry is on each page.
| Entry | Guide |
|---|---|
| Copy link to clipboard | Board item links |
| Star / Unstar | Star |
| History | History |
| Export, Import | Scope, formats and limits |
| Add Swimlane | Insert above or below |
| Add List | Lists |
| Select Color | Select Color |
| Copy Swimlane, Move Swimlane | Arrange and manage |
| Move Swimlane to Archive | Archive and Delete |
See the pages above.
Swimlanes
What it is
Swimlanes divide a board into horizontal bands. Each card belongs to a list and a swimlane, so a swimlane can stand for a team, a person, a customer or a class of work while the lists keep showing the stages of the work. Lanes can contain their own lists as well as legacy shared lists. Choose Swimlanes in the board-view menu to work with them.
Read more
- Swim lane - the idea of dividing a process diagram into lanes, on Wikipedia.
- Kanban board and Kanban (development) - where swimlanes are used to split a board's columns into rows.
- In WeKan: Board Views, Lists, multiline creation, Board Settings / Swimlane.
How to use it
Create and rename
- Open the board and choose Swimlanes in the board-view menu.
- Click + (Add Swimlane) in a swimlane header, or open ☰ (Swimlane Actions) and choose Add Swimlane.
- Type the name. To add several at once, paste several lines and choose under Add many lines as: either 1 Swimlane (one name containing the line breaks, the default) or Many Swimlanes (one swimlane per nonempty line). See multiline creation.
- Choose Below selected swimlane (the default) or Above selected swimlane, then click Add. The swimlanes are created in the pasted order.
- To rename, click the swimlane's name, edit it and click Save. The editor and the displayed title preserve line breaks.
Arrange and manage
- Drag the header's drag handle (shown on touch screens, or when drag handles are turned on) to reorder swimlanes.
- Click the caret beside the ☰ in the header to collapse or expand a lane.
- Use ☰ Swimlane Actions for links and history, export and import, and the permitted copy, move and archive actions.
- Drag the lane's resize handle at its bottom edge to change its height, unless the board administrator has locked resizing.
Related pages:
- Board Settings / Swimlane: resize locking, WIP Limit Groups, and One shared list header row for the same lists in every swimlane
- Lists: create a first list with the empty lane's +
- Archive and Delete
Insert above or below
Use the swimlane header +, or Swimlane Actions → Add Swimlane. The popup offers Below selected swimlane and Above selected swimlane, with Below selected by default. Multiple titles retain their order between the selected lane and its neighbor. Board write permissions still apply.
How the numbers are calculated
- Sort position of new swimlanes.
titleSortIndexes(previous, next, count)in models/lib/multilineTitles.js reservescountpositions between the neighbouring lanes: between two lanes it spaces them evenly,previous + (next - previous) * (i + 1) / (count + 1); after the last lane it usesprevious + i + 1; before the first,next - count + i; on an empty board0, 1, 2, .... The neighbours are the selected lane and the one after it (Below) or before it (Above) (swimlaneAddPopupsubmit in client/components/swimlanes/swimlaneHeader.js). - Many Swimlanes creates one swimlane per nonempty line; blank lines are
skipped (
splitTitleLines). - Height. Dragging the resize handle clamps the height to 100-2000 pixels
(
minHeight,maxHeightin client/components/swimlanes/swimlanes.js), starting from the lane's current CSS height (300 when it cannot be read). The schema'sheightfield accepts-1(automatic height, the default) or 50-2000 pixels (models/swimlanes.js).
How it works in WeKan
- Collection:
Swimlanesin models/swimlanes.js, withtitle,boardId,sort,color,type(swimlaneortemplate-swimlane) andheight. Cards carry aswimlaneId. - Header and menu:
client/components/swimlanes/swimlaneHeader.jade
and
.js. The collapse caret, ☰ menu, + and drag handle are drawn only for a board member who is not Comment only, Read only, Read assigned only or Worker. Select Color, Copy, Move and Archive are shown only to a board admin, and Copy, Move and Archive not on a template container. - Lanes, drag and resize:
client/components/swimlanes/swimlanes.js.
The final height is saved per user with the
applySwimlaneHeightToStoragemethod (server/models/users.js), or in the browser'slocalStoragefor a visitor who is not logged in. The handle is hidden while the board's swimlane-height lock is on (getSwimlaneHeightResizeLocked). - Collapsed state is per user, in
profile.collapsedSwimlanes(models/users.js). - Tests: tests/swimlanePlacement.test.cjs, tests/multilineTitles.test.cjs, tests/swimlaneSort.test.cjs, tests/listSwimlaneResizeLock.test.cjs, tests/defaultSwimlane.test.cjs and the browser test tests/playwright/specs/13-swimlanes.e2e.js.
Commits
- Group the swimlane menu under headings, as the list and card menus are
- File the swimlane pages the way the WeKan menus are
- Add Star and Unstar to the swimlane menu
- Add Export and Import rows to the swimlane menu
- Add Copy link to clipboard for a swimlane
- Show a swimlane titled Default with one shared function
- Group the swimlane menu under headings
- One shared list header row hides the other swimlanes' list headers
- One shared list header row shows the same lists in every swimlane
- The swimlane resize line reaches the right edge of a scrolled swimlane
- One list drag-and-drop setup for a swimlane and the Lists view
- Place the swimlane position choices below the title input
- Add the Above and Below placement choices for a new swimlane
- Create several swimlanes from multiline titles
- Hide the swimlane resize handle while its board-wide lock is on
- Add the board-wide swimlane-height resize lock
- Hide the Set Swimlane height menu entry; the resize handle remains
- Move and Copy swimlane in one dialog each
- Import into a swimlane beside the one whose menu was used
- Export a swimlane in the card export's own layout
- Link to a swimlane the way you can link to a card
- Undo and redo for swimlane moves
- The swimlane header bar no longer clips at non-100% zoom
- Copying a swimlane to another board keeps its labels
- Remaining features of Copy and Move of swimlanes
- Confirm before moving a swimlane to the archive
- Collapse a swimlane, per user
- Save collapse and height per user, the swimlanes themselves per board
- Default to per-swimlane lists and dragging a list to another swimlane
- Drag-resize the swimlane height, also on a public board
- Add colors to swimlanes
- First swimlane draft