Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-10983

Migrate Tekton-specific shared utilities from janus-idp/shared-react to a new tekton-react package

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • 1.9.0
    • None
    • UI
    • None
    • 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

              rh-ee-esapram Eswaraiah Sapram
              dsantra12 Debsmita Santra
              RHDH Frontend Plugins & UI
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: