Skip to content

feat: remove error section when run is running - #130

Merged
marciok merged 3 commits into
v0.1.38-devfrom
feat/gh-118-hide-error-for-running-task
Aug 25, 2026
Merged

feat: remove error section when run is running#130
marciok merged 3 commits into
v0.1.38-devfrom
feat/gh-118-hide-error-for-running-task

Conversation

@marciok

@marciok marciok commented Aug 24, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The new progress indicator and status modifier classes have concrete accessibility and class-generation issues that should be corrected before merging.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR updates the DAG dashboard UI to avoid showing stale/persisted task error details while a task is actively running, and adds/extends “running” visual indicators to reflect live status changes more clearly.

Changes:

  • Hide the task error section when @item_status == :running in the dashboard’s selected-item details.
  • Add a running-status progress/stripe indicator and new status-based CSS selectors.
  • Update and expand LiveView/component tests to assert the new behavior and CSS class usage.
File summaries
File Description
apps/gust_web/test/gust_web/live/run_live_test.exs Makes pagination test deterministic by controlling inserted_at ordering and asserting correct page contents.
apps/gust_web/test/gust_web/live/dag_live_dashboard_test.exs Adds coverage to ensure task errors are hidden while running and verifies running class/state transitions in the dashboard.
apps/gust_web/test/gust_web/components/dag_run_components_test.exs Updates selectors to match new status modifier class (task-grid-cell--running).
apps/gust_web/lib/gust_web/live/dag_live/dashboard.html.heex Hides error section during running and introduces the status progress element.
apps/gust_web/lib/gust_web/components/dag_run_components.ex Refactors task cell class generation to include a status modifier class.
apps/gust_web/assets/css/app.css Adds animated stripe styling for running/retrying plus reduced-motion overrides.
Review details
  • Files reviewed: 6/6 changed files
  • Comments generated: 3
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread apps/gust_web/lib/gust_web/live/dag_live/dashboard.html.heex
Comment thread apps/gust_web/lib/gust_web/components/dag_run_components.ex
Comment thread apps/gust_web/assets/css/app.css
@marciok
marciok merged commit 65be616 into v0.1.38-dev Aug 25, 2026
4 checks passed
@marciok
marciok deleted the feat/gh-118-hide-error-for-running-task branch August 25, 2026 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants