Git Product home page Git Product logo

plusonepwa's People

Contributors

awwilhelm avatar jackhp95 avatar jimxliu avatar rwoodnz avatar

Watchers

 avatar  avatar  avatar

plusonepwa's Issues

Back to route after login

If you click say on 'chats' and it asks you to login, once logged in with social media you would expect to go back to the route you were at, not to GoMe.

Unfortunately Auth0 redirect mode reloads the page when it comes back. Auth0 popup mode keeps you on the page and has different problems but may be worth exploring.

I considered we could pass the route out and back to JS local storage. However that would lead to horrendous encoding decoding.

Streamlining Types file

Thinking it may be best to take init code out of the Types file. Inits can have calls and references to other files that themselves may call back to types, creating compile loops.

Tidy up of Nav tab state

Login (when you have a record in the database) - briefly shows 'create profile' in the Nav tab before jumping to ''

The 'state' not being recognised here is the loading user state, during which time it could be showing for example 'logging in' instead of 'create profile'.

Unless some flag already exists, we could add a bool to the model to indicate loading, set it when the request goes out, clear it when it arrives back and use that to determine that 'logging in' is showing .

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.