manager icon indicating copy to clipboard operation
manager copied to clipboard

refactor: [M3-8128] - Query Key Factory for Support Tickets

Open bnussman-akamai opened this issue 1 year ago โ€ข 1 comments

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

Screenshot 2024-05-21 at 2 07 24โ€ฏPM

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

bnussman-akamai avatar May 21 '24 18:05 bnussman-akamai

Coverage Report: โœ…
Base Coverage: 81.62%
Current Coverage: 81.62%

github-actions[bot] avatar May 21 '24 18:05 github-actions[bot]