Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add timing metadata for case contacts #5919

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

elasticspoon
Copy link
Collaborator

@elasticspoon elasticspoon commented Jul 16, 2024

We have been attempting to improve the Case Contact flow but we don't have good data to tell if the changes we make are improvements or not. Ex: #5867 changed the form to use a dropdown but a user had complaints that it slowed her down because she had to select every contact type one at a time.

This PR adds a jsonb field to the case contact model that will hold metadata about the model. At the moment I want to just store what time the contact got changed to each status. The goal will be to use that data to track whether the changes we make are actually causing volunteers to spend less time at each case contact state.

I am doing this as a jsonb field because I am not sure on the data I want to store now and in the future. I would also like this data to potentially be accessible via database query.

@github-actions github-actions bot added ruby Pull requests that update Ruby code Tests! 🎉💖👏 labels Jul 16, 2024
@elasticspoon elasticspoon force-pushed the feat/add-case_contact-metadata branch from 0d0ceb5 to 04bd7c6 Compare July 16, 2024 21:11
@elasticspoon elasticspoon marked this pull request as ready for review July 16, 2024 21:18
@elasticspoon elasticspoon merged commit ed7b83f into main Jul 17, 2024
18 checks passed
@elasticspoon elasticspoon deleted the feat/add-case_contact-metadata branch July 17, 2024 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ruby Pull requests that update Ruby code Tests! 🎉💖👏
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant