-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement delete for template categories (#1890)
* Initial TemplateCategory client * Hook the api client up to the admin front end - Implemented add and update a category - Tweaks to the api client - Added tests for the API client - Renamed desc_en/desc_fr to description_en/fr for consistency * Implement category delete - Added template category to cache clear list * fix * formatting * Add confirmation message when adding and updating a category * Add error message - Add an error message banner when attempting to delete a template category that is already associated with template(s) * Small fixes * Formatting * Fix tests * Add translations - Add an additional unit test for the api client - Make sure page elements are properly translated * Add support for sms sending vehicle - Added sms sending vehicle radio buttons to the template-category page - Updated the API client to include the sms sending vehicle param - updated a few translation strings * Translation fixes * Add Cypress tests - Fixed an issue where was displaying 'Update Category' when creating a category - Added some data-testid's - Corrected some translations - Fixed tests * Fix missing translations - Updated the flash messages * formatting... * Remove unused import * formatting........... * Update app/main/forms.py Co-authored-by: Andrew <[email protected]> * Improve DB state management between tests * Remove unnecessary variable * Formatting * Rearrange test execution order - Rearrange the test order and added an after() to the suite as a reference for properly cleaning up the DB post test suite --------- Co-authored-by: Andrew <[email protected]>
- Loading branch information
1 parent
63b3cdb
commit cb3affc
Showing
15 changed files
with
509 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.