Skip to content

Conversation

@fengelniederhammer
Copy link
Contributor

resolves #973

Summary

Screenshot

PR Checklist

- [ ] All necessary documentation has been adapted.

  • The implemented feature is covered by an appropriate test.

@vercel
Copy link

vercel bot commented Dec 16, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
dashboards Ready Ready Preview, Comment Dec 17, 2025 9:14am

@fengelniederhammer fengelniederhammer linked an issue Dec 16, 2025 that may be closed by this pull request
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR migrates the "compare side-by-side" view from Astro to React, improving code organization and testability while maintaining the same functionality.

Key changes:

  • Extracted data display logic into a new React component (GenericCompareSideBySideDataDisplay)
  • Added comprehensive end-to-end tests for the compare side-by-side page
  • Refactored common test helper methods into the base ViewPage class to reduce duplication

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
website/tests/helpers.ts Added test configuration for influenzaA and influenzaB organisms
website/tests/e2e.fixture.ts Added CompareSideBySidePage fixture for e2e tests
website/tests/compareSideBySide.spec.ts New test file with comprehensive coverage for compare side-by-side functionality
website/tests/ViewPage.ts Extracted shared helper methods for lineage and mutation field interactions
website/tests/CompareVariantsPage.ts Refactored to use shared helper methods from ViewPage
website/tests/CompareToBaselinePage.ts Refactored to use shared helper methods from ViewPage
website/tests/CompareSideBySidePage.ts New page object implementing interactions with the compare side-by-side view
website/src/components/views/compareSideBySide/GenericCompareSideBySidePage.astro Simplified by delegating data display to React component
website/src/components/views/compareSideBySide/GenericCompareSideBySideDataDisplay.tsx New React component containing migrated data display logic

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Base automatically changed from 965-migrate-compare-to-baseline-to-react to main December 16, 2025 10:34
@fengelniederhammer fengelniederhammer force-pushed the 973-migrate-compare-side-by-side-to-react branch from 8a25624 to 370843f Compare December 16, 2025 10:35
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.

Migrate "compare side-by-side" to React

2 participants