Skip to content

Commit

Permalink
Merge pull request #949 from roboflow/ui-manifest-updates
Browse files Browse the repository at this point in the history
update ui manifest for all blocks
  • Loading branch information
hansent authored Jan 16, 2025
2 parents e6f0ef0 + fd4c3a5 commit 5e85ed2
Show file tree
Hide file tree
Showing 95 changed files with 665 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,12 @@ class BlockManifest(WorkflowBlockManifest):
"long_description": LONG_DESCRIPTION,
"license": "Apache-2.0",
"block_type": "analytics",
"ui_manifest": {
"section": "data_storage",
"icon": "fal fa-database",
"blockPriority": 4,
"popular": True,
},
}
)
type: Literal["roboflow_core/data_aggregator@v1"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ class LineCounterManifest(WorkflowBlockManifest):
"long_description": LONG_DESCRIPTION,
"license": "Apache-2.0",
"block_type": "analytics",
"ui_manifest": {
"section": "video",
"icon": "far fa-arrow-down-up-across-line",
"blockPriority": 2,
},
}
)
type: Literal["roboflow_core/line_counter@v1"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ class TimeInZoneManifest(WorkflowBlockManifest):
"long_description": LONG_DESCRIPTION,
"license": "Apache-2.0",
"block_type": "analytics",
"ui_manifest": {
"section": "video",
"icon": "far fa-timer",
"blockPriority": 1,
},
}
)
type: Literal["roboflow_core/time_in_zone@v1"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ class CameraFocusManifest(WorkflowBlockManifest):
"long_description": LONG_DESCRIPTION,
"license": "Apache-2.0",
"block_type": "classical_computer_vision",
"ui_manifest": {
"section": "classical_cv",
"icon": "far fa-aperture",
"blockPriority": 8,
"opencv": True,
},
}
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ class ImageContoursDetectionManifest(WorkflowBlockManifest):
"long_description": LONG_DESCRIPTION,
"license": "Apache-2.0",
"block_type": "classical_computer_vision",
"ui_manifest": {
"section": "classical_cv",
"icon": "far fa-border-all",
"blockPriority": 4,
"opencv": True,
},
}
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ class ConvertGrayscaleManifest(WorkflowBlockManifest):
"long_description": LONG_DESCRIPTION,
"license": "Apache-2.0",
"block_type": "classical_computer_vision",
"ui_manifest": {
"section": "classical_cv",
"icon": "far fa-palette",
"blockPriority": 7,
"opencv": True,
},
}
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ class BlockManifest(WorkflowBlockManifest):
"ui_manifest": {
"section": "classical_cv",
"icon": "far fa-ruler-triangle",
"blockPriority": 11,
"opencv": True,
},
}
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ class ColorPixelCountManifest(WorkflowBlockManifest):
"long_description": SHORT_DESCRIPTION,
"license": "Apache-2.0",
"block_type": "classical_computer_vision",
"ui_manifest": {
"section": "classical_cv",
"icon": "far fa-tally",
"blockPriority": 2,
"opencv": True,
},
}
)
image: Selector(kind=[IMAGE_KIND]) = Field(
Expand Down
6 changes: 6 additions & 0 deletions inference/core/workflows/core_steps/classical_cv/sift/v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ class SIFTDetectionManifest(WorkflowBlockManifest):
"long_description": LONG_DESCRIPTION,
"license": "Apache-2.0",
"block_type": "classical_computer_vision",
"ui_manifest": {
"section": "classical_cv",
"icon": "far fa-grid-2-plus",
"blockPriority": 4,
"opencv": True,
},
}
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ class SIFTComparisonBlockManifest(WorkflowBlockManifest):
"long_description": LONG_DESCRIPTION,
"license": "Apache-2.0",
"block_type": "classical_computer_vision",
"ui_manifest": {
"section": "classical_cv",
"icon": "far fa-magnifying-glass-arrows-rotate",
"blockPriority": 3,
"opencv": True,
},
}
)
type: Literal["roboflow_core/sift_comparison@v1"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ class SIFTComparisonBlockManifest(WorkflowBlockManifest):
"long_description": LONG_DESCRIPTION,
"license": "Apache-2.0",
"block_type": "classical_computer_vision",
"ui_manifest": {
"section": "classical_cv",
"icon": "far fa-magnifying-glass-arrows-rotate",
"blockPriority": 3,
"opencv": True,
},
}
)
type: Literal["roboflow_core/sift_comparison@v2"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ class SizeMeasurementManifest(WorkflowBlockManifest):
"ui_manifest": {
"section": "classical_cv",
"icon": "far fa-ruler",
"blockPriority": 10,
"opencv": True,
},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ class TemplateMatchingManifest(WorkflowBlockManifest):
"long_description": LONG_DESCRIPTION,
"license": "Apache-2.0",
"block_type": "classical_computer_vision",
"ui_manifest": {
"section": "classical_cv",
"icon": "far fa-crosshairs",
"blockPriority": 0.5,
"opencv": True,
},
}
)
image: Selector(kind=[IMAGE_KIND]) = Field(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ class ImageThresholdManifest(WorkflowBlockManifest):
"long_description": LONG_DESCRIPTION,
"license": "Apache-2.0",
"block_type": "classical_computer_vision",
"ui_manifest": {
"section": "classical_cv",
"icon": "far fa-circle-half-stroke",
"blockPriority": 6,
"opencv": True,
},
}
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ class BlockManifest(WorkflowBlockManifest):
"long_description": LONG_DESCRIPTION,
"license": "Apache-2.0",
"block_type": "flow_control",
"ui_manifest": {
"section": "flow_control",
"icon": "fak fa-branching",
"blockPriority": 0,
"popular": True,
},
}
)
type: Literal["roboflow_core/continue_if@v1", "ContinueIf"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ class DeltaFilterManifest(WorkflowBlockManifest):
"long_description": LONG_DESCRIPTION,
"license": "Apache-2.0",
"block_type": "flow_control",
"ui_manifest": {
"section": "flow_control",
"icon": "far fa-arrow-progress",
"blockPriority": 3,
},
}
)
image: WorkflowImageSelector
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ class RateLimiterManifest(WorkflowBlockManifest):
"long_description": LONG_DESCRIPTION,
"license": "Apache-2.0",
"block_type": "flow_control",
"ui_manifest": {
"section": "flow_control",
"icon": "far fa-clock",
"blockPriority": 2,
"popular": True,
},
}
)
cooldown_seconds: float = Field(
Expand Down
6 changes: 6 additions & 0 deletions inference/core/workflows/core_steps/formatters/csv/v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,12 @@ class BlockManifest(WorkflowBlockManifest):
"long_description": LONG_DESCRIPTION,
"license": "Apache-2.0",
"block_type": "formatter",
"ui_manifest": {
"section": "data_storage",
"icon": "fal fa-file-csv",
"blockPriority": 2,
"popular": True,
},
}
)
type: Literal["roboflow_core/csv_formatter@v1"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,12 @@ class BlockManifest(WorkflowBlockManifest):
"long_description": LONG_DESCRIPTION,
"license": "Apache-2.0",
"block_type": "formatter",
"ui_manifest": {
"section": "advanced",
"icon": "fal fa-code",
"blockPriority": 1,
"inDevelopment": True,
},
}
)
type: Literal["roboflow_core/expression@v1", "Expression"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ class BlockManifest(WorkflowBlockManifest):
"long_description": LONG_DESCRIPTION,
"license": "Apache-2.0",
"block_type": "formatter",
"ui_manifest": {
"section": "advanced",
"icon": "fal fa-empty-set",
"blockPriority": 7,
"inDevelopment": True,
},
}
)
type: Literal[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ class BlockManifest(WorkflowBlockManifest):
"long_description": LONG_DESCRIPTION,
"license": "Apache-2.0",
"block_type": "formatter",
"ui_manifest": {
"section": "advanced",
"icon": "fal fa-table-tree",
"blockPriority": 5,
},
}
)
type: Literal["roboflow_core/json_parser@v1"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ class BlockManifest(WorkflowBlockManifest):
"labels",
"coordinates",
],
"ui_manifest": {
"section": "advanced",
"icon": "fal fa-gear-code",
"blockPriority": 0,
"popular": True,
},
}
)
type: Literal[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ class BlockManifest(WorkflowBlockManifest):
"long_description": LONG_DESCRIPTION,
"license": "Apache-2.0",
"block_type": "formatter",
"ui_manifest": {
"section": "advanced",
"icon": "fal fa-tags",
"blockPriority": 5,
},
}
)
type: Literal["roboflow_core/vlm_as_classifier@v1"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ class BlockManifest(WorkflowBlockManifest):
"long_description": LONG_DESCRIPTION,
"license": "Apache-2.0",
"block_type": "formatter",
"ui_manifest": {
"section": "advanced",
"icon": "fal fa-tags",
"blockPriority": 5,
},
}
)
type: Literal["roboflow_core/vlm_as_classifier@v2"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ class BlockManifest(WorkflowBlockManifest):
"long_description": LONG_DESCRIPTION,
"license": "Apache-2.0",
"block_type": "formatter",
"ui_manifest": {
"section": "advanced",
"icon": "fal fa-object-ungroup",
"blockPriority": 5,
},
},
protected_namespaces=(),
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ class BlockManifest(WorkflowBlockManifest):
"long_description": LONG_DESCRIPTION,
"license": "Apache-2.0",
"block_type": "fusion",
"ui_manifest": {
"section": "advanced",
"icon": "fal fa-arrow-right-arrow-left",
"blockPriority": 5,
},
}
)
type: Literal[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ class BlockManifest(WorkflowBlockManifest):
"long_description": LONG_DESCRIPTION,
"license": "Apache-2.0",
"block_type": "fusion",
"ui_manifest": {
"section": "flow_control",
"icon": "fak fa-circles-overlap",
"blockPriority": 4,
},
}
)
type: Literal["roboflow_core/detections_consensus@v1", "DetectionsConsensus"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ class BlockManifest(WorkflowBlockManifest):
"long_description": LONG_DESCRIPTION,
"license": "Apache-2.0",
"block_type": "fusion",
"ui_manifest": {
"section": "advanced",
"icon": "fal fa-reel",
"blockPriority": 10,
"supervision": True,
},
}
)
type: Literal["roboflow_core/detections_stitch@v1"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ class BlockManifest(WorkflowBlockManifest):
"long_description": LONG_DESCRIPTION,
"license": "Apache-2.0",
"block_type": "fusion",
"ui_manifest": {
"section": "advanced",
"icon": "fal fa-layer-minus",
"blockPriority": 6,
"inDevelopment": True,
},
}
)
type: Literal["roboflow_core/dimension_collapse@v1", "DimensionCollapse"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ class BlockManifest(WorkflowBlockManifest):
"search_keywords": ["LMM", "VLM", "Claude", "Anthropic"],
"is_vlm_block": True,
"task_type_property": "task_type",
"ui_manifest": {
"section": "model",
"icon": "far fa-a",
"blockPriority": 5,
},
},
protected_namespaces=(),
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ class BlockManifest(WorkflowBlockManifest):
"long_description": LONG_DESCRIPTION,
"license": "Apache-2.0",
"block_type": "model",
"ui_manifest": {
"section": "model",
"icon": "fak fa-message-image",
"blockPriority": 10,
"inference": True,
},
}
)
type: Literal["roboflow_core/clip_comparison@v1", "ClipComparison"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ class BlockManifest(WorkflowBlockManifest):
"long_description": LONG_DESCRIPTION,
"license": "Apache-2.0",
"block_type": "model",
"ui_manifest": {
"section": "model",
"icon": "fak fa-message-image",
"blockPriority": 10,
"inference": True,
},
}
)
type: Literal["roboflow_core/clip_comparison@v2"]
Expand Down
Loading

0 comments on commit 5e85ed2

Please sign in to comment.