Skip to content

pr05 Typescript #4: migrate instance of react file #3554

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

Merged

Conversation

clairep94
Copy link
Collaborator

@clairep94 clairep94 commented Jul 27, 2025

pr05 Typescript Migration 4: Migrate instance of react file

IMPORTANT: Should be reviewed after #3540 for clarity

Context:

  • Migrate an instance of a React file from jsx to tsx to confirm typescript config works as expected

Changes:

  • Migrate client/components/SkipLink.jsx to client/components/SkipLink.tsx with git mv ....
    • typecheck flags this file with missing types errors as expected
    • Initial commit done with --no-verify flag to bypass the typecheck
  • Add unit test for SkipLink.tsx
  • Update ts/tsx eslint overrides
    • Without these overrides, eslint would flag these on SkipLink.tsx
    • I'll look into doing the Google-Typescript linting config as the next priority, and perhaps the overrides won't be necessary in the future, as the eslint file feels a bit bloated already

Notes:

I have verified that this pull request:

  • has no linting errors (npm run lint)
  • has no test errors (npm run test)
  • is from a uniquely-named feature branch and is up to date with the develop branch.
  • is descriptively named and links to an issue number, i.e. Fixes #123

@clairep94 clairep94 changed the title Pr05/04/migrate instance of react file pr05 Typescript #4: migrate instance of react file Jul 27, 2025
@clairep94 clairep94 added the pr05 Grant Projects pr05 Grant Projects label Jul 27, 2025
@clairep94 clairep94 marked this pull request as ready for review July 28, 2025 11:01
@clairep94
Copy link
Collaborator Author

@khanniie @raclim ready for review! This can be reviewed before #3553 (migrate entire client/utils folder) if preferred as they're independent and this one is much smaller

khanniie
khanniie previously approved these changes Jul 30, 2025
Copy link
Collaborator

@khanniie khanniie left a comment

Choose a reason for hiding this comment

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

thank you!!

@clairep94 clairep94 dismissed khanniie’s stale review July 30, 2025 01:09

The merge-base changed after approval.

@clairep94
Copy link
Collaborator Author

clairep94 commented Jul 31, 2025

@khanniie sorry I think this needs a re-review bc I updated the branch to match main!

Idk what that previous 'The merge-base changed after approval.' comment is, I think it's autogen from github when the base changes?

@khanniie khanniie merged commit 8d7c29f into processing:develop Aug 1, 2025
1 check passed
@clairep94 clairep94 deleted the pr05/04/migrate_instance_of_react_file branch August 3, 2025 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr05 Grant Projects pr05 Grant Projects
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants