Skip to content

fix(orchestrator): simplify workflows tab layout#2772

Open
lokanandaprabhu wants to merge 1 commit intoredhat-developer:mainfrom
lokanandaprabhu:orchestrator/workflows-tab-layout-changeset
Open

fix(orchestrator): simplify workflows tab layout#2772
lokanandaprabhu wants to merge 1 commit intoredhat-developer:mainfrom
lokanandaprabhu:orchestrator/workflows-tab-layout-changeset

Conversation

@lokanandaprabhu
Copy link
Copy Markdown
Member

Hey, I just made a Pull Request!

Fixes:

https://redhat.atlassian.net/browse/RHDHBUGS-2690

This change removes the redundant MUI Grid wrapper around WorkflowsTable in WorkflowsTabContent, so the table renders directly inside Content. Behaviour should be unchanged; the layout is simpler and avoids an unnecessary layout component.


-----BEFORE----

Screenshot 2026-04-15 at 5 27 32 PM

-----AFTER----

Screenshot 2026-04-15 at 5 26 08 PM Screenshot 2026-04-15 at 5 25 56 PM

✔️ Checklist

  • A changeset describing the change and affected packages. (more info)
  • Added or Updated documentation
  • Tests for new functionality and regression tests for bug fixes
  • Screenshots attached (for UI changes)

Remove redundant MUI Grid wrapper around WorkflowsTable in WorkflowsTabContent.

Made-with: Cursor
@rhdh-qodo-merge
Copy link
Copy Markdown

Review Summary by Qodo

Simplify workflows tab layout by removing Grid wrapper

🐞 Bug fix

Grey Divider

Walkthroughs

Description
• Remove redundant MUI Grid wrapper around WorkflowsTable
• Simplify WorkflowsTabContent layout structure
• Add changeset documenting the layout simplification
Diagram
flowchart LR
  A["WorkflowsTabContent"] -->|"Before: nested Grid"| B["Grid container"]
  B -->|"Grid item xs=12"| C["WorkflowsTable"]
  A -->|"After: direct render"| D["WorkflowsTable"]
Loading

Grey Divider

File Changes

1. workspaces/orchestrator/.changeset/workflows-tab-simplify-layout.md ⚙️ Configuration changes +5/-0

Add changeset for layout simplification

• Create new changeset file documenting the layout simplification
• Mark change as patch version for orchestrator plugin
• Describe removal of redundant MUI Grid wrapper

workspaces/orchestrator/.changeset/workflows-tab-simplify-layout.md


2. workspaces/orchestrator/plugins/orchestrator/src/components/OrchestratorPage/WorkflowsTabContent.tsx 🐞 Bug fix +1/-9

Remove Grid wrapper from WorkflowsTable render

• Remove unused MUI Grid import
• Replace nested Grid container and Grid item with direct WorkflowsTable render
• Maintain conditional rendering logic with isReady check
• Preserve Content component wrapper and loading/error states

workspaces/orchestrator/plugins/orchestrator/src/components/OrchestratorPage/WorkflowsTabContent.tsx


Grey Divider

Qodo Logo

@rhdh-qodo-merge
Copy link
Copy Markdown

rhdh-qodo-merge bot commented Apr 15, 2026

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

ⓘ The new review experience is currently in Beta. Learn more

Grey Divider

Qodo Logo

@rhdh-gh-app
Copy link
Copy Markdown

rhdh-gh-app bot commented Apr 15, 2026

Changed Packages

Package Name Package Path Changeset Bump Current Version
@red-hat-developer-hub/backstage-plugin-orchestrator workspaces/orchestrator/plugins/orchestrator patch v5.7.0

@sonarqubecloud
Copy link
Copy Markdown

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.

1 participant