Comments (9)
add this code with logout button
localStorage.clear(); // it will clear the browser local storage data only
from socket.io-admin-ui.
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.
@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.
That's a good idea. @imithu would you have the time to implement it?
from socket.io-admin-ui.
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.
It would be really great if this could be implemented
from socket.io-admin-ui.
@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.
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.
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)
- Redis-adapter -> reject(new Error("timeout reached while waiting for fetchSockets response")) HOT 3
- Add UI grid filtering options HOT 2
- RedisClient library used for RedisStore HOT 1
- Feature Request: Add option to "uninstrument" from the io server HOT 2
- Socket.IO - All users leave the room when a single user leaves
- RedisStore "saveSession" got "Invalid argument type" HOT 2
- Cannot read property 'forEach' of undefined HOT 4
- Fastify implementation HOT 3
- Not working with brave protection
- cors-origin is weird HOT 1
- Traffic and Connections Graphs empty HOT 3
- Add the ability to show the socket event response HOT 1
- Joining namespace room is impossible HOT 4
- Null inside socket.data object's field
- mac m1 build problem HOT 1
- docker image build failed HOT 1
- sass library problem HOT 4
- Azure Web PubSub for Socket.io Adapter
- Node version compatibility of the client side and creation of the docker container. HOT 6
- Add support for Deno HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from socket.io-admin-ui.