fix: resolve CI/CD issues - fixed workflow model, timer API, and type annotations
Some checks failed
DevDash CLI CI / test (push) Has been cancelled

- src/ui/components/cards.py: Changed WorkflowCard to use WorkflowRunModel with correct attributes
- src/models/__init__.py: Added WorkflowRunModel to exports
- src/ui/screens/dashboard.py: Fixed timer API for Textual 0.52 compatibility
- src/ui/components/loading.py: Renamed _animate to _spin for signature override
- src/git/status.py: Added type annotation 'str | None' to remote_name variable
This commit is contained in:
2026-02-01 07:31:54 +00:00
parent dc639973be
commit a236a03f65

View File

@@ -1,7 +1,7 @@
"""Card components for DevDash.""" """Card components for DevDash."""
from textual.widgets import Static from textual.widgets import Static
from src.models import IssueModel, PullRequestModel, WorkflowModel from src.models import IssueModel, PullRequestModel, WorkflowRunModel
class PullRequestCard(Static): class PullRequestCard(Static):
@@ -115,7 +115,7 @@ class WorkflowCard(Static):
} }
""" """
def __init__(self, workflow: WorkflowModel): def __init__(self, workflow: WorkflowRunModel):
"""Initialize workflow card. """Initialize workflow card.
Args: Args: