Partial fix for 1830 (#1863)

* Remove door icon from log in button
* Move log in and info buttons from the top bar to in line with the cellxgene icon and dataset name
* Hover over on login button should say "Log in to cellxgene"
* Show email

closes #1830
This commit is contained in:
Colin Megill
2020-09-30 11:45:10 -07:00
committed by GitHub
parent 998fa4762d
commit 04a3c3c6b6
6 changed files with 107 additions and 57 deletions
+1 -2
View File
@@ -11,7 +11,7 @@ const Auth = React.memo((props) => {
return (
<ButtonGroup className={styles.menubarButton}>
<Tooltip
content="Log in or log out of cellxgene"
content="Log in to cellxgene"
position="bottom"
hoverOpenDelay={globals.tooltipHoverOpenDelay}
>
@@ -19,7 +19,6 @@ const Auth = React.memo((props) => {
type="button"
data-testid="auth-button"
disabled={false}
icon={!userinfo.is_authenticated ? "log-in" : "log-out"}
href={!userinfo.is_authenticated ? auth.login : auth.logout}
>
{!userinfo.is_authenticated ? "Log In" : "Log Out"}