* Fixed panic in PropDef.GetValue for `person` property types.
- the GetUserByID API can return a nil user and nil error
* return userid
* support old archive format
* move template init to app layer
* move app init
* init app
* revert
* ignore GetDefaultTemplate blocks call in store mock
* ignore GetDefaultTemplate blocks call in store mock2
* ignore InsertBlockss call in store mock3
* ignore RemoveDefaultTemplates call in store mock4
* ignore WriteFile call in files mock5
* ignore WriteFile call in files mock6
* ignore WriteFile call in files mock7
* ignore WriteFile call in files mock8
* fix unit tests
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* Base fix for bug causing images to not appear in templates created from boards
* Added some docs
* Fixed lint error
* Update server/app/blocks.go
Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
* used a better method name
Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
* Addinig initial version of a working template selector
* Some improvements
* Small improvements in the code
* More polishing
* Code reorganization
* Fixing tests
* Fixing linter errors
* Allowing to edit/delete templates
* Removing no longer needed code reducing race conditions
* Fixing some tests
* Adding some unit tests
* Adding more tests
* Splitting a bit more the board template selector for simplification
* Moving the delete dialog to the board template selector item
* Fixing some tests
* Fixing tests
* Exctracting i18n strings
* Trying to fix part of the cypress tests
* Fixing cypress tests
* Updating template selector UI
* Updating UI
* Updating padding
* Fixing css linter errors
* Fixing css error introduced in the previous commit
* Updating snapshots and fixing tests
* Fixing cypress tests again
* Adressing review comments
* Fixing tests
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
* Disable max-lines ESlint rule
There are several webapp files that exceed the default ESLint max-lines rule. This commit disables the rule to avoid polluting the VSCode problems view with these warnings.
* fix tab versus space
- using `cypress-real-events` for real hover
- label for view header menu changed to 'View header menu'
- label for view menu added
- snapshots for unit tests updated
* 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>