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

Add context menu #27

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add context menu #27

wants to merge 1 commit into from

Conversation

roptat
Copy link

@roptat roptat commented Jan 20, 2025

This adds a context menu to FTV. Now, with a right-click on a person or family, a context menu appears, and allows editing the person or family. For persons, it also allows to select a person from the list of associated people and set them as active. I think this is the missing interaction that will allow navigating to any linked person in the tree.

The reason I want this is because I configured FTV to open the panel on a single click, and set the person as active on a double click. It makes it super easy to navigate in the tree, but editing requires too much interaction now :)

WDYT?

@ztlxltl
Copy link
Owner

ztlxltl commented Jan 20, 2025

Thanks for the pull request! I definitely like the idea with the associated people!

I've already started implementing a context menu (without associated people), but it's not finished yet, so I haven't pushed my current implementation. I haven't looked at your code closely, but I'm sure that both implementations can be combined. It will probably be some time before I come back to the context menu and take a closer look at your PR. First, I want to improve some core aspects of the tree builder class and clean up the code for long-term maintainability.

I am sorry that it is going to take me some time to get back to this PR.
Thanks for your patience.

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

Successfully merging this pull request may close these issues.

2 participants