-
Notifications
You must be signed in to change notification settings - Fork 1
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
#187419005 Users should be able to Login with Email and Password #7
Conversation
✅ Deploy Preview for shop-trove ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
e1e554f
to
a4b9850
Compare
1d705b4
to
55e66f6
Compare
55e66f6
to
924ebee
Compare
924ebee
to
64cb4fc
Compare
b97bf6d
to
d429280
Compare
@@ -1,8 +1,43 @@ | |||
import axios from "axios"; | |||
import axios, { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
@@ -1,9 +1,9 @@ | |||
import { configureStore } from "@reduxjs/toolkit"; | |||
import usersSlice from "./features/userSlice"; | |||
import { configureStore } from '@reduxjs/toolkit'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
@@ -1,9 +1,9 @@ | |||
import { render, screen } from "@testing-library/react"; | |||
import About from "../../src/pages/About"; | |||
import { render, screen } from '@testing-library/react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
@@ -1,10 +1,10 @@ | |||
import { render, screen } from "@testing-library/react"; | |||
import Footer from "../../src/components/Footer"; | |||
import { render, screen } from '@testing-library/react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
@@ -0,0 +1,48 @@ | |||
import { render, screen } from '@testing-library/react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
@@ -0,0 +1,55 @@ | |||
import { render, screen } from '@testing-library/react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
@@ -0,0 +1,11 @@ | |||
import { render, screen } from '@testing-library/react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
@@ -0,0 +1,28 @@ | |||
import { render, screen } from '@testing-library/react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
@@ -1,8 +1,8 @@ | |||
import { render } from "@testing-library/react"; | |||
import Home from "../../src/pages/Home"; | |||
import { render } from '@testing-library/react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
@@ -0,0 +1,27 @@ | |||
import { fireEvent, render, screen } from '@testing-library/react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
d429280
to
62ce1c8
Compare
@@ -0,0 +1,5 @@ | |||
export interface LoginState { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
@@ -1,4 +1,4 @@ | |||
import Routers from "./routes"; | |||
import Routers from './routes'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
@@ -0,0 +1,38 @@ | |||
import { forwardRef, LegacyRef } from 'react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
import { Outlet } from "react-router-dom"; | ||
import Nav from "./Nav"; | ||
import Footer from "./Footer"; | ||
import { Outlet } from 'react-router-dom'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
@@ -0,0 +1,22 @@ | |||
import { ReactNode } from 'react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
@@ -0,0 +1,55 @@ | |||
import bgImage from '../../assets/register-login-card-image.svg'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
@@ -0,0 +1,30 @@ | |||
import { useEffect, useState } from 'react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
@@ -0,0 +1,17 @@ | |||
import { toast } from 'sonner'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
@@ -0,0 +1,24 @@ | |||
import { useState } from 'react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
import App from "./App"; | ||
import { Provider } from "react-redux"; | ||
import { store } from "./redux/store"; | ||
import React from 'react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
62ce1c8
to
6375ab7
Compare
@@ -1,5 +1,5 @@ | |||
const About = () => { | |||
return <div>About Us</div>; | |||
return <div className="flex-center h-screen text-7xl">About Us</div>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: Unexpected token <
))} | ||
</div> | ||
); | ||
return <div className="flex-center h-screen text-7xl">Home Page</div>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: Unexpected token <
@@ -0,0 +1,19 @@ | |||
import LoginForm from '../../components/auth/LoginForm'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
@@ -0,0 +1,5 @@ | |||
const Register = () => { | |||
return <div className="flex-center h-screen text-7xl">Register Page</div>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: Unexpected token <
@@ -0,0 +1,48 @@ | |||
/* eslint-disable @typescript-eslint/no-explicit-any */ | |||
import { createAsyncThunk, createSlice, PayloadAction } from '@reduxjs/toolkit'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
import { render } from "@testing-library/react"; | ||
import { MemoryRouter } from "react-router-dom"; | ||
import App from "../../src/App"; | ||
import { render } from '@testing-library/react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
import React from "react"; | ||
describe("Main Component", () => { | ||
it("renders App without error", () => { | ||
import { render } from '@testing-library/react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
@@ -1,4 +1,4 @@ | |||
import * as matchers from "@testing-library/jest-dom/matchers"; | |||
import { expect } from "vitest"; | |||
import * as matchers from '@testing-library/jest-dom/matchers'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
@@ -1,7 +1,7 @@ | |||
import { defineConfig } from "vite"; | |||
import react from "@vitejs/plugin-react"; | |||
import { defineConfig } from 'vite'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
@@ -1,19 +1,19 @@ | |||
import { defineConfig } from "vitest/config"; | |||
import { defineConfig } from 'vitest/config'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
#187419005 Users should be able to Login with Email and Password
#187419005 Users should be able to Login with Email and Password
#187419005 Users should be able to Login with Email and Password
# This is the 1st commit message: feat(user profile update) implementation of user profile update #187419019 # This is the commit message #2: chore(Empty react project): setup empty react project [Finishes #187418992 ] # This is the commit message #3: fix(fix react project setup) fixing react empty project setup # This is the commit message #4: chore(setup tailwind Css): Setting up TailwindCss styling Environment Finishes #187418997 # This is the commit message #5: chore(readme): add all badges technologies [Delivers #187419042] # This is the commit message #6: test(testing folder): Change folder structure to be in the root folder - Moved the test folder from src to the root folder for better organization. - Added setupTest.ts in the test folder. - Updated vite.config.ts to include the test configuration. # This is the commit message #7: eslint # This is the commit message #8: eslint # This is the commit message #9: eslint # This is the commit message #10: chore(setup Eslint, Pre-commit and Hound ci): setting up the eslint, precommit and hound ci # This is the commit message #11: chore(Eslint): Eslint, git preccommit and hound # This is the commit message #12: my commit # This is the commit message #13: test(testing folder): Change folder structure to be in the root folder - Moved the test folder from src to the root folder for better organization. - Added setupTest.ts in the test folder. - Updated vite.config.ts to include the test configuration. # This is the commit message #14: feat(login): Implement login # This is the commit message #15: feat(Register): Users should be able Signup/Register to the E-commerce App -[Delivers #187419003] feat(Register): Users should be able Signup/Register to the E-commerce App -[Delivers #187419003] # This is the commit message #16: fix(sign up responsivenes): fix the responsiveness of sign up # This is the commit message #17: fix(sign up responsivenes): fix the responsiveness of sign up # This is the commit message #18: feat(heroe): heroe section # This is the commit message #19: feat(verify-email):User should be able to verify the email # This is the commit message #20: feat(user profile update) implementation of user profile update
Users should be able to Login with Email and Password
To be able to use the application and access authenticated routes, a login form should be presented to users.
How to test it?
feat-implement-login
and runnpm install
npm run dev
and navigate to/login
Pivot tracker id
187419005