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

ui/services: convert IntegrationKeyCreateDialog & IntegrationKeyList to ts #2568

Merged
merged 13 commits into from
Oct 13, 2022

Conversation

tony-tvu
Copy link
Collaborator

@tony-tvu tony-tvu commented Aug 18, 2022

  • Identified the issue which this PR solves.
  • Read the CONTRIBUTING document.
  • Code builds clean without any errors or warnings.
  • Added appropriate tests for any new functionality.
  • All new and existing tests passed.
  • Added comments in the code, where necessary.
  • Ran make check to catch common errors. Fixed any that came up.

Description:
Part of an ongoing effort to convert existing javascript files to typescript.

Note: IntegrationKeyCreateDialog and IntegrationKeyList were both converted in this PR to avoid receiving this error:
Cannot destructure property 'service' of 'cache5.readQuery(...)' as it is null.
This error occurs when IntegrationKeyCreateDialog.js created a new integration key without a cache available in IntegrationKeyList.tsx, since IntegrationKeyList.tsx uses urql instead of apollo now.

Which issue(s) this PR fixes:
#2318

Out of Scope:

  • switch out Apollo client with urql

@tony-tvu tony-tvu changed the title ui/services: convert IntegrationKeyCreateDialog to ts ui/services: convert IntegrationKeyCreateDialog & IntegrationKeyList to ts Aug 18, 2022
tony-tvu and others added 4 commits September 23, 2022 14:40
Co-authored-by: Katie Sydlik-Badgerow <38022260+KatieMSB@users.noreply.github.com>
KatieMSB
KatieMSB previously approved these changes Sep 23, 2022
KatieMSB
KatieMSB previously approved these changes Oct 3, 2022
Copy link
Contributor

@Forfold Forfold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a couple small things ^ otherwise looks good

Co-authored-by: Nathaniel Cook <NathanielJCook@outlook.com>
Forfold
Forfold previously approved these changes Oct 13, 2022
@tony-tvu tony-tvu merged commit f1936f4 into master Oct 13, 2022
@tony-tvu tony-tvu deleted the ts-IntegrationKeyCreateDialog branch October 13, 2022 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants