Skip to content
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

8495 workflow display relevant columns in workflow related tables #8502

Conversation

martmull
Copy link
Contributor

@martmull martmull commented Nov 14, 2024

After

Workflows

image

WorkflowRuns

image

WorkflowVersions

image

Change Created By into Executed By in workflowRuns

image

@martmull martmull linked an issue Nov 14, 2024 that may be closed by this pull request
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

This PR updates the display of workflow-related tables by improving column organization and management. Here are the key changes:

  • Removed explicit width management from table cells by deleting tableCellWidthsComponentState.ts and related props, simplifying the table structure
  • Added new createdBy field to track workflow creators in workflow.workspace-entity.ts with corresponding UI updates
  • Modified workflow table views to show more relevant columns (status, updatedAt, versions, runs) with consistent 150px column widths
  • Updated workflow runs and versions views to display better organized information like workflow status, creator, and version details
  • Fixed React key prop warnings in workflow drawer components for better rendering performance

The changes improve the display of workflow information while maintaining a clean and consistent table structure.

13 file(s) reviewed, 4 comment(s)
Edit PR Review Bot Settings | Greptile

@martmull martmull force-pushed the 8495-workflow-display-relevant-columns-in-workflow-related-tables branch from bc71382 to da78353 Compare November 14, 2024 16:10
@@ -129,9 +129,9 @@ export class WorkflowRunWorkspaceEntity extends BaseWorkspaceEntity {
@WorkspaceField({
standardId: WORKFLOW_RUN_STANDARD_FIELD_IDS.createdBy,
type: FieldMetadataType.ACTOR,
label: 'Created by',
label: 'Executed by',
Copy link
Contributor

Choose a reason for hiding this comment

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

👌

@martmull martmull enabled auto-merge (squash) November 15, 2024 09:17
@martmull martmull linked an issue Nov 15, 2024 that may be closed by this pull request
@martmull martmull force-pushed the 8495-workflow-display-relevant-columns-in-workflow-related-tables branch from 2d87ac2 to b11b100 Compare November 15, 2024 09:38
@martmull martmull merged commit 4f99b8e into main Nov 15, 2024
19 checks passed
@martmull martmull deleted the 8495-workflow-display-relevant-columns-in-workflow-related-tables branch November 15, 2024 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants