Skip to content

Conversation

@boaz0
Copy link
Member

@boaz0 boaz0 commented May 20, 2020

What: Closes #4238

//cc @redallen

@patternfly-build
Copy link
Collaborator

patternfly-build commented May 20, 2020

Copy link
Contributor

@redallen redallen left a comment

Choose a reason for hiding this comment

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

Just some type problems and nit but other than that LGTM

66: 'width_66',
75: 'width_75',
100: 'width_100'
} as const;
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't think you need as const? Maybe just make an enum?

Copy link
Member Author

Choose a reason for hiding this comment

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

Enum key cannot be a numerical value. 😭

Signed-off-by: Boaz Shuster <boaz.shuster.github@gmail.com>
Copy link
Contributor

@redallen redallen left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks so much @boaz0 !

breakpointMods
.map(mod => `${mod.modifier}${mod.breakpoint ? `-on-${mod.breakpoint}` : ''}`)
.map(toCamel)
.map(mod => mod.replace(/-2xl$/gi, '_2xl'))
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for fixing this! I've been forgetting to go back and do it.

Copy link
Contributor

@nicolethoen nicolethoen left a comment

Choose a reason for hiding this comment

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

:)

@redallen redallen merged commit 4cac8d0 into patternfly:master May 21, 2020
@boaz0
Copy link
Member Author

boaz0 commented May 21, 2020

Thank you so much! @nicolethoen @redallen 😸

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.

Update DrawerPanelContent to use breakpoint mods

4 participants