Skip to content
This repository was archived by the owner on Feb 13, 2026. It is now read-only.

ui v2: update UserInformation component#782

Merged
scarlettperry merged 6 commits intoUIV2from
sperry-update-avatar
Dec 14, 2020
Merged

ui v2: update UserInformation component#782
scarlettperry merged 6 commits intoUIV2from
sperry-update-avatar

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!

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants