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

Improve frontend type-safety #3338

Open
4 of 10 tasks
Tracked by #3733
brojd opened this issue Nov 13, 2023 · 0 comments
Open
4 of 10 tasks
Tracked by #3733

Improve frontend type-safety #3338

brojd opened this issue Nov 13, 2023 · 0 comments

Comments

@brojd
Copy link
Contributor

brojd commented Nov 13, 2023

Currently the significant part of the frontend codebase is opted-out from TypeScript core features. It's done by using both implicit and explicit any, @ts-ignore, strict: false, lack of HTTP request/response typings or using less strict types while higher specificity is possible (e.g. using type string when only values a and b are possible).

There are several steps that can be performed to make the code more type-safe. That will enable us to reduce nb of bugs related to incorrect typings of data that is coming from the backend / incorrect payloads passed in requests as well as catch possible issues quicker (during development instead of after deployment), improve developer experience (intellisense) and improve readability.

The initiative includes the following issues:

Issues in both groups are sorted by the order they should be picked up. It is possible to work on both groups in parallel with just one exception - it would be great to have #3330 from Group A before starting to work on Group B

Backend

Preview Give feedback
  1. part:Terraform/Crossplane
    vadimkerr

Frontend

Preview Give feedback
  1. involved:Frontend
    brojd
  2. involved:Frontend
    brojd
  3. involved:Frontend needs triage
  4. involved:Frontend needs triage
  5. involved:Frontend needs triage
  6. involved:Frontend needs triage
  7. involved:Frontend needs triage

Tasks

Preview Give feedback
No tasks being tracked yet.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants