fathomnet / community-feedback

0 stars 0 forks source link

General search: Map or concept view, a global setting or remembered in history? #22

Open ermbutler opened 2 years ago

ermbutler commented 2 years ago

https://github.com/fathomnet/community-feedback/issues/5#issuecomment-941982439

from @tropicofdan

Summary: For the general search: Perhaps it's something that can be a global setting? I'm probably getting too far ahead of myself, but it would be cool if users could tailor the FathomNet UI a little to their preference. For instance, some might want the concept tree as the default or others might like the map view. Just some thoughts.

ermbutler commented 2 years ago

Here's the solutions I can think of from this idea:

  1. We could save in a browser for a session, or until cleared --- it is easily doable.
  2. Pushing the information to the URL history. Then when you use the "Back" button you will see the state you were just in.
  3. Actually incorporate backend / user model - create setting that is adhered to in exploerer AND setting management for this in user account.

Number 3 maybe would be something longer term, so is obviously the heavier lift option. I would probably start with solution 2, generally preserve the state better. Then for specific things use a checkmark that preserves the preference in browser storage rather than to an account.