- Removed Markdown rendering capability from ConfirmDialog component
- Removed marked library dependency from package.json and lockfile
- Updated all component usages to use plain text descriptions
- Converted irreversible action warnings from Markdown to plain text
- Simplified component API by removing descriptionMarkdown prop
- Updated ConfirmDialog README to reflect simplified implementation
- Retained DOMPurify dependency for other components that need it
- Updated en.json translations to remove Markdown formatting
`ConfirmDialog` standardizes confirmation flows across the app. It replaces ad‑hoc `window.confirm` usage with an accessible, themeable dialog that supports asynchronous operations and optional Markdown descriptions.
`ConfirmDialog` standardizes confirmation flows across the app. It replaces ad‑hoc `window.confirm` usage with an accessible, themeable dialog that supports asynchronous operations.
## Key Features
@ -11,19 +11,15 @@
- Blocks dismissal while async confirm is pending
- Clear separation of title (action) vs description (context)
"disable-password-login-final-warning":"Please type \"CONFIRM\" if you know what you are doing.",
"disable-password-login-final-warning":"Please type `CONFIRM` if you know what you are doing.",
"disable-password-login-warning":"This will disable password login for all users. It is not possible to log in without reverting this setting in the database if your configured identity providers fail. You’ll also have to be extra careful when removing an identity provider",
"disable-public-memos":"Disable public memos",
"display-with-updated-time":"Display with updated time",