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

Update login UI #1030

Merged
merged 9 commits into from
Apr 9, 2024
Merged

Conversation

CannonLock
Copy link
Contributor

  • Memory Cache User and other information
  • Remove Jumpiness from various pages that rely on this now cached information
  • Add a User button
  • Rework the login page to push towards Oauth login

@CannonLock CannonLock requested a review from haoming29 April 2, 2024 17:56
@haoming29 haoming29 linked an issue Apr 2, 2024 that may be closed by this pull request
Copy link
Contributor

@haoming29 haoming29 left a comment

Choose a reason for hiding this comment

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

Some changes to consider (see comments above)

web_ui/frontend/app/(login)/login/page.tsx Outdated Show resolved Hide resolved
web_ui/frontend/app/(login)/login/page.tsx Outdated Show resolved Hide resolved
web_ui/frontend/app/(login)/login/page.tsx Outdated Show resolved Hide resolved
web_ui/frontend/app/registry/layout.tsx Outdated Show resolved Hide resolved
web_ui/frontend/app/registry/page.tsx Outdated Show resolved Hide resolved
web_ui/frontend/components/layout/Sidebar/UserMenu.tsx Outdated Show resolved Hide resolved
web_ui/frontend/components/layout/Sidebar/UserMenu.tsx Outdated Show resolved Hide resolved
web_ui/frontend/components/layout/Sidebar/UserMenu.tsx Outdated Show resolved Hide resolved
web_ui/frontend/components/layout/Sidebar/index.tsx Outdated Show resolved Hide resolved
@haoming29 haoming29 linked an issue Apr 3, 2024 that may be closed by this pull request
1 task
@haoming29 haoming29 mentioned this pull request Apr 3, 2024
@CannonLock
Copy link
Contributor Author

@haoming29 Going to have to move the lack of returning to the original place to next release. I am not sure why my implementation for this is not working post build.

@haoming29
Copy link
Contributor

@haoming29 Going to have to move the lack of returning to the original place to next release. I am not sure why my implementation for this is not working post build.

That sounds good to me

@CannonLock CannonLock requested a review from haoming29 April 4, 2024 17:56
Copy link
Contributor

@haoming29 haoming29 left a comment

Choose a reason for hiding this comment

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

Two small changes requested. We one step before are getting there!

web_ui/frontend/app/(login)/login/page.tsx Outdated Show resolved Hide resolved
web_ui/frontend/app/(login)/login/page.tsx Outdated Show resolved Hide resolved
web_ui/frontend/components/layout/Sidebar/UserMenu.tsx Outdated Show resolved Hide resolved
web_ui/frontend/components/layout/Sidebar/UserMenu.tsx Outdated Show resolved Hide resolved
@haoming29
Copy link
Contributor

The cache PR causes a bit merge conflict, but after fixing that, we should hold until the login API changes #963 are in

@haoming29 haoming29 added this to the v7.7.0 milestone Apr 5, 2024
@CannonLock
Copy link
Contributor Author

@haoming29 Rebased and addressed concerns listed here: #963 (comment)

Copy link
Contributor

@haoming29 haoming29 left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for this

@haoming29
Copy link
Contributor

Note that we still need wait until #963 to be merged in first

@haoming29
Copy link
Contributor

haoming29 commented Apr 9, 2024

@CannonLock We should be good to go, once the branch is rebased/merged against the main and the merge conflicts are fixed

CannonLock and others added 9 commits April 9, 2024 10:20
- Memory Cache User and other information
- Remove Jumpiness from various pages that rely on this now cached information
- Add a User button
- Rework the login page to push towards Oauth login
- pre-commit
@CannonLock CannonLock merged commit ffbcc14 into PelicanPlatform:main Apr 9, 2024
19 checks passed
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.

Make login/logout dynamic based on user state Tune-up the login process
2 participants