focalboard/webapp
kamre 07cbc522fd
[GH-1467] Automatically create new checkbox when enter is pressed (#1505)
* Initial implementation for creation of new checkbox when enter is pressed.

* Card detail context added:
  - used for adding new content element
  - tracks id of new block that was added
  - used in checkbox element to set focus

* Deleting of last added empty checkbox supported.

* Rename addNewElement/addNewBlock to addElement/addBlock.

* New component CardDetailProvider for card detail context introduced.

* Delete only automatically added checkboxes.

* Fix existing unit tests: add `CardDetailProvider` when needed.

* Unit tests for `CheckboxElement` updated:
  - use mocked mutator
  - test for focus of last added checkbox added
  - test for adding new checkbox on pressing enter added
  - test for deleting automatically added checkbox on pressing esc/enter added
2021-10-13 16:33:12 +05:30
..
__mocks__ Add unit test for propertyMenu.tsx - basic setup 2021-03-19 07:41:11 -05:00
cypress Start Welcome Page (#1231) 2021-09-28 09:51:32 -04:00
html-templates Adding support for embed the webapp into the plugin (#597) 2021-07-29 20:08:39 +02:00
i18n Translated using Weblate (Polish) (#1530) 2021-10-12 11:43:10 -05:00
src [GH-1467] Automatically create new checkbox when enter is pressed (#1505) 2021-10-13 16:33:12 +05:30
static Updating splash screen sizing for image and content (#1399) 2021-10-04 16:58:56 -04:00
.eslintignore Move package.json and webpack to under webapp 2020-10-20 11:48:08 -07:00
.eslintrc.json Refactor: card contentOrder 2020-12-18 12:52:45 -08:00
.nvmrc docker: fix docker file image and apply some good practices (#552) 2021-07-01 11:46:03 +02:00
.prettierignore Add prettier at least for css (#327) 2021-04-28 16:28:52 +02:00
.prettierrc.json Add prettier at least for css (#327) 2021-04-28 16:28:52 +02:00
.stylelintrc.json Add stylelint to the CI (#1078) 2021-08-26 11:25:25 +02:00
cypress.json New Props: Created By, Created At, Updated By, Updated At (#583) 2021-07-08 20:06:43 +05:30
NOTICE.txt [GH-38] Add date property (#391) 2021-05-10 07:46:07 +02:00
package-lock.json Update version to v0.9.1 2021-09-17 12:56:47 -07:00
package.json Add --progress for watchdev npm script. (#1407) 2021-10-02 07:35:36 -04:00
tsconfig.json Add Cypress tests 2020-12-10 13:45:56 -08:00
tslint.json Move package.json and webpack to under webapp 2020-10-20 11:48:08 -07:00
webpack.common.js Start Welcome Page (#1231) 2021-09-28 09:51:32 -04:00
webpack.dev.js Introduce checkbox property type (#439) 2021-06-02 15:53:52 +05:30
webpack.prod.js Use cross-env instead of win-node-env (#656) 2021-07-15 19:30:22 -07:00