Skip to content

Conversation

@fengelniederhammer
Copy link
Contributor

resolves #965

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 15, 2025

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

Project Deployment Review Updated (UTC)
dashboards Ready Ready Preview, Comment Dec 16, 2025 10:13am

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 to baseline" page from Astro to React, improving component reusability and testability. The migration extracts data display logic into React components while maintaining the same functionality.

Key changes:

  • Created React components to replace Astro templates for the compare-to-baseline view
  • Added end-to-end tests for the compare-to-baseline page across all organisms
  • Extracted shared organism test options into a reusable helper constant

Reviewed changes

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

Show a summary per file
File Description
website/tests/helpers.ts Added organismOptions constant with test data for all organisms
website/tests/e2e.fixture.ts Added CompareToBaselinePage fixture for e2e tests
website/tests/compareToBaseline.spec.ts New e2e test suite for compare-to-baseline functionality
website/tests/CompareToBaselinePage.ts New page object class for interacting with compare-to-baseline page in tests
website/src/components/views/compareToBaseline/SelectBaseline.tsx New React component replacing the Astro template
website/src/components/views/compareToBaseline/SelectBaseline.astro Removed Astro template (migrated to React)
website/src/components/views/compareToBaseline/GenericCompareToBaselinePage.astro Simplified to use new React data display component
website/src/components/views/compareToBaseline/GenericCompareToBaselineDataDisplay.tsx New React component containing data display logic

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

@fengelniederhammer fengelniederhammer force-pushed the 965-migrate-compare-to-baseline-to-react branch from 7754902 to 9667c6c Compare December 16, 2025 10:13
@fengelniederhammer fengelniederhammer merged commit eebd8af into main Dec 16, 2025
9 checks passed
@fengelniederhammer fengelniederhammer deleted the 965-migrate-compare-to-baseline-to-react branch December 16, 2025 10:34
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 to baseline" to React

3 participants