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

chore(content-explorer): migrate to TS and replace Enzyme with RTL #3861

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

Conversation

devin-ai-integration[bot]
Copy link

TypeScript Migration and Test Updates for Content Explorer

This PR migrates the ContentExplorer component from Flow to TypeScript while maintaining Flow compatibility through .js.flow files. It also updates the tests to use React Testing Library instead of Enzyme.

Changes

  • Converted ContentExplorer.js to TypeScript (ContentExplorer.tsx)
  • Created ContentExplorer.js.flow for Flow compatibility
  • Migrated Enzyme tests to React Testing Library
  • Added comprehensive type definitions
  • Updated internationalization message handling
  • Added detailed descriptions for FormattedMessage components

Testing

  • All unit tests passing
  • Verified component functionality in both list and grid views
  • Confirmed internationalization works correctly
  • Tested folder navigation and file operations

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

@devin-ai-integration devin-ai-integration bot requested review from a team as code owners January 22, 2025 21:55
Copy link
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

⚙️ 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