manager
manager copied to clipboard
refactor: [M3-8128] - Query Key Factory for Support Tickets
Description ๐
Updates Support Ticket Queries to use a query key factory and latest patterns
Changes ๐
- Uses query key factory for support ticket queries ๐ญ
- Uses v5 compatible patterns to make upgrading easier in the future ๐ฆ (see here)
- Updates mutation handles to be a bit more optimized with the invalidations ๐
Preview ๐ท
[!note] No UI changes
How to test ๐งช
[!warning] I recommend testing this in dev so that our support team does not get test tickets coming in
- Test support tickets in general
- Test creating a Support Ticket
- Verify cache updates as expected
- Test adding a comment to a support ticket
- Verify cache updates as expected
As an Author I have considered ๐ค
- [ ] ๐ Doing a self review
- [ ] โ Our contribution guidelines
- [ ] ๐ค Splitting feature into small PRs
- [x] โ Adding a changeset
- [ ] ๐งช Providing/Improving test coverage
- [ ] ๐ Removing all sensitive information from the code and PR description
- [ ] ๐ฉ Using a feature flag to protect the release
- [ ] ๐ฃ Providing comprehensive reproduction steps
- [ ] ๐ Providing or updating our documentation
- [ ] ๐ Scheduling a pair reviewing session
- [ ] ๐ฑ Providing mobile support
- [ ] โฟ Providing accessibility support
Coverage Report: โ
Base Coverage: 81.62%
Current Coverage: 81.62%