Skip to content

Hide tab system for pending form nodes #12769

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 20, 2025

Conversation

Devessier
Copy link
Contributor

@Devessier Devessier commented Jun 20, 2025

Before After
Pending form CleanShot 2025-06-20 at 15 49 03@2x CleanShot 2025-06-20 at 15 41 01@2x
Completed form CleanShot 2025-06-20 at 15 41 18@2x CleanShot 2025-06-20 at 15 49 13@2x

@Devessier Devessier marked this pull request as ready for review June 20, 2025 13:54
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

Improved form node UX by simplifying the workflow visualization interface, hiding the tab system for pending form nodes while displaying it for completed ones.

  • Added getShouldFocusNodeTab.ts utility to determine when to focus the node tab based on execution status and node type
  • Modified CommandMenuWorkflowRunViewStepContent.tsx to conditionally render either a focused node view or full tab interface
  • Streamlined UI by removing unnecessary tabs when a form node is pending user input
  • Maintains full tab system (Output/Node/Input) visibility for completed form nodes for better context

2 files reviewed, no comments
Edit PR Review Bot Settings | Greptile

Copy link
Contributor

github-actions bot commented Jun 20, 2025

🚀 Preview Environment Ready!

Your preview environment is available at: http://bore.pub:18820

This environment will automatically shut down when the PR is closed or after 5 hours.

isFormNode,
}: {
stepExecutionStatus: WorkflowDiagramRunStatus;
isFormNode: boolean;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like that this function is generic but the input is not. I would go with actionType rather than isFormNode

@Devessier Devessier merged commit 1e0ee94 into main Jun 20, 2025
54 checks passed
@Devessier Devessier deleted the focus-node-tab-for-pending-workflow-runs branch June 20, 2025 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants