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

Better use of space when displaying the results (truncation method) #12

Open
euu2021 opened this issue Feb 13, 2023 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@euu2021
Copy link
Contributor

euu2021 commented Feb 13, 2023

I always felt a bit unsatisfied about how the search results displayed when the node text is long. I never knew why. For some reason, I always need to navigate to the node in order to check if it really is what I'm looking for. Even making the Jumper window giant and the font size tiny isn't enough for me to "see" the results.

Now, I stopped to understand the situation, and concluded that it's because of how the truncation works.

For example, searching for BBB in this situation:

image

Results in:

image

Notice that:

-For BBB2: the truncation favors the text to the right side of the word BBB2. To me, this creates problems, because there is not enough text before the word BBB2 for me to get the context, and so understand the result (i.e., in order to understand which node actually is this). I think that, if the result was in the middle, it would be more useful.
image

-for BBB3: the truncation doesn't take full advantage of the space available for displaying the result (I give a lot of screen real estate to Jumper, so I want Jumper to actually use it)

Thanks,

Map used in the example:
EXAMPLE BBB.zip

@euu2021
Copy link
Contributor Author

euu2021 commented Feb 13, 2023

An idea, that may help with the problem described here, is having a tooltip to show the content of the node when the mouse hover over the search results. The MapInsight Add-On, for example, has a tooltip that is very useful to show lengthy nodes (see it working at 12:55 in this video)

@lilive lilive added the enhancement New feature or request label Feb 16, 2023
@ldmpub
Copy link

ldmpub commented Feb 18, 2023

Hi,

Here are my opinions:

  • Center the highlighted text result every time it's possible => both for BBB2 & BBB3 use cases
  • Adding tooltip sounds nice but I raised 2 warnings:
    • there should be an option to enable / disable tooltip (no "breaking change" for current users)
    • maybe the delay before tooltip is displayed should be "customizable" ; because I assume you want the tooltip to automatically occur when result is selected (ie when moving up / down from 1 result to an other one)

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

No branches or pull requests

3 participants