- 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 !
5.4 KiB
Card menu / More
What it is
Card menu (☰ in the opened card's header, Card Actions) → More
opens a popup with the card's link, its parent cards and its creation date
(cardMorePopup in client/components/cards/cardDetails.jade). It is where a
card is made a subtask of another card, and where a board admin deletes a card
for good.
Read more
- URL, Clipboard (computing) and Work breakdown structure (parent cards and subtasks) on Wikipedia.
- In WeKan: Subtasks, Board item links, Archive and Delete.
How to use it
- Open the card and click ☰ in its header (Card Actions).
- Under Archive, click More.
- To share the card: Copy card link to clipboard.
- To make it a subtask: under Change card's parent, choose the Source board, then the Parent card. Choose (none) as Parent card to make it a top-level card again.
- To give it more parents: choose a card under Add another parent card; remove one with × beside it under Also a subtask of.
- To delete it permanently (board admins): Delete, then confirm.
| Part | What it does |
|---|---|
| Link to this card | the board's visibility icon and a read-only box with the card's address |
| Copy card link to clipboard | copies that address; inside Sandstorm it opens Sandstorm's sharing instead (#1188) |
| Change card's parent: Source board, Parent card | makes the card a subtask of a card on one of your boards, or of none; this is the primary parent |
| Also a subtask of | the other parent cards, each with × to remove it (#3626) |
| Add another parent card | adds a further parent from the chosen board |
| Added | the date the card was created |
| Delete | board admins only; permanent, after a confirmation |
The parent-card list is filled once the chosen board's cards have loaded (#3745, #6917). See Subtasks.
Delete removes the card only when no linked card elsewhere points to it; otherwise it says You can not delete this card before first deleting linked card that has and the card stays. To keep a card restorable, use Move Card to Archive instead (Archive and Delete).
Who sees it
A user to whom the menu offers its moving and copying entries (helper
cardMenuWrites), who is not a Worker.
How the numbers are calculated
The popup has no numbers of its own. Added is the card's createdAt, shown
in the long local date format (LLL).
How it works in WeKan
- Template and events:
cardMorePopupin client/components/cards/cardDetails.jade andTemplate.cardMorePopupin client/components/cards/cardDetails.js. The Source board list is the boards you are a member of that are not archived, without your Templates board. - Parents: the primary parent is the card's
parentId; further parents are kept inparentIds(#3626). - Delete: checks on the client that no card has
linkedIdpointing at this one, then callsCards.remove, which the server's remove rules allow or refuse; removing a card also removes its checklists, comments and attachments (cardRemoverinmodels/cards.js), and the card's window is closed. - Copy card link: the card's absolute address (
originRelativeUrl); inside Sandstorm the Sandstorm sharing dialog. - Tests: the Playwright spec
copy-link-browser-origin.e2e.js(how the card's address is built) and tests/destinationCards6917.test.cjs (the parent-card list of a lazily loaded board).
Commits
- Card menu grouped under headings, More under Archive
- Card actions menu in the maintainer's order
- Sandstorm: Copy card URL shares the card through Sandstorm
- More lists every board again for a user without a Templates board
- A card can be a subtask of several parent cards
- The Copy link button is themed
- The parent card list is filled on the first board choice
- A card cannot be set as its own parent
- Change a card's parent
- Copy card link to clipboard