Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Active Record fallback? #220

Open
emyoulation opened this issue Oct 16, 2022 · 2 comments
Open

Active Record fallback? #220

emyoulation opened this issue Oct 16, 2022 · 2 comments

Comments

@emyoulation
Copy link

There's normally an Active Person and Home Person once the Tree has been used at all. And those survive restarts. So the CardViews focused on the Active Person record will typically populate on a fresh start.

But the other CardViews will initially be blank.

Can an active record fallback be instituted for CardViews? If there is no focus object is selected AND at least 1 record exists in the category, could CardView make the last modified record in that category 'Active'?

@cdhorn
Copy link
Owner

cdhorn commented Oct 23, 2022

The others load fine for me if it was the last tree used and they are in the history and the restore hist plugin is active and fixed.

To find the last modified record in a category in 5.1 I need to do a full scan of the database for each category which is what you want to be able to turn off.

I need to submit a PR for 5.2 to add a method to query the database to get the most recent modified lists, then performance won't be a concern anymore for that at least.

@emyoulation
Copy link
Author

Please give a graceful fallback with no tree loaded too. Or a tree with no records in the Category of the CardView view mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants