New FamilyTreeView Addon (Thread 2)

In the last two weeks, I have mostly been finishing previously started implementations. Today, 0.1.100 was released. (Hooray! :tada:)
Here is an overview of the most important improvements since v0.1.80:

  • Mouse click improvements:
    • Context menu for person boxes, family boxes and the canvas background (right click).
      Person context menu:
      Family context menu: image
      Background context menu:
      (I plan to add more menu items to the context menus. I’m open to suggestions.)
    • Customize clicks not only for the primary (left) mouse button, but also for the secondary (right) and the middle mouse buttons.
    • Customize clicks also for clicking the background.
    • This allows great customization. By activating the advanced options (checkbox in the upper left), you can customize all settings. By default, a single right click opens the context menu and many other settings are set to “Do nothing”:
    • Some ideas for customizing the clicks you may find helpful (you cannot combine all of the ideas described here):
      • Single middle click on the background: Scroll to active person
      • Double middle click on the background: Scroll to home person
      • Double left click on the background: Zoom in
      • Double right click on the background: Zoom out
      • Single or double middle click on the background: Reset zoom
      • Double right click on a person/family: Open info box
      • etc. (If you find a combination/configuration that is very efficient for you, feel free to share it to give other users more ideas.)
    • After this update, your previous customization of mouse clicks will need to be reconfigured.
  • Support for an alternative mouse wheel usage (requested by @emyoulation here)
    image
    I added a drop-down menu to the interaction page of the config window, allowing the user to choose between two modes:
    • Map mode (inspired by how you navigate a digital map (e.g. on a website or a map in Gramps) → the mouse wheel changes the zoom, similar to the implementation in Graph View) [implemented in FTV since the initial release].
    • Document mode (inspired by how you navigate in a PDF document or a website → the mouse wheel scrolls the document) [this is a new implementation].
  • Error handling for known tree build errors with suggested workarounds.
  • Configs for zoom of the canvas (e.g. default zoom level) [already discussed here].
  • Name abbreviation:
    • Refactoring to improve diffing with Gramps’ names.py
    • Unit tests to check that the abbreviation and markup will work correctly in future updates (e.g. when moving to Gramps 6.0)
    • Various improvements/bug fixes (e.g. unnecessary empty markup tags, special handling of the “-” connector)
  • Add a missing person by double-clicking on a box labeled “[missing]”.
    (This is the first enhancement to add new people to the tree. The “Add Relatives” feature is in development.)
  • Various small improvements, bug fixes (e.g. don’t rebuild tree multiple times in some cases, add tooltip for some icon buttons, keep an image of the previous tree while FTV rebuilds the tree while preventing Gramps from freezing and flickering due to tree building, etc.)
4 Likes