* Moving the history instance creation after the plugin initialization (to honor the SiteURL config)
* Fixing welcome page images urls generation
* Fixing share board url generation
* Fixing more subpath problems
* Adding some tests with subpath
* Adding subpath test to welcome page
* fix linter error
* 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>
* added better kanban edge scroll detection whilst dragging
* update jest snapshots
* try to fix cypress on CI
* replace force clicks on cypress test
* make eslint happy
* fix unrelated failed tests and reorganize Cypress commands
* added test for drag direction from right to left
* make eslint happy
* cypress kanban drag test now checks other direction
* fix test and update eslit for cypress
Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* Cypress command for resetting boards added.
* Cypress test for group board by different property added:
- using @testing-library/cypress
- minor fixes for `PropertyMenu` and `Dialog` components
- bug in `ViewHeaderGroupByMenu` fixed: use `groupByProperty` passed in props instead of one from active view
* Jest snapshots updated.
* Use only case-sensitive strings for names in Cypress test.
* Cypress commands for adding new board and new group added.
* Jest snapshot for new test updated.
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* limited card text to 5 lines
* Update kanbanCard.tsx
* Moved attributes to new lines
* Adding exception for vendor prefix in the styles
* Updating snapshots
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
Backend support for subscribing/unsubscribing to blocks, typically cards and boards. Notifies subscribers when changes are made to cards they are subscribed to.