mirror of
https://github.com/wekan/wekan.git
synced 2026-11-25 17:45:18 -05:00
#6943: every minicard shows a collapse caret at its start and a card actions menu at its end. The caret already has a row in Board Settings / Card (Card, Show on Minicard: Collapse) and a tick in the Admin Panel's card fields; the menu had neither. Now the menu has both: the row "Card Actions" (the menu's own name, an existing translation) right under Collapse, a board flag allowsMinicardMenu that a board which never chose reads as on, and the Admin Panel tick that comes with every row. Hiding section Card on the minicard hides both. The opened card keeps its own menu with the same actions. With the menu hidden and no drag handle beside it, the labels and custom fields no longer keep the 84px corner free for it, and the title has the whole line. Tests: tests/minicardControls6943.test.cjs (rows, sections, the Admin Panel overlay and the section overlay, template gates, CSS, schema), and tests/playwright/specs/minicard-controls-6943.e2e.js: both hidden from Board Settings / Card and from the Admin Panel, kept over a reload, the labels wider, and shown again when ticked. Thanks to sirup and xet7 !