Skip to content

Display length of shortest path in local results UI#3687

Merged
aeisenberg merged 2 commits intogithub:mainfrom
p-:display-max-steps-local-path-query
Aug 12, 2024
Merged

Display length of shortest path in local results UI#3687
aeisenberg merged 2 commits intogithub:mainfrom
p-:display-max-steps-local-path-query

Conversation

@p-
Copy link
Copy Markdown
Member

@p- p- commented Aug 12, 2024

Hey 👋

This PR implements the my feature request from #3659 for local path queries.
I'm totally open for changes of course (e.g. visualize it differently etc.)

The changes currently look like this:
display-shortest-path-local

(a badge showing the shortest path (4 or 12 here in this screenshot) was added and the length of the paths is shown on the respective entries in parentheses (e.g. (12 steps)). Additionally, a tooltip Shortest path is shown when hovering over the badge)

Note:

  • most of the added lines are for tests which I newly created. (the actual changes are quite small)
  • I've copied the contents for mockresults.ts from this story.

@p- p- requested a review from a team as a code owner August 12, 2024 13:29
Copy link
Copy Markdown
Contributor

@aeisenberg aeisenberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. Thanks for doing this. One minor change to the changelog entry and then 👍🏼.

Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
@p- p- requested a review from aeisenberg August 12, 2024 15:27
@p-
Copy link
Copy Markdown
Member Author

p- commented Aug 12, 2024

@aeisenberg wow thanks!

Copy link
Copy Markdown
Contributor

@aeisenberg aeisenberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

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