mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 20:45:00 -05:00
Card Settings is now only Board Settings / Card. The opened card has no Card Settings button any more: it simply shows every field its board shows on cards, empty or not. - On this card, Show empty and Show empty fields are removed, with the hamburgers' Select all / Select none rows, their handlers, helpers, board methods (setCardFieldAlwaysShown, setShowEmptyCardFields), CSS and the three translation keys. The card no longer reads its own shownFields / hiddenFields, nor the board's cardFieldsAlwaysShown / showEmptyCardFields; the schema keeps them so old documents validate. - Every section has a checkbox before its title: whether the whole section is shown on the chosen side, whatever its rows are ticked. Stored per side in cardSettingsHiddenOnCard / cardSettingsHiddenOnMinicard (setCardSettingsSectionShown, board admins). The opened card's view of the board and a new minicard view read false for every row of a hidden section, Scrum fields included; Card Settings itself reads the raw board, so the rows keep their ticks. - A section with one row on the chosen side is one line: one checkbox, the name, one hamburger. - A hamburger is drawn only when it holds something. - Custom Fields: its items are the board's custom fields, in their sort order, reordered by drag and drop within the section, with a + under them that creates one. Show on Minicard sets a field's showOnCard, Show on Card its alwaysOnCard; its hamburger edits the field. The section's checkbox is the board's Custom Fields flag of that side. - Card actions (Filter: Subtasks, Edit voting, Card kind, ...) live in the card's own section hamburgers; Card Settings keeps only board actions. Docs: docs/Features/Cards/Card-Settings.md replaces Card-Settings-On-Card.md; Card-Fields.md and Board Settings / Card.md rewritten. New tests cardSettingsSectionShown and cardSettingsCustomFields; the guards of the removed behaviour say why they changed; card-add-fields.e2e.js covers section hiding per side, an empty card showing every field, empty hamburgers, the one-row line, the Custom Fields items and +, and that the opened card has no Card Settings. Thanks to xet7 !
2.6 KiB
2.6 KiB
Cards and minicards
Create a card in a list, then click its minicard to open its details. The opened card shows every field its board shows on cards, empty or not (Card fields). Which fields, and in what order, on the opened card and on the minicard, is Card Settings - Board Settings / Card.
The opened-card heading is Date, not Change Date Format. Linked-card titles navigate within the same tab; use the browser's link controls when you want a separate tab.