focalboard/webapp/i18n
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
..
ar.json Translations update from Weblate (#1152) 2021-09-06 09:19:34 +02:00
ca.json Translated using Weblate (Italian) 2021-11-08 11:22:06 -06:00
de.json Translated using Weblate (German) 2021-11-08 11:22:06 -06:00
el.json Translations update from Weblate (#1588) 2021-10-18 11:13:15 -05:00
en.json [GH-1655] Card Delete : added Confirmation Dialog (#1684) 2021-11-11 15:03:28 -07:00
es.json Update translation files 2021-10-25 11:35:23 -05:00
fr.json webapp: make 'no options' message more explicit + translatable (#1706) 2021-11-01 11:00:16 +05:30
hr.json Translated using Weblate (Croatian) 2021-11-08 11:22:06 -06:00
hu.json Translated using Weblate (Hungarian) 2021-11-08 11:22:06 -06:00
id.json Update translation files 2021-10-25 11:35:23 -05:00
it.json Translated using Weblate (Italian) 2021-11-08 11:22:06 -06:00
ja.json Translated using Weblate (Japanese) 2021-11-08 11:22:06 -06:00
ml.json Translated using Weblate (Malayalam) 2021-11-08 11:22:06 -06:00
nl.json Translated using Weblate (Dutch) 2021-11-08 11:22:06 -06:00
oc.json Translated using Weblate (Occitan) 2021-11-08 11:22:06 -06:00
pl.json Translated using Weblate (Polish) 2021-11-08 11:22:06 -06:00
pt_BR.json Update translation files 2021-10-25 11:35:23 -05:00
ru.json Update translation files 2021-10-25 11:35:23 -05:00
sl.json Translated using Weblate (Slovenian) 2021-11-08 11:22:06 -06:00
sv.json Translated using Weblate (Swedish) 2021-11-08 11:22:06 -06:00
tr.json Translated using Weblate (Turkish) 2021-11-08 11:22:06 -06:00
zh_Hans.json Update translation files 2021-10-25 11:35:23 -05:00
zh_Hant.json Translated using Weblate (Chinese (Traditional)) 2021-11-01 11:48:28 -06:00