-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
-
3
-
False
-
-
False
-
-
-
RHDH F&UI plugins 3284, RHDH F&UI plugins 3285
Story
Several Tekton specific utilities are used by both the Tekton and Topology plugins and they currently reside in the janus-idp/shared-react package. Since these utilities are Tekton domain–specific, they should be moved out of the generic shared package and into a Tekton-owned workspace for better ownership, maintainability, and long-term plugin separation.
We propose creating a new package under community-plugins/wrokspaces:
community-plugins/workspaces/tekton/plugins/tekton-react
This package will house all Tekton related utilities, types, hooks, and components that are consumed by both Tekton and Topology plugins.
Utilities/components to migrate include:
- PipelineRunKind
- TaskRunKind
- ComputedStatus
- getRunStatusColor
- getTaskRunsForPipelineRun
- HorizontalStackedBars
- TaskStatusTooltip
- TaskStatusTypes
- PipelineTaskWithStatus
- pipelineRunStatus
- pipelineRunFilterReducer
- PipelineTask
- TerminatedReasons
- PipelineTaskParam
- SucceedConditionReason
- updateTaskStatus
Background
Dependencies and Blockers
QE impacted work
Documentation impacted work
Acceptance Criteria
- A new tekton-react package is created under:
community-plugins/workspaces/tekton/plugins/tekton-react - All identified Tekton utilities are migrated from janus-idp/shared-react to the new package.
- Import paths in both Tekton and Topology plugins are updated to reference the new package.
- No breaking changes are introduced in either plugin’s build, tests, or functionality.
- Ensure that there are no remaining imports from janus-idp/shared-react package.
Refer spike doc: https://docs.google.com/document/d/1U1LZkJefeB63HRLb4vu8QumtoeE_XBQCNSf0Z1ah3sU/edit?usp=sharing