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): suppress title bar exit in calcheck results #6941

Merged

Conversation

sfoster1
Copy link
Member

@sfoster1 sfoster1 commented Nov 6, 2020

And also remove the unused parts (like 90%) of styles.css in the
calcheck hierarchy.

Note: I haven't tested this yet

And also remove the unused parts (like 90%) of styles.css in the
calcheck hierarchy.
@sfoster1 sfoster1 added app Affects the `app` project fix PR fixes a bug labels Nov 6, 2020
@sfoster1 sfoster1 requested a review from a team November 6, 2020 20:35
@sfoster1 sfoster1 requested a review from a team as a code owner November 6, 2020 20:35
@sfoster1 sfoster1 requested review from b-cooper and removed request for a team November 6, 2020 20:35
back: {
onClick: confirmExit,
title: EXIT,
children: EXIT,
Copy link
Contributor

Choose a reason for hiding this comment

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

if you wanted to completely get rid of the styles.css file you could replace the className with a dummy box e.g.

back: currentStep === Sessions.CHECK_STEP_RESULTS_SUMMARY ? {title: null, children: (<Box width={SIZE_1} />)} : {...}

Copy link
Member Author

@sfoster1 sfoster1 Nov 6, 2020

Choose a reason for hiding this comment

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

I think I tried that in some other case and it had some display issues around active-state rendering. I think we should just keep the styles thing until that's a styled-component or primitive and we can use a css literal or something

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.

🔑

Copy link
Contributor

@Laura-Danielle Laura-Danielle left a comment

Choose a reason for hiding this comment

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

works for me.

@sfoster1 sfoster1 merged commit e52c8db into chore_release-4.0.0-beta.0 Nov 6, 2020
@sfoster1 sfoster1 deleted the app_suppress-exit-in-calcheck-results branch November 6, 2020 22:25
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants