Skip to content

web: user icon toggles Tilt Cloud Account menu#3201

Merged
hyu merged 6 commits into
masterfrom
hyu/ch5060/tilt-cloud-status-ui
Apr 15, 2020
Merged

web: user icon toggles Tilt Cloud Account menu#3201
hyu merged 6 commits into
masterfrom
hyu/ch5060/tilt-cloud-status-ui

Conversation

@hyu

@hyu hyu commented Apr 11, 2020

Copy link
Copy Markdown
Contributor

To make it easier to sign up for Tilt Cloud, this PR adds a user icon at the top right of the screen. You click it, and toggle a menu that encourages you to sign up for Tilt Cloud. If you're already signed in, you can see your username and Tilt instance's team info.

Known Issues

  • You want to close the dropdown menu by clicking on the background, but that doesn't actually work right now. Sorry! Another PR.
  • No analytics yet
  • Copy about Tilt Cloud is quite blah, copied from the outdated homepage.

Not Signed In

2020-04-10 - Tilt Cloud account menu - not signed in

Signed In

2020-04-10 - Tilt Cloud account menu - signed in

@hyu
hyu requested review from jazzdan and nicks April 11, 2020 01:37

@nicks nicks left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

most of my comments are minor style things. How do we expect this to behave within a snapshot?

Comment thread web/src/Button.ts
Comment thread web/src/Button.ts Outdated
Comment thread web/src/ButtonInput.tsx Outdated
Comment thread web/src/SidebarAccount.tsx Outdated
fill: ${Color.blue};
transition: color ${AnimDuration.default} linear;

&:hover {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

i think you want this to be
${SidebarAccountButton}:hover &
to pin the hover effect to the button?

Comment thread web/src/SidebarAccount.tsx Outdated
Comment thread web/src/SidebarAccount.tsx Outdated
Comment thread web/src/SidebarAccount.tsx Outdated
Comment thread web/src/assets/svg/logo-Tilt-Cloud.svg Outdated
Comment thread web/src/HUD.tsx
@hyu

hyu commented Apr 15, 2020

Copy link
Copy Markdown
Contributor Author

There is a small unresolved discussion in this PR, but for the sake of momentum I'm merging this now. If needed, I'll create another PR to improve the notifyTiltOfRegistration function.

@hyu
hyu merged commit 4a9f0a5 into master Apr 15, 2020
@nicks
nicks deleted the hyu/ch5060/tilt-cloud-status-ui branch February 3, 2022 16:51
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