1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-11-30 08:36:54 +02:00
focalboard/webapp
Prakhar Porwal 27ce296b54
[GH-1655] Card Delete : added Confirmation Dialog (#1684)
* Made confirmationDialogBox from existing dialog component

* Used ConfirmationDialogBox to raise warning before deletion of card property

* fixes as ci checks did not pass

* fixes to pass ci tests

* Flash Message now visible (changed its z-index)

* Confirmation Dialog shows the property name.

* fixes for eslint test failure

* fixes for eslint test fail

* fixes for eslint test failure

* fix for eslint test failure

* fixed a wrong subtext string

* fixed eslint issues in scss

* i18n en.json for localisation updated

* `en.json;`-wrong file generated by `npm run i18n-extract ` command removed

* On Property Type or Name Change raises warning

* On Property Type or Name Change raises Confirmation dialog

Confirmation dialog box generalized for use

* The affected num of cards calculation added.

* If prop value not filled change after confirmation

* fixes after ci eslint failure

* fixes after ci eslint failure

* In cardDetailProperty test considered dialog box confirmation

* Added test for confirmationDialogBox

* npm run fix and fixed test failure

* snapshot files updated : `npm run updatesnapshot`

* ran i18n-extract script

* Added memo to Confirm dialog component

* reverted the addition of React.memo() as the feature breaks

* added confirmation for card  delete

* default export of Confirmation Dialog Component

* improved cardDialog test considering dialog box opening

* Added memo and useCallback for cnfrm dialog component

* eslint formating

* eslint formatting

* added confirm dialog for kanban and dialog card .

* updated snapshot . cardDetailProperty test failing

* updated snapshot

* Merge branch 'prop-update-warning-1140' into card-delete-warning-1655

* eslint formatting

* Merge branch 'prop-update-warning-1140' into card-delete-warning-1655

* removed unwanted comments

* imported library for failing test

* Updating card modal scss

* Addressed @sbishel comments

* fixed duplicate width in css

* updated comment in kanbanCard

* fixed failing snapshot test

* updated kanbanCard unit test

* npm run fix

* removed useState hook for confirmDialogProps

* removed useState hook from cardDialog and kanbanCard for confirmDialogProps.

* npm run fix

* removed duplicate declaration

Co-authored-by: Prakhar <>
Co-authored-by: prakharporwal <prakharporwal99@gmail.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-11-11 15:03:28 -07:00
..
__mocks__ Write Unit Test for emptyCenterPanel.tsx and welcomePage.tsx (#1621) 2021-10-25 11:44:46 -04:00
cypress [GH-1278] Confirm delete when deleting board (#1339) 2021-11-03 08:57:03 -04:00
html-templates Adding support for embed the webapp into the plugin (#597) 2021-07-29 20:08:39 +02:00
i18n [GH-1655] Card Delete : added Confirmation Dialog (#1684) 2021-11-11 15:03:28 -07:00
src [GH-1655] Card Delete : added Confirmation Dialog (#1684) 2021-11-11 15:03:28 -07:00
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 to v0.10 (#1633) 2021-10-22 13:59:05 -07:00
package.json Write Unit Test for emptyCenterPanel.tsx and welcomePage.tsx (#1621) 2021-10-25 11:44:46 -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