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

fix(app): full-width jog controls #6970

Merged

Conversation

sfoster1
Copy link
Member

@sfoster1 sfoster1 commented Nov 11, 2020

The jog controls were in MeasureTip and MeasureNozzle weren't expanding to their parent properly; give them a width=100%.

Testing

Check the MeasureTip and MeasureNozzle screens (doesn't matter if in cal check or tip length, they're invariant in this regard) and make sure the jog controls look right.

@sfoster1 sfoster1 added app Affects the `app` project fix PR fixes a bug hmg hardware, motion, and geometry labels Nov 11, 2020
@sfoster1 sfoster1 added this to the HMG Sprint 22 milestone Nov 11, 2020
@sfoster1 sfoster1 requested a review from a team November 11, 2020 16:08
@sfoster1 sfoster1 requested a review from a team as a code owner November 11, 2020 16:08
@sfoster1 sfoster1 requested review from Laura-Danielle and IanLondon and removed request for a team November 11, 2020 16:08
Copy link
Contributor

@b-cooper b-cooper left a comment

Choose a reason for hiding this comment

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

This is a good change, the same symptom is already partially addressed in my PR #6962 , which adds styleProps to the JogControl component. This way each instance of the JogControls component can decide how to position itself within its parent. I prefer this to hard coding width="100%" into the component definition. After #6962 merges it should be a quick rebase if you agree.

The jog controls were not wide enough in MeasureTip and MeasureNozzle,
where they have only Z displayed. Use the new styled props to specify
width=100%, which fixes the issue.
@sfoster1 sfoster1 force-pushed the app_fix-jog-layout-in-measure-screens branch from c8fdd48 to b4cf09b Compare November 11, 2020 20:31
@sfoster1 sfoster1 requested a review from b-cooper November 11, 2020 20:31
Copy link
Contributor

@ahiuchingau ahiuchingau left a comment

Choose a reason for hiding this comment

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

LGTM!

@sfoster1 sfoster1 merged commit e41ab7a into chore_release-4.0.0-beta.0 Nov 11, 2020
@sfoster1 sfoster1 deleted the app_fix-jog-layout-in-measure-screens branch November 11, 2020 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app Affects the `app` project fix PR fixes a bug hmg hardware, motion, and geometry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants