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

ui v2: update UserInformation component #782

Merged
merged 6 commits into from
Dec 14, 2020
Merged

Conversation

scarlettperry
Copy link
Contributor

@scarlettperry scarlettperry commented Dec 12, 2020

Description

PR:

  • updates header & menu avatar
  • follows up on todo for adding interface for rendering menu items

Screen Shot 2020-12-14 at 11 42 49 AM

Screen Shot 2020-12-14 at 11 43 06 AM

Storybook
Screen Shot 2020-12-14 at 11 50 06 AM

Testing Performed

Storybook, local app

@scarlettperry scarlettperry changed the title ui V2: update UserInformation component ui v2: update UserInformation component Dec 12, 2020
@scarlettperry scarlettperry marked this pull request as ready for review December 14, 2020 16:43
@scarlettperry scarlettperry requested a review from a team as a code owner December 14, 2020 16:43
marginLeft: "12px",
padding: "0 6px",
marginLeft: "6px",
zIndex: 1101,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

since this commit https://github.com/lyft/clutch/pull/760/files, the avatar popper has been hidden behind the appbar. so added the appbar zindex + 1

Copy link
Collaborator

@danielhochman danielhochman left a comment

Choose a reason for hiding this comment

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

lgtm!

</Grid>
);
export const Primary = Template.bind({});
Primary.args = {
data: [{ value: "Dashboard" }, { value: "Settings" }],
user: "fooBar@gmail.com",
Copy link
Collaborator

Choose a reason for hiding this comment

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

super nit: use example domain

Suggested change
user: "fooBar@gmail.com",
user: "fooBar@example.com",

@scarlettperry scarlettperry merged commit 82f9325 into UIV2 Dec 14, 2020
@scarlettperry scarlettperry deleted the sperry-update-avatar branch December 14, 2020 23:18
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.

2 participants