mirror of
https://github.com/wekan/wekan.git
synced 2026-11-25 10:48:06 -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.5 KiB
1.5 KiB
Card menu / Copy Template to Many Cards
Card menu (☰ in the opened card's header, Card Actions) → Copy
Template to Many Cards makes several copies of this card at once, each
with its own title and description (copyManyCardsPopup in
client/components/cards/cardDetails.jade).
Who sees it
The same users as Copy Card: the menu offers its moving and
copying entries to them (cardMenuWrites), and they are not a Worker.
The popup
The text box, labelled Destination Card Titles and Descriptions in this JSON format, is prefilled with an example:
[ {"title": "First card title", "description":"First card description"},
{"title":"Second card title","description":"Second card description"},
{"title":"Last card title","description":"Last card description"} ]
Replace it with one object per card to create. Below it is the same destination picker as Move Card: board, swimlane, list, a card and Above selected card / Below selected card, and Done.
What happens
- The text is parsed as JSON. Text that is not valid JSON creates nothing, and the error is shown in the popup.
- For each object, the
copyCardserver method copies this card with the object'stitleanddescription(with the same checks as Copy Card), then places it. With Below selected card, each copy goes below the previous one, so they keep the order of the text. - With no card chosen, each copy goes to the bottom of the list.
- On a filtered board, each copy is added to the filter's exceptions.