Repository navigation
Conversation
This was referenced Oct 28, 2026
yohamta0
force-pushed
the
stack/24-ui20
branch
from
October 29, 2026 12:58
3f09399 to
f7cfa1a
Compare
yohamta0
force-pushed
the
stack/25-ui22
branch
2 times, most recently
from
October 29, 2026 13:21
d1f9c7d to
c13555d
Compare
yohamta0
force-pushed
the
stack/24-ui20
branch
2 times, most recently
from
October 30, 2026 06:44
b73208c to
b30096f
Compare
yohamta0
force-pushed
the
stack/25-ui22
branch
from
October 30, 2026 06:44
c13555d to
2de8bcf
Compare
yohamta0
force-pushed
the
stack/24-ui20
branch
from
October 30, 2026 08:07
b30096f to
388aceb
Compare
yohamta0
force-pushed
the
stack/25-ui22
branch
from
October 30, 2026 08:07
2de8bcf to
0e3463e
Compare
yohamta0
force-pushed
the
stack/24-ui20
branch
from
October 30, 2026 08:43
388aceb to
f6538d0
Compare
yohamta0
force-pushed
the
stack/25-ui22
branch
2 times, most recently
from
October 30, 2026 11:03
a60260d to
5b56b0f
Compare
yohamta0
force-pushed
the
stack/24-ui20
branch
2 times, most recently
from
October 30, 2026 11:47
2c726bb to
72ff7b4
Compare
yohamta0
force-pushed
the
stack/25-ui22
branch
from
October 30, 2026 11:47
5b56b0f to
5083424
Compare
yohamta0
force-pushed
the
stack/24-ui20
branch
from
October 31, 2026 04:50
72ff7b4 to
f2b5b0d
Compare
yohamta0
force-pushed
the
stack/25-ui22
branch
2 times, most recently
from
October 31, 2026 05:37
c2bbdad to
bc9c90e
Compare
yohamta0
force-pushed
the
stack/24-ui20
branch
from
October 31, 2026 06:28
765d09b to
f142e71
Compare
yohamta0
force-pushed
the
stack/25-ui22
branch
2 times, most recently
from
October 31, 2026 09:21
01b3027 to
891d5a6
Compare
yohamta0
force-pushed
the
stack/24-ui20
branch
from
October 31, 2026 10:45
3631c39 to
e6ff48c
Compare
…ep view (dagucloud#3404) * UI: integration tests of the editor * Expect runs to open on the workflow page in E2E * Wait for the URL in the step run action tests * Cover run chip and reused-inputs fixes in tests * Tighten the workspace tests that could not fail * Cover sub-run links and run view fixes in tests * Clear the refresh feedback timer on unmount * Test the progress text of the run details * Test reused and waiting steps in step facts * Test draft steps and foreach logs in step runs
Two fixes of earlier PRs build issue maps without a prototype, and their tests belong to files that this PR adds: - stepIssues groups an issue of a field named `constructor` under that field instead of failing on the inherited member. - issuesToErrorSchema keeps a `__proto__` field as a key of its own, so an issue path cannot write to Object.prototype.
Notifications and incidents still link to the old run page with ?subDAGRunId. The redirect opened the root run and applied the step of the sub-run to it. It now passes the sub-run as ?subRun, so the workflow page opens the sub-run over its root run with that step. The old run page did not check the workspace scope. A run link of a workflow labelled with another workspace than the one of the app bar ended at "not in the selected workspace" with only a way back. The page now also offers the workflow in its own workspace. A click in the schedule list of a workflow row reached the row through the tooltip portal and opened the workflow. The list now keeps its clicks. Tests cover a run link of a deleted workflow through the redirect, and the empty action search checks that Enter picks nothing.
The parameters form keeps a shown field named __proto__, and the action search and text fields ignore Enter and Escape while an input method composes. Both test fixes from earlier in the stack, whose test files start here.
A failed Mermaid load or render replaced the render container with the source fallback, so a later code change on the same block found no container and kept the fallback. The container now stays mounted under the fallback. The "View run" link of a dagu-run block named the workflow by its DAG name, which differs from its file name when the YAML sets name:. It now uses the file name from the lookup. Kanban cards dropped the click event before useOpenPage, so Ctrl or Cmd click navigated the current tab. The cockpit and saved-view boards now pass the event through and open such clicks in a new tab.
A link to /dag-runs/<name>/latest dropped the run, so a DAG named apart from its file had no run to find the file with and showed Workflow not found. The redirect now names the latest run by its ID. The old tab of a sub-run link landed on the dock of the root run. It belongs to the sub-run, so the root keeps its default tab. The workflow list computed a next run from the cron expression when the server gave none. The server leaves it out on purpose, as while the scheduler is paused, so the list showed a run that would not fire. It now shows no upcoming run then.
The link selects all workspaces in the app bar as well as opening the workflow. Only this harness sets the app-bar workspace.
yohamta0
force-pushed
the
stack/25-ui22
branch
from
October 31, 2026 10:45
891d5a6 to
84ee988
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
All PRs of the stack
Summary
This PR removes the classic run screens that the workspace replaces. Links from the workflow list, the cockpit, the wiki and the history now open the workflow page. The route
/dag-runs/:name/:dagRunIdgoes toLegacyRunRedirect. It also adds the tests for the page, the inspector and the canvas host.Why
After PR 23 the workspace is the page of a workflow, but the old run modal, run panel and run page still exist. This PR deletes them and points every entry at the workspace. PR 26 adds editor integration tests. PR 27 adds the guard tests that check, for the whole tree, that no code reaches the removed screens again.
Changes
60 files: 28 modified, 18 new (one component, two fixture files, 15 tests), 14 deleted.
App.tsxusesRouteFallback, which showsWorkspaceLoadingwhile a workflow page chunk loads, and routes old run URLs toLegacyRunRedirect.BucketKanbanList.tsx(opens the run, on the Artifacts dock when the run has artifacts),DaguRunBlock.tsx(wiki),DAGTable.tsx(name is a real link built withbuildDAGPageURLanduseOpenPage),HistoryTableRow.tsx.dag-list/ScheduleSummary.tsx(ScheduleLine) replaces the schedule code inDAGTable.tsx.HistoryTable.tsx: narrow run columns with a vertical start time.mermaid-block.tsxloads Mermaid with a dynamic import on the first diagram.pages/index.tsxandlicense/ConnectSection.tsxuse the shareduseClockhook in place of their own timers.toast.tsxtransition,TabBar.tsx, wiki editor files,SchemaDocSidebar.tsx,useLicenseConnect.ts.DAGRunDetailsModal,DAGRunDetailsPanel,pages/dag-runs/dag-run/index.tsx,DAGHeader,DAGDefinition,DAGErrorSnackBar,DAGSpecErrors,reload-button.tsx,formatAutoRetryStatusLabel.ts,dags/lib/statusTabs.ts, and their tests.How to review
App.tsxandpages/dag-runs/LegacyRunRedirect.tsx.DAGTable.tsxwithScheduleSummary.tsx.BucketKanbanList.tsx,DaguRunBlock.tsx,HistoryTableRow.tsx.mermaid-block.tsx.Most attention: the redirect of old run URLs, and the dynamic load of Mermaid (a failed load is not cached).
Tests
DAGSpec.test.tsx(about 1300 lines changed),pages/dags/dag/__tests__/index.test.tsx,DAGTable.test.tsx,BucketKanbanList.test.tsx,DAGStatus.test.tsx,NodeStatusTableRow.test.tsx,SubRunStackModal.test.tsx,TimelineChart.test.tsx.DAGSpec.hosted.test.tsx,DAGExecutionHistory.test.tsx,HistoryTable.test.tsx,ScheduleSummary.test.tsx,mermaid-block.test.tsx,WorkspaceCanvas.test.tsx,WorkspaceCanvas.notices.test.tsx, sharedvisual-editor/testing/fixtures.ts.ActionPicker,FieldIssues,StepInspector,TextField,issues,paramsForm,sections,uiSchema.Screenshots
The workflow list now links to the workflow page.