-
-
Notifications
You must be signed in to change notification settings - Fork 487
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add contact_topics to org and case contact
contact_topics is a json column on both org and case_contact create topic defaults, set in file data/default_contact_topics.yml changes method to generate org defaults: - it now also generates topic defaults - adds an error if generation fails validation - renamed to be more generic adds topic generation to seeding adds validation for contact topics for org and case_contact: - expects topics to be a hash or array of hashes - PERMITTED_KEYS in ContactTopics class defines what hashes can contain adds model tests for ContactTopics, CasaOrg and CaseContact adds request tests for case_contacts_controller and form_controller: - currently these only test updating and creating records adds a trait to casa_org to disable twilio, needed to pass tests
- Loading branch information
1 parent
f62f955
commit 0c8bd08
Showing
21 changed files
with
599 additions
and
181 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
Oops, something went wrong.