Skip to content

Add Pipeline Tooltips Read From Pipeline Headers#1570

Open
mattdawkins wants to merge 1 commit intomainfrom
dev/add-pipeline-tooltips
Open

Add Pipeline Tooltips Read From Pipeline Headers#1570
mattdawkins wants to merge 1 commit intomainfrom
dev/add-pipeline-tooltips

Conversation

@mattdawkins
Copy link
Copy Markdown
Member

@mattdawkins mattdawkins commented Jan 17, 2026

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.

@BryonLewis
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 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 mattdawkins force-pushed the dev/add-pipeline-tooltips branch from f543c28 to 14e8666 Compare April 29, 2026 09:44
@BryonLewis
Copy link
Copy Markdown
Collaborator

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

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