Git Product home page Git Product logo

Comments (9)

imithu avatar imithu commented on May 18, 2024

add this code with logout button

localStorage.clear(); // it will clear the  browser local storage data only

from socket.io-admin-ui.

fahadpf avatar fahadpf commented on May 18, 2024

I would not suggest clearing the whole localStorage. I'm using this project on a subdirectory of my domain, and I also have some very important data stored in localStorage.

It would be better if we clear only those keys which are set by Admin UI.

from socket.io-admin-ui.

imithu avatar imithu commented on May 18, 2024

@fahadpf
i agree with you

Replay: @mdawaffe

I would not suggest clearing the whole localStorage. I'm using this project on a subdirectory of my domain, and I also have some very important data stored in localStorage.

It would be better if we clear only those keys which are set by Admin UI.

from socket.io-admin-ui.

darrachequesne avatar darrachequesne commented on May 18, 2024

That's a good idea. @imithu would you have the time to implement it?

from socket.io-admin-ui.

imithu avatar imithu commented on May 18, 2024

sure, i will do it in nuxt

Replay: @darrachequesne
That's a good idea. @imithu would you have the time to implement it?

from socket.io-admin-ui.

Thomas-1985 avatar Thomas-1985 commented on May 18, 2024

It would be really great if this could be implemented

from socket.io-admin-ui.

darrachequesne avatar darrachequesne commented on May 18, 2024

@Thomas-1985 could you please explain your use case?

I'm not sure about the feature that is requested here. Should we overload the "update" button?

from socket.io-admin-ui.

Thomas-1985 avatar Thomas-1985 commented on May 18, 2024

Well there should be a "logout" button that logs you out of the ui. Like @fahadpf mentioned, the code should only clear the set localStorage keys and not clear it out completely (there could be other data stored).

from socket.io-admin-ui.

tfrancois avatar tfrancois commented on May 18, 2024

This excellent piece of software is sorely lacking this feature - it would make this product almost PERFECT. Please implement.

from socket.io-admin-ui.

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.