Skip to content

refactor: Redesign auth cli page and add workspaces link #3737

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

Merged
merged 1 commit into from
Aug 29, 2022

Conversation

BrunoQuaresma
Copy link
Collaborator

Before:
Screen Shot 2022-08-29 at 16 14 30

After:
Screen Shot 2022-08-29 at 16 14 04

Closes #3678

@BrunoQuaresma BrunoQuaresma requested a review from coadler August 29, 2022 19:16
@BrunoQuaresma BrunoQuaresma requested a review from a team as a code owner August 29, 2022 19:16
@BrunoQuaresma BrunoQuaresma self-assigned this Aug 29, 2022
@BrunoQuaresma BrunoQuaresma requested review from Kira-Pilot and removed request for a team August 29, 2022 19:16
textAlign: "center",
flex: "0",
paddingTop: theme.spacing(2),
paddingBottom: theme.spacing(2),
marginTop: theme.spacing(3),
marginTop: theme.spacing(8),
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The footer was to close to the form.

@@ -55,12 +56,12 @@ export const Footer: React.FC<React.PropsWithChildren<FooterProps>> = ({ buildIn

const useFooterStyles = makeStyles((theme) => ({
root: {
opacity: 0.6,
color: colors.gray[7],
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I tried the palette.text.secondary but for this background and how "soft" we want the color I decided to use the color directly since it is very specific to this component.

import * as TypesGen from "../../api/typesGenerated"

export const Language = {
buildInfoText: (buildInfo: TypesGen.BuildInfoResponse): string => {
return `Coder ${buildInfo.version}`
},
copyrightText: `Copyright \u00a9 ${new Date().getFullYear()} Coder Technologies, Inc. All rights reserved.`,
copyrightText: `Copyright \u00a9 ${new Date().getFullYear()} Coder Technologies, Inc.`,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I removed the "All rights reserved." so the footer width doesn't look bigger than the main container - it looks weird IMO - and also, it is "redundant" since Copyright is about "rights reserved" I guess.

@BrunoQuaresma BrunoQuaresma requested review from a team and jsjoeio and removed request for Kira-Pilot and a team August 29, 2022 19:19
Copy link
Contributor

@jsjoeio jsjoeio left a comment

Choose a reason for hiding this comment

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

LGTM!

@BrunoQuaresma BrunoQuaresma merged commit 3cf17d3 into main Aug 29, 2022
@BrunoQuaresma BrunoQuaresma deleted the bq/fix-3678 branch August 29, 2022 19:57
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.

/cli-auth page should have a button to go to the workspaces page
3 participants