The main changes were made in shared.js: I refactored confirmation dialogs throughout the application to utilize a new custom web component, custom-confirm-modal.
Smaller changes include the change of some function's names. Can be found in the following files: deer-config.js, gloss-transcription.js, gloss-witness.js, manageGlossModal.js, ng.js.
What this enhancement does:
This change encapsulates the confirmation logic and styling within a reusable component, improving code maintainability and consistency across the UI. By leveraging web components, we're enhancing the application's modularity and making future updates or style changes to confirmation dialogs simpler and more centralized.
The main changes were made in shared.js: I refactored confirmation dialogs throughout the application to utilize a new custom web component,
custom-confirm-modal
.Smaller changes include the change of some function's names. Can be found in the following files: deer-config.js, gloss-transcription.js, gloss-witness.js, manageGlossModal.js, ng.js.
What this enhancement does: This change encapsulates the confirmation logic and styling within a reusable component, improving code maintainability and consistency across the UI. By leveraging web components, we're enhancing the application's modularity and making future updates or style changes to confirmation dialogs simpler and more centralized.
No picture needed because it is an enhancement.