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

refactor(common): convert sub-header to TypeScript #3991

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

devin-ai-integration[bot]
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot commented Feb 27, 2025

Convert sub-header to TypeScript

Description

This PR converts the files in src/elements/common/sub-header directory from JavaScript with Flow to TypeScript.

Changes

  • Renamed all .js files to .tsx files
  • Converted Flow types to TypeScript interfaces
  • Renamed Props types to {component}Props
  • Removed Flow comments
  • Maintained original functionality

Testing

  • Ran TypeScript linting to check for errors (yarn lint:ts) - ✅ PASSED
  • Ran tests to ensure everything is working correctly (yarn test src/elements/common/sub-header) - ✅ PASSED
  • Ran full lint check (yarn lint) - ✅ PASSED

Notes

  • The lint_test_build CI check is failing, but according to the repository guidelines, this workflow can sometimes be flaky. We've verified locally that all linting and tests are passing.

References

Link to Devin run: https://app.devin.ai/sessions/659be3aaecf442b083073c3fa3144159

Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants