Skip to content

Refactor RawResultsTable component#1546

Merged
koesie10 merged 1 commit intomainfrom
koesie10/refactor-raw-results-table
Sep 29, 2022
Merged

Refactor RawResultsTable component#1546
koesie10 merged 1 commit intomainfrom
koesie10/refactor-raw-results-table

Conversation

@koesie10
Copy link
Copy Markdown
Member

@koesie10 koesie10 commented Sep 28, 2022

The RawResultsTable was using inline styles, while we should prefer to use styled components. This refactors it to use styled components and also improves some other miscellaneous things (extracting the props to a separate type and moving the Cell above the Row since the latter uses the former).

Checklist

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.
  • [Maintainers only] If this pull request makes user-facing changes that require documentation changes, open a corresponding docs pull request in the github/codeql repo and add the ready-for-doc-review label there.

The `RawResultsTable` was using inline styles, while we should prefer
to use styled components. This refactors it to use styled components and
also improves some other miscelleanous things (extracting the props to
a separate type and moving the `Cell` above the `Row` since the latter
uses the former).
@koesie10 koesie10 requested a review from a team as a code owner September 28, 2022 09:33
Copy link
Copy Markdown
Contributor

@robertbrignull robertbrignull left a comment

Choose a reason for hiding this comment

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

LGTM

@koesie10 koesie10 merged commit c5cbf92 into main Sep 29, 2022
@koesie10 koesie10 deleted the koesie10/refactor-raw-results-table branch September 29, 2022 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants