Add Pipeline Tooltips Read From Pipeline Headers #1570
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add Pipeline and Training Config Tooltips
Summary
This PR adds helpful tooltips to pipeline and training configuration selection menus throughout the DIVE application. Tooltips display descriptions extracted from pipeline and configuration file headers, making it easier for users to understand what each option does before selecting it.
Features
1. Pipeline Tooltips
.pipefiles)2. Training Configuration Tooltips
.conffiles)3. Description Extraction
# Description:comments in the first 5 lines of.pipefiles.conffiles#followed by=(e.g.,# ===)#followed by only whitespaceTechnical Changes
Frontend (
client/)Common Components
dive-common/components/RunPipelineMenu.vue:descriptionfield from pipeline objectsDesktop Platform
platform/desktop/frontend/components/MultiPipeline.vue:platform/desktop/frontend/components/MultiTrainingMenu.vue:TrainingConfigobjects withnameanddescriptionpropertiesWeb-Girder Platform
platform/web-girder/views/RunTrainingMenu.vue:TrainingConfigobjects withnameanddescriptionpropertiesDesktop Backend
platform/desktop/backend/native/common.ts:extractPipeDescription()function to extract descriptions from pipeline filesgetPipelineList()to extract and include descriptions for each pipelinegetTrainingConfigs()to extract descriptions from training config filesdescriptionfield inTrainingConfigobjectsAPI Specification
dive-common/apispec.ts:PipelineDescriptiontype to include optionaldescriptionfieldTrainingConfigtype to include optionaldescriptionfieldBackend (
server/)dive_tasks/pipeline_discovery.py:extract_pipe_description()function to extract descriptions from pipeline file headersload_static_pipelines()to extract and include descriptions for discovered pipelines# Description:comments in the first 5 linesdive_utils/types.py:PipelineDescriptionTypedDict to include optionaldescriptionfieldBenefits
Testing Considerations