Conversation
- if statement returned 2x the same, was left over from testing - bezier dont need to store start and end vars as they are not used anymore anywhere, just needed for local computes
bircni
left a comment
There was a problem hiding this comment.
Self reviewed - did not find an issue for now
There was a problem hiding this comment.
Pull request overview
This PR restyles the Actions workflow dependency graph in the run summary view to a more compact, horizontal layout with updated node/edge visuals, and extends the devtest mock data to better exercise the new presentation (long names + more statuses).
Changes:
- Switched graph layout/orientation and updated spacing/edge routing to use “elbow” (orthogonal) connectors.
- Updated node rendering to a flatter card style with ports and a status icon via
ActionRunStatus. - Expanded devtest mock jobs to include additional statuses and a long job name for truncation/layout testing.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| web_src/js/components/WorkflowGraph.vue | Implements the new graph layout, edge routing, node visuals, and status icon rendering. |
| routers/web/devtest/mock_actions.go | Adds more mock jobs/statuses and a long job name to validate the new graph styling. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
…tyling - Replace hasIncomingEdge/hasOutgoingEdge linear scans with precomputed Sets for O(1) lookups per node render - Inline set lookups directly in template, removing one-off wrapper functions - Remove dead highlight logic from getEdgeStyle(); highlight styling is solely handled by .highlighted-edge CSS class
|
@silverwind could you have a look at it? |
|
It will not display the logs when click a step on the graph. |
|
delaying the fixes for this until #36883 is done |
Made-with: Cursor # Conflicts: # web_src/js/components/WorkflowGraph.vue
it works for me :-) |
|
@bircni btw I think you can apply to be a maintainer if you'd like. |
|
Anything else to improve? |
|
Checking it out now. |
Use --color-box-body for graph container, --color-box-header for summary block, and --color-text-light-1 for summary text instead of Tailwind utility classes and --color-body. Co-Authored-By: Claude (Opus 4.6) <noreply@anthropic.com>
226ed0c to
2fd8269
Compare
* origin/main: Fix relative-time RangeError (go-gitea#37021) Restyle Workflow Graph (go-gitea#36912) Update message severity colors, fix navbar double border (go-gitea#37019) Clean up checkbox cursor styles (go-gitea#37016) add missing cron tasks to example ini (go-gitea#37012) Add e2e tests for server push events (go-gitea#36879)
* main: (35 commits) Correct swagger annotations for enums, status codes, and notification state (go-gitea#37030) Update Nix flake (go-gitea#37024) Bump go and python versions in nix flake (go-gitea#37031) Make task list checkboxes clickable in the preview tab (go-gitea#37010) Add support for in_progress event in workflow_run webhook (go-gitea#36979) Fix various problems (go-gitea#37029) Update AI Contribution Policy (go-gitea#37022) Migrate from webpack to vite (go-gitea#37002) Upgrade yaml (go-gitea#37015) Fix issue label deletion with Actions tokens (go-gitea#37013) Hide delete branch or tag buttons in mirror or archived repositories. (go-gitea#37006) Update AGENTS.md with additional guidelines (go-gitea#37018) Optimize 'refreshAccesses' to perform update without removing then adding (go-gitea#35702) Fix relative-time RangeError (go-gitea#37021) Restyle Workflow Graph (go-gitea#36912) Update message severity colors, fix navbar double border (go-gitea#37019) Clean up checkbox cursor styles (go-gitea#37016) add missing cron tasks to example ini (go-gitea#37012) Add e2e tests for server push events (go-gitea#36879) Update JS dependencies (go-gitea#37001) ...
* origin/main: (69 commits) Correct swagger annotations for enums, status codes, and notification state (go-gitea#37030) Update Nix flake (go-gitea#37024) Bump go and python versions in nix flake (go-gitea#37031) Make task list checkboxes clickable in the preview tab (go-gitea#37010) Add support for in_progress event in workflow_run webhook (go-gitea#36979) Fix various problems (go-gitea#37029) Update AI Contribution Policy (go-gitea#37022) Migrate from webpack to vite (go-gitea#37002) Upgrade yaml (go-gitea#37015) Fix issue label deletion with Actions tokens (go-gitea#37013) Hide delete branch or tag buttons in mirror or archived repositories. (go-gitea#37006) Update AGENTS.md with additional guidelines (go-gitea#37018) Optimize 'refreshAccesses' to perform update without removing then adding (go-gitea#35702) Fix relative-time RangeError (go-gitea#37021) Restyle Workflow Graph (go-gitea#36912) Update message severity colors, fix navbar double border (go-gitea#37019) Clean up checkbox cursor styles (go-gitea#37016) add missing cron tasks to example ini (go-gitea#37012) Add e2e tests for server push events (go-gitea#36879) Update JS dependencies (go-gitea#37001) ... # Conflicts: # package.json # pnpm-lock.yaml # tests/e2e/utils.ts # web_src/css/themes/theme-gitea-dark.css # web_src/css/themes/theme-gitea-light.css # web_src/js/bootstrap.ts # web_src/js/features/codeeditor.ts # web_src/js/modules/errors.test.ts # webpack.config.ts


As @silverwind requested in #36883 I restyled the workflow graph
Before
After
@xDarkmanx maybe you want to have a look at this, too as you introduced the workflows