-
Notifications
You must be signed in to change notification settings - Fork 63
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
Control Panel Login Form #822
Comments
Hey Glenn, I'm going to get after this one. |
Hi @briansegura15 can I work on this one with you? @DietBepis1 Is this ok for more than 1 person to work on? |
I'm always down to team up Maye! 👍 |
briansegura15
added a commit
that referenced
this issue
Dec 12, 2023
- Collect and send user credentials via POST request to /api/v1/auth/login - Handle response and store session cookie in browser's cookie jar - Redirect user to dashboard view after successful login - Ensure responsiveness of login form for all screen sizes This commit addresses issue #822 by implementing a responsive login form for the control panel. As per the specs, the form collects user credentials, communicates with the server, handles the response, stores the session cookie, and redirects the user to the dashboard view upon successful login.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
In this issue, we will work on creating a login form for the control panel.
We can use Vuetify's built in components to offload most of the heavy styling work. Look at those docs, here. Make sure you are looking at Vuetify V2's docs and not V3 (that's for Vue 3).
Spec
The form should do the following:
/api/v1/auth/login
with those credentials and get a responseTesting this will be challenging because we do not currently have automated testing for front-end components. Adding that is outside the scope of this cohort. We will have to rely on multi-user testing and the browser dev tools for now. If the login routes are not completed yet, we can stub them out for testing.
Copilot Prompts
How do I redirect to a different page with Vue 2's router?
How does the browser store cookies?
What are some tips for making a webpage as responsive as possible to different screen sizes?
Target Date: 12/31/2023 📆
The text was updated successfully, but these errors were encountered: