Migrate/confirmation-modal component #870
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Original confirmation-modal migration PR: #846
Created a new branch from the development branch and added @s223749059's commits before making additional changes of replacing the bootstrap html with material components and a couple fixes.
Description
Migrates the
confirmation-modal
component from CoffeeScript to TypeScript. This component is used in the unit-tutorials-list, unit-task-editor, and portfolio-review-step components. The confirmation modal is used to display a dialog with a title, message, where users can either click cancel to dismiss the dialog, or click confirm which will run the callback function originally passed when opening the modal.Type of change
How Has This Been Tested?
aconvenor
oraadmin
Before:
After:
Testing Checklist:
Checklist: