Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
/coder-v1-cliPublic archive

feat: style login redirect page - [ch1400]#221

Merged
kvnlnt merged 1 commit intomasterfromch1400
Jan 20, 2021
Merged

feat: style login redirect page - [ch1400]#221

kvnlnt merged 1 commit intomasterfromch1400
Jan 20, 2021

Conversation

kvnlnt
Copy link
Contributor

Adds basic styling to login redirect page.

1400-demo.mov

@vapurrmaid who else might I add as a reviewer?

@greyscaled
Copy link
Contributor

@kvnlnt We can ping@cmoog as one of the core coder-cli reviewers

kvnlnt reacted with thumbs up emoji

@greyscaledgreyscaled requested review fromrachelchhay,cmoog andalexgilev and removed request forgreyscaledJanuary 19, 2021 23:25
Copy link

@rachelchhayrachelchhay left a comment

Choose a reason for hiding this comment

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

LOVE the animation you added! I think it would look nice if the green banner was a circle instead. So kinda like a big start button. But I'll leave the main design feedback to Alex.

kvnlnt reacted with thumbs up emoji
Copy link
Contributor

@cmoogcmoog left a comment

Choose a reason for hiding this comment

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

LGTM. Running./ci/steps/fmt.sh and./ci/steps/lint.sh should resolve the CI issues.

kvnlnt reacted with thumbs up emoji
@kvnlnt
Copy link
ContributorAuthor

LOVE the animation you added! I think it would look nice if the green banner was a circle instead. So kinda like a big start button. But I'll leave the main design feedback to Alex.

@alexgilev let me know what you think, feel free to blow it up.

rachelchhay reacted with thumbs up emoji

@shortcut-integration
Copy link

This pull request has been linked toClubhouse Story #1400: coder login redirect page lacks any styling.

@kvnlnt
Copy link
ContributorAuthor

@cmoog moved the template outside the control flow, also put it into a parameterized function after noticing another state needing to be expressed not specified in the ticket (a session_token missing).

@rachelchhay put in your design suggestion (made it look like a power button) as well as lifted colors from our 2.0 scheme. Also notice the "off" state I added needed for a "session_token" missing state.

1400-on.mov
1400-off.mov
greyscaled reacted with heart emoji

Copy link

@rachelchhayrachelchhay left a comment

Choose a reason for hiding this comment

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

That's exactly what I had in mind. Looks great to me! Btw, Alex is on PTO today. I'm fine with merging as is and making changes after he has a chance to take a look.

greyscaled and kvnlnt reacted with thumbs up emoji
func (srv *Server) ServeHTTP(w http.ResponseWriter, req *http.Request) {
ctx := req.Context()

token := req.URL.Query().Get("session_token")
if token == "" {
w.WriteHeader(http.StatusBadRequest)
_, _ = fmt.Fprintf(w, "No session_token found.\n") // Best effort.
// _, _ = fmt.Fprintf(w, "No session_token found.\n") // Best effort.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// _, _ = fmt.Fprintf(w, "No session_token found.\n") // Best effort.

kvnlnt reacted with thumbs up emoji
Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

fixed

@greyscaled
Copy link
Contributor

@kvnlnt@rachelchhay@cmoog This is awesome stuff

@kvnlntkvnlnt merged commitc38df0b intomasterJan 20, 2021
@kvnlntkvnlnt deleted the ch1400 branchJanuary 20, 2021 18:00
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@cmoogcmoogcmoog approved these changes

@rachelchhayrachelchhayrachelchhay approved these changes

@alexgilevalexgilevAwaiting requested review from alexgilev

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@kvnlnt@greyscaled@cmoog@rachelchhay

[8]ページ先頭

©2009-2025 Movatter.jp