Giter VIP home page Giter VIP logo

mern_notes_app's People

Contributors

shakya7 avatar

Watchers

 avatar

mern_notes_app's Issues

BUG-1 !!! Click->Login->Profile page landed ---- Click->Singup-->Signup page-->Click->Signup again->**All Notes!!!!**

Happening since

i) right now,
useEffect(()=>{
//console.log(signupActivate);
//console.log(isLoggedIn);
if(!signupActivate){ //Clicked on Signup again will set to signUpActivate to false
if(isLoggedIn)
{
if(allNotesActive){ //Now, the allNotesActive is true; i.e why only this if statement will execute
setResultScreen("all-notes");
}
else{
setResultScreen("show-profile"); //NOT THIS STATEMENT HERE
setProfileData(profileInfo); //setProfileData( ) not called-> (another ISSUE-> resolution:this can be included in IF block)
}
}
}
},[signupActivate,allNotesActive]);

ii)
Will not be an ISSUE if the user doesn't reach upto the PROFILE screen ;
i.e if the user will wander around the homescreen(currently blank now), login screen, signup screen, fail to login or signup

BUG-2 ! Failure of Signup form doesnt show any Error page

Issue:

BUG-2 ! Failure of Signup form doesnt show any Error page

Steps to resolve::
i)>Although it's showing the error message in the console

Failed to load resource: the server responded with a status of 400 (Bad Request)

Error: Request failed with status code 400 SignUpForm.js :67
at createError (createError.js:16)
at settle (settle.js:17)
at XMLHttpRequest.onloadend (xhr.js:66)

ii)Need to check :

the routes/ what is happening after the error is created in Signup form
the error is displaying in the console, but not redirecting to Error page
NEED TO COMPARE with Login form ---> Since failure on Login form redirects to Error page

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.