Skip to content

Smart Display of the "Update Selection" Panel #52

Description

@aaa1386

I'm proposing an idea, but I'm not sure if it's feasible or not.

This idea is related to the "Update Selection" option. Although this feature is useful, it has a drawback: when the selected node has only a few siblings and children, and all of them are visible on the screen, the Update Selection panel still appears. This reduces the user's workspace, and in many cases, displaying this panel via script is unnecessary because FP itself has already displayed all the nodes.

In fact, the Update Selection option is designed to display nodes that are not visible in the FP map due to their distance.

The key question is:
Can the script detect whether all the siblings and children of the selected node fit within the screen or not?

If such detection is possible, a highly practical solution can be implemented:

  • Whenever all the siblings and children of the selected node fit within the screen, the "Update Selection" panel should be hidden. Otherwise, it should be displayed.

This approach offers three advantages:

  1. Maximizing workspace: The workspace remains uncluttered when the panel is not needed.
  2. Enhancing user focus: When the panel appears, the user's attention naturally shifts to it, making node selection easier.
  3. Minimizing scrolling: Users will need to scroll less to view the nodes.

Is it possible for the script to make this detection?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions