focalboard/webapp/cypress/integration
kamre 342c8df39d
[GH-1754] Feature: card badges (#2025)
* First shot implementation of badges for the card.

* Showing and hiding card badges in board/gallery views via header menu action added.

* Counting of checkboxes in markdown supported.

* Use Intl.formatMessage for badge titles.

* Unit tests for `CardBadges` component added. Some other unit tests fixed.

* Unit test for 'Show card badges' action in the view header menu added.

* Cypress test for card badges added:
 - card with comments, description and checkboxes added for testing
 - card badges are shown and hidden via view menu
 - new Cypress command `uiAddNewCard` added
 - label property added to `MenuWrapper` and used in `ViewHeaderActionsMenu`

* Unit tests fixed after change of the label for view menu.

* Fix stylelint issues.

* Class name for `CardBadges` component fixed.

* Show and hide for card badges moved to `Properties` menu:
 - field `cardBadgesVisible` removed from `BoardViewFields`
 - new constant `badgesColumnId` introduced and used as an element in `visiblePropertyIds`
 - card badges added to calendar view
 - added `role` and `aria-label` for menu component `SwitchOption`
 - unit and Cypress tests updated

* Fix Cypress test: use `blur` after typing text.

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-13 09:26:27 -07:00
..
cardBadges.ts [GH-1754] Feature: card badges (#2025) 2022-01-13 09:26:27 -07:00
createBoard.ts Added better kanban edge scroll detection whilst dragging (#1913) 2022-01-07 11:58:28 -07:00
groupByProperty.ts [GH-1826] Cypress test for group by different property (#1966) 2021-12-15 09:57:58 -07:00
loginActions.ts [GH-42] Cypress tests for login actions (#1679) 2021-11-22 16:59:01 +01:00
manageGroups.ts Added better kanban edge scroll detection whilst dragging (#1913) 2022-01-07 11:58:28 -07:00