stevqin opened a new issue, #18647: URL: https://github.com/apache/dolphinscheduler/issues/18647
### Search before asking I searched open issues for Gantt-related improvements and did not find an existing issue covering this workflow-instance view. ### Description The workflow-instance Gantt view makes it difficult to inspect workflows that mix long-running tasks with very short tasks. The current chart rounds task timestamps to whole seconds, so subsecond tasks lose their duration. It also provides no compact overview of submitted, pending, running, or completed tasks, and no direct log entry point beside each task. ### Proposed improvement - Fit the timeline to the available viewport width and show elapsed-time and percentage ticks together, with a 5 px visual minimum for short tasks. Keep actual durations and percentages in labels/tooltips; the minimum width is only a visibility aid. - Add compact, color-coded task counts using the instance's definition version, including unsubmitted nodes and deduplicating retry attempts. - Refresh active workflows every five seconds and extend running task durations. Retain the last successful snapshot on refresh failure. - Keep task names selectable for copying and add a separate log button with refresh/download actions. - Preserve millisecond precision, use subdued grid guides, and support the existing light/dark themes and Chinese/English UI. This can be implemented in the UI using the existing workflow-instance, task-list, Gantt and log APIs; no backend, database schema, or public API changes are needed. ### Use case An operator should be able to identify an 8 ms or 1 s task next to a task lasting many minutes, understand which tasks are still pending or have failed, and inspect the corresponding execution log without navigating away from the Gantt view or preventing task-name selection. ### AI assistance The implementation and contribution description were assisted by OpenAI Codex and reviewed and iterated with the contributor. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
