Skip to content
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

feat: new auth ui #1639

Closed
wants to merge 8 commits into from
Closed

feat: new auth ui #1639

wants to merge 8 commits into from

Conversation

neilsong
Copy link
Collaborator

No description provided.

Copy link

github-actions bot commented Mar 14, 2024

Size Change: +278 B (0%)

Total Size: 3.1 MB

Filename Size Change
build/assets/entry-index.js 1.29 MB +278 B (0%)
ℹ️ View Unchanged
Filename Size
build/assets/About.css 476 B
build/assets/About.js 9.41 kB
build/assets/authentication.js 64 B
build/assets/brace-fold.es.js 2.75 kB
build/assets/Card.js 1.29 kB
build/assets/Challenge.js 5.84 kB
build/assets/Challenge.css 245 B
build/assets/closebrackets.es.js 4.28 kB
build/assets/codemirror.es.js 581 B
build/assets/codemirror.es2.js 184 kB
build/assets/comment.es.js 4.64 kB
build/assets/CourseModalEvaluations.js 26.6 kB
build/assets/CourseModalEvaluations.css 1.4 kB
build/assets/CourseModalOverview.js 14.1 kB
build/assets/CourseModalOverview.css 2.02 kB
build/assets/dialog.es.js 2.9 kB
build/assets/fall23.js 8.58 kB
build/assets/FAQ.css 808 B
build/assets/FAQ.js 9.42 kB
build/assets/foldgutter.es.js 5.92 kB
build/assets/forEachState.es.js 230 B
build/assets/gapi-script.js 49.4 kB
build/assets/Graphiql.js 535 kB
build/assets/Graphiql.css 409 kB
build/assets/GraphiqlLogin.js 501 B
build/assets/graphql.js 13.3 kB
build/assets/hint.es.js 880 B
build/assets/hint.es2.js 3.27 kB
build/assets/index.js 215 B
build/assets/index.css 227 kB
build/assets/info-addon.es.js 2.61 kB
build/assets/info.es.js 3.87 kB
build/assets/javascript.es.js 20.3 kB
build/assets/Join.js 917 B
build/assets/Join.css 308 B
build/assets/jump-to-line.es.js 1.73 kB
build/assets/jump.es.js 3.03 kB
build/assets/Landing.js 2.25 kB
build/assets/Landing.css 651 B
build/assets/lint.es.js 5.93 kB
build/assets/lint.es2.js 32.1 kB
build/assets/lint.es3.js 4.87 kB
build/assets/matchbrackets.es.js 621 B
build/assets/matchbrackets.es2.js 3.36 kB
build/assets/medium.js 1.56 kB
build/assets/mode-indent.es.js 326 B
build/assets/mode.es.js 714 B
build/assets/mode.es2.js 1.68 kB
build/assets/mode.es3.js 1.48 kB
build/assets/NotFound.js 490 B
build/assets/parser.js 27.5 kB
build/assets/Privacy.css 423 B
build/assets/Privacy.js 25.3 kB
build/assets/quist.js 19.5 kB
build/assets/Range.js 530 B
build/assets/release-page.css 398 B
build/assets/release-page.module.js 61 B
build/assets/releases.js 1.07 kB
build/assets/releases.css 481 B
build/assets/SchemaReference.es.js 3.06 kB
build/assets/search.es.js 6.78 kB
build/assets/searchcursor.es.js 620 B
build/assets/searchcursor.es2.js 5.8 kB
build/assets/show-hint.es.js 11.5 kB
build/assets/sublime.es.js 16.1 kB
build/assets/Thankyou.js 365 B
build/assets/Tutorial.css 997 B
build/assets/Tutorial.js 80.7 kB
build/assets/useApolloClient.js 152 B
build/assets/WorksheetLogin.js 512 B

compressed-size-action

Comment on lines +70 to +76
<Notice
// Increment for each new notice (though you don't need to change it
// when removing a notice), or users who previously dismissed the banner
// won't see the updated content.
key="unauthenticated-notice"
id={5}
>
Copy link
Member

Choose a reason for hiding this comment

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

Don't use a notice because it's closeable and then will never reopen. Use a separate dialog box in the lower right corner. See also #1633

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@benzuzu Thoughts on taking over? I'm kinda scuffed when it comes to frontend :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@Josh-Cena, I've thought about this more and I think we should replace the Me icon with a primary colored sign in button for unauthenticated access - something very similar to the approach google.com takes.

As for #1633, I think the exclamation point in the Me icon with an action item in the dropdown is the way to go.

Copy link
Member

Choose a reason for hiding this comment

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

Yep agreed for the first part. See my previous slack message:

(For logged in users) I think it should show name initials instead of the default icon here, and we should have a way to let people customize their name in case there's no Yalies data, they have diff preferred name, etc.

But I also like your idea of a primary colored button.

Copy link

github-actions bot commented Mar 15, 2024

Thanks for your pull request! The preview of your changes is available at https://public-banner.preview.coursetable.com.

@coursetable coursetable deleted a comment from github-actions bot Mar 15, 2024
@neilsong neilsong marked this pull request as draft March 23, 2024 22:30
@neilsong neilsong changed the title feat: public banner reminder to sign in if on public catalog feat: new auth ui Mar 23, 2024
@Josh-Cena Josh-Cena force-pushed the master branch 3 times, most recently from 507a9e0 to 28c12bf Compare April 18, 2024 00:00
@Josh-Cena Josh-Cena force-pushed the master branch 3 times, most recently from ef76603 to 3f2e6c5 Compare May 16, 2024 09:43
@bearsyankees
Copy link
Member

@neilsong @Josh-Cena still viable?

@Josh-Cena
Copy link
Member

Yeah still viable. Not sure what exactly to do though.

@Josh-Cena
Copy link
Member

Closing as #1633 has been addressed and I think it's clear enough that users aren't logged in if they can't see ratings

@Josh-Cena Josh-Cena closed this Aug 28, 2024
@Josh-Cena Josh-Cena deleted the public-banner branch August 28, 2024 05:05
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.

3 participants