gramps-web icon indicating copy to clipboard operation
gramps-web copied to clipboard

Feature - save family tree view settings

Open OJ7 opened this issue 3 years ago • 2 comments

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.

OJ7 avatar Feb 21 '22 13:02 OJ7

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}) from api.js

DavidMStraub avatar Feb 21 '22 18:02 DavidMStraub

I could try to solve this. 😄

BlitzundBogen avatar Mar 15 '24 05:03 BlitzundBogen