Coder Social home page Coder Social logo

Comments (6)

shawntabrizi avatar shawntabrizi commented on July 25, 2024 1

This has been completed for a while now.

from substrate-front-end-template.

shawntabrizi avatar shawntabrizi commented on July 25, 2024

I think it is a generally good idea. I dunno if you can do this as a separate component or you would need embed it into the main "apps" part.

As long as complexity remains low, I think it makes sense.

from substrate-front-end-template.

shawntabrizi avatar shawntabrizi commented on July 25, 2024

Initial implementation is in and works better than how it was before.

Things that can continue to be improved before this issue is closed:

  • Automatically select an account so user does not need to interact every time. Ideally it would select the first account available. defaultValue on the dropdown would also be set then.

  • Move the "AccountSelector" component out of the App return, to keep that part of the code clean. I tried, but for some reason it wasn't updating the visual of the selected account.

  • Identicons??? :)

  • Add a label to the menu item

  • Use menu for more stuff? I could see it being used for metadata about the user.

from substrate-front-end-template.

shawntabrizi avatar shawntabrizi commented on July 25, 2024

I just pushed this which greatly improves UX: c00ef01

from substrate-front-end-template.

shawntabrizi avatar shawntabrizi commented on July 25, 2024
  • Add a label to the menu item
  • Move the "AccountSelector" component out of the App return, to keep that part of the code clean.

Both of these addressed here:

#34

from substrate-front-end-template.

shawntabrizi avatar shawntabrizi commented on July 25, 2024

Selecting an initial user when the page loads is the last thing I think we really need and then we can close this main issue. Could not find a react friendly and simple way to do it yet.

from substrate-front-end-template.

Related Issues (20)

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.