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

[Package]: migrate GlobalSearchInput component to TypeScript #389

Merged

Conversation

raskolnikov-rodion
Copy link
Contributor

Description

Migrate the GlobalSearchInput component to TypeScript.

Issue: opentargets/issues#2871

Type of change

  • TypeScript refactor

How Has This Been Tested?

Applications were built locally. Component was manually inspected in the UI.

image

Checklist:

  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

@chinmehta chinmehta added the community Open source contributions from community label Jun 12, 2024
Copy link
Contributor

@carcruz carcruz left a comment

Choose a reason for hiding this comment

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

Thanks for your PR.

As we are trying to raise our Typescript standards, can you please provide:

  • Type function for onFocus prop, using FocusEvent type from React
  • Type function for onChange prop, using ChangeEvent type from React
  • Type for return component, in this case React.RF

@carcruz carcruz merged commit 0e4e8af into opentargets:main Jul 8, 2024
6 checks passed
@raskolnikov-rodion raskolnikov-rodion deleted the refactor/global-search-input-ts branch July 10, 2024 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Open source contributions from community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants