gramps-web
gramps-web copied to clipboard
Feature - save family tree view settings
Whenever I go to the family tree view, I usually change it to vertical view with 5 ancestors/descendants. I have to do this each time I open up the website. It would be nice to have this persist across sessions.
Yes, good idea.
If somebody wants to implement this:
GrampsjsViewGraph
has a property settings
that is an object that contains all the settings (synced with LocalStorage). So, just need to implement two things:
- set view parameters based on a new settings key, if present
- update this settings key when a parameter is changed, using
updateSettings({someKey: someValue})
fromapi.js
I could try to solve this. 😄