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

Add login page #367

Merged
merged 10 commits into from
Sep 17, 2024
Merged

Add login page #367

merged 10 commits into from
Sep 17, 2024

Conversation

Kitenite
Copy link
Contributor

Description

What is the purpose of this pull request?

  • New feature
  • Documentation update
  • Bug fix
  • Refactor
  • Release
  • Other

Kitenite and others added 5 commits September 16, 2024 15:39
Need to swap in a better logo and a better image.

Not super well-tested for smaller screen sizes but hoping that our fixed min-width addition will help with how the login screen may appear.

Also threw in placeholder logic for the login state.
Copy link
Contributor Author

@Kitenite Kitenite left a comment

Choose a reason for hiding this comment

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

Nice! Please don't merge.

app/src/App.tsx Outdated
return (
<ThemeProvider defaultTheme="dark" storageKey="vite-ui-theme">
<TooltipProvider>
<AppBar />
{routeManager.route !== Route.LOGIN && <AppBar />}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

No App Bar means no drag... Could make it black for the occasion?

Copy link
Collaborator

Choose a reason for hiding this comment

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

No drag? For the rest of the app or what do you mean? I don't quite understand.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Try dragging the window without the AppBar. You won't be able to drag it if its disabled. So instead, we can make it transparent or black when route is Login. You don't have to do this, I can update it once we agree on an implementation.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actually, I updated with what I mean

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I would reuse the other asset or replace it. Also needs to be compressed. Should be 200kb instead of 2 MB


useEffect(() => {
// Retrieve the last login method from localStorage
const storedMethod = localStorage.getItem('lastLoginMethod');
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nice stuff but this is not what we do. I'll update it before merge.

@Kitenite Kitenite merged commit 91aa5c8 into main Sep 17, 2024
@Kitenite Kitenite deleted the features/account-login branch September 17, 2024 02:30
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.

2 participants