FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add Pipeline Tooltips Read From Pipeline Headers by mattdawkins · Pull Request #1570 · Kitware/dive · GitHub

/ dive Public

Add Pipeline Tooltips Read From Pipeline Headers - #1570

Merged
BryonLewis merged 3 commits into
mainfrom
dev/add-pipeline-tooltips
May 5, 2026
Merged

BryonLewis merged 3 commits into
mainfrom
dev/add-pipeline-tooltips

Conversation

mattdawkins commented Jan 17, 2026
edited
Loading

Copy link
Copy Markdown
Member

Summary

Surface the pipeline / training-config description (read from each `.pipe` / `.conf` header) as a hover tooltip in the dropdown menus that don't already show it.

The header-extraction pipeline (`extract_pipe_metadata` server-side, `extractPipeMetadata` client-side) is already on main; this PR is just the UI wire-up that was missing.

Changes vs main

  • `RunPipelineMenu.vue`: add a global `<style>` block giving `.pipeline-description-tooltip` a solid `#3a3a3a` background so descriptions stay readable over Vuetify's translucent list backgrounds.
  • `MultiPipeline.vue` (desktop bulk-pipeline dialog): wrap each pipeline in the v-select with a left-anchored v-tooltip bound to `metadata?.description`.
  • `MultiTrainingMenu.vue` (desktop) and web-girder `RunTrainingMenu.vue`: switch the configuration v-select to `item-text/item-value="name"`, wrap each item in a v-tooltip bound to `description`, and have `#selection` render `item.name` so the dropdown still displays cleanly.

This rebase drops the original branch's `extract_pipe_description` / `PipelineDescription.description` plumbing because main now provides the same data through the richer `PipeMetadata` / `TrainingConfig.description` types.

Copy link
Copy Markdown
Collaborator

Within the latest published or even the master branch of the VIAME Repo there are no pipelines/configs that contain Description: Need some samples and pipelines before I can accurately test.

mattdawkins force-pushed the dev/add-pipeline-tooltips branch from 1b29867 to f543c28 Compare April 29, 2026 09:02
Main already extracts the metadata; this just wires it through to the
dropdown UIs that weren't surfacing it.

- Solid dark background on .pipeline-description-tooltip in
  RunPipelineMenu so the text is readable.
- MultiPipeline (desktop): tooltip on each pipeline showing
  metadata.description.
- MultiTrainingMenu (desktop) + web-girder RunTrainingMenu: same
  treatment for TrainingConfig.description; switch to item-text/
  item-value="name" and render item.name in the selection slot.
mattdawkins force-pushed the dev/add-pipeline-tooltips branch from f543c28 to 14e8666 Compare April 29, 2026 09:44

Copy link
Copy Markdown
Collaborator

is this superseded by #1624 from @Louis-Pagnier-KW? If so this PR should probably be closed?

Copy link
Copy Markdown
Collaborator

I see now that this is slightly different from the previous pipeline description.

Updated it to fix some minor issues with it running.

Added a small 250ms delay for pipeline/trianing tooltips so because it seemed a bit hectic before.

BryonLewis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Did some minor modifications and testing of the functionality. Seems to work properly.

BryonLewis merged commit b1b47e8 into main May 5, 2026
3 checks passed
BryonLewis deleted the dev/add-pipeline-tooltips branch May 5, 2026 15:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL