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

refactor(labware-creator): Break out spacing and offset sections #7798

Merged
merged 5 commits into from
May 19, 2021

Conversation

Kadee80
Copy link
Contributor

@Kadee80 Kadee80 commented May 12, 2021

Overview

closes #7707 by breaking out the spacing and offset sections.

Changelog

  • refactor(labware-creator): Break out spacing and offset sections
  • add tests

Review requests

  • code review
  • LC still behaves as expected

PS - I had to write a weirdo helper function to match text with <strong> tags within it. Please sanity check!

Risk assessment

Low but double check LC works as expected

@Kadee80 Kadee80 requested review from a team, shlokamin and IanLondon and removed request for a team May 12, 2021 13:48
@codecov
Copy link

codecov bot commented May 12, 2021

Codecov Report

❗ No coverage uploaded for pull request base (edge@1594984). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head 60d658e differs from pull request most recent head 838e963. Consider uploading reports for the commit 838e963 to get more accurate results
Impacted file tree graph

@@           Coverage Diff           @@
##             edge    #7798   +/-   ##
=======================================
  Coverage        ?   83.48%           
=======================================
  Files           ?      333           
  Lines           ?    21243           
  Branches        ?        0           
=======================================
  Hits            ?    17735           
  Misses          ?     3508           
  Partials        ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1594984...838e963. Read the comment docs.

return (
<div className={styles.new_definition_section}>
<SectionBody label="Well Spacing">
<>
Copy link
Contributor

Choose a reason for hiding this comment

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

is this fragment doing anything?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yup cause SectionBody accepts children so it needs ro be a single element

return (
<div className={styles.new_definition_section}>
<SectionBody label="Grid Offset">
<>
Copy link
Contributor

Choose a reason for hiding this comment

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

unnecessary fragment?

@Kadee80 Kadee80 force-pushed the lc_offsset-sections branch from adb0c93 to 60d658e Compare May 19, 2021 16:55
@Kadee80 Kadee80 merged commit d1fbefc into edge May 19, 2021
@Kadee80 Kadee80 deleted the lc_offsset-sections branch May 19, 2021 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LC Cleanup: Break out each form Section into separate components
2 participants