Skip to content

Conversation

@gcko
Copy link
Contributor

@gcko gcko commented Dec 5, 2025

PR checklist

  • Ensure you have added or ran the appropriate tests for your PR.
  • DCO signed

What type of PR is this?
Refactor

What this PR does / why we need it:
Refactor and reduce complexity of the toDataGrid, toDataGridDiff, and toValueDiffGrid methods. Introduce shared components that can be used across all.

  • Add comprehensive tests to query diff and value diff
  • Add comprehensive tests to all created shared methods as well as dataGrid factory functions

Which issue(s) this PR fixes:
N/A

Special notes for your reviewer:

  1. Need to test across all run result views

Does this PR introduce a user-facing change?:

NONE

gcko added 7 commits December 5, 2025 20:19
- Add in `createDataGrid`
- Begin adding in util and column functions for grids

Signed-off-by: Jared Scott <[email protected]>
Signed-off-by: Jared Scott <[email protected]>
@gcko gcko requested a review from kentwelcome December 5, 2025 14:45
@gcko gcko marked this pull request as draft December 5, 2025 14:46
gcko added 9 commits December 7, 2025 14:18
- Refactor `toDataDiffGrid` and `toValueDiffGrid` to use the new row generation method

Signed-off-by: Jared Scott <[email protected]>
…lueDiffGrid`.

Rename querydiff.tsx and valuediff.tsx to querydiff.ts and valuediff.ts

Signed-off-by: Jared Scott <[email protected]>
@gcko gcko marked this pull request as ready for review December 7, 2025 11:14
Copy link
Member

@kentwelcome kentwelcome left a comment

Choose a reason for hiding this comment

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

LGTM

@kentwelcome kentwelcome merged commit d8653ba into main Dec 9, 2025
6 checks passed
@kentwelcome kentwelcome deleted the feature/refactor-run-results branch December 9, 2025 08:25
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.

3 participants