mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
The docs tree is laid out like the menus - a menu path is a docs path. Admin Panel / Settings follows the new structure: Visibility.md is Appearance.md, with new Features.md, Feature-Profiles.md, Security.md, Activities-and-Notifications.md and Delete.md; the section indexes, Admin-Panel.md, Admin-Panel-URLs.md (with the moved-pane redirects) and Validation.md follow the live menus, and Who-Sees-What.md explains in one place which layer decides what is shown and what is allowed. Pages are added for the menu entries that had none, each written from the code: every Admin Panel / Problems pane, the member menu, the board header, Board Settings, the All Boards left menu, and the list, swimlane and card menus. Older links to the moved panes are updated across docs/. TODO.md records what documenting the menus found: Edit Profile does not save a username for non-admins, the Support page's signed-out case is unreachable, Create board from this card is hidden from members who can edit the card, All Boards Settings is unreachable, and the Share template targets live in browser storage. Thanks to xet7 !
1.3 KiB
1.3 KiB
Swimlane menu / Select Color
Swimlane menu (☰ in the swimlane header) → Select Color opens Choose a
color (setSwimlaneColorPopup in
client/components/swimlanes/swimlaneHeader.jade).
Who sees it
Only a board admin. The swimlane menu itself is shown to a board member who is not Comment only, Read only, Read assigned only or Worker.
The popup
| Control | What it does |
|---|---|
| Palette | picks one of the named colours (SWIMLANE_COLORS, models/metadata/colors.js); the current one has a check mark |
| Custom color | the browser's colour wheel; the chosen #rrggbb value is kept as a custom colour (#5514) |
| Save | saves the chosen colour |
| Remove | removes the swimlane's colour |
What it changes
- The colour is saved on the swimlane (
swimlane.color,setColorinmodels/swimlanes.js). A value that is neither a palette colour nor a valid hex colour is saved as no colour. - The swimlane header is drawn in that colour: a palette colour by its
swimlane-<name>CSS class, a custom colour inline with a readable text colour (colorClass,colorStyle).
Unlike List menu / Set Color there is no option for cards to follow the swimlane's colour.