-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Save sidebar preference when collapsing/expanding #2098
Comments
I wonder if saving the preference would be enough per cookie, rather than per user? |
Good question @kumikokashii. In the first case, the settings would be saved on the browser, in the other case the user could bring back his settings on another browser/PC too. |
I came up with this use case. User was on Desktop and let's say had all of sidebar expanded. The same user goes to another hospital and uses Tablet to log in. Screen size is much smaller, and he/she may not want all sidebar expanded? Mobile has no sidebar. |
I think this issue has to be split in two:
|
This feature seems to me more something for version 2.1. Am I wrong? |
Agree ✋ |
No, you are not. We will have many of these, let's call them, "settings". However we have to finalise the document that explains the user story, before the release of 2.0. |
Hey all! I see that you have decided to save this for a later milestone. I was thinking about taking a crack at it over the next two weeks and was wondering if that would be advisable by the team? If so, the document that @fox1t mentions would be useful to see. |
Just some clarification on the tasks involved:
I'll get started testing the persistence of this setting by mocking the source of truth (where the setting will be saved per user) for now. |
So after some more investigating, I see that the demo on the HospitalRun website actually has an authentication and user system. Is this part of the 1.x releases and just has not been updated for the 2.0 release yet? |
Hi @elveskevtar,
|
The 1.0.0-beta has several issues about how it handled the authentication. We are building it ground up in order to support what i mentioned in my last reply here. |
Thank you for the quick update! I don't have experience with CouchDB but I do have experience with NoSQL databases. I took a look at the json models to define the schema for it in core and it looks pretty intuitive. As for authentication, that makes sense. Will users need to be connected to the internet to authenticate at first or is that the point of the external login? I have significant experience in making auth systems but that task is probably a little beyond me as a first time contributor. Regardless, where would you recommend that I start? I think that I could get the persistence working while the user schema is fleshed out. |
Hi guys. Any update on this issue can I take it? |
Hi @blestab @fox1t @tehkapa @jackcmeyer @morrme, could I please take this on? |
@aguptamusic Sure ! |
@ArtemGoldsmith sorry that we missed your message! |
Update: I'm holding off on this issue because @jackcmeyer says: |
🚀 Feature Proposal
When the sidebar collapses or expands, I would like the setting saved so that when I refresh the page or when I use a different device, that setting is saved.
Technical Notes
The text was updated successfully, but these errors were encountered: