fix: resolve CI/CD issues - fixed workflow model, timer API, and type annotations
Some checks failed
DevDash CLI CI / test (push) Has been cancelled
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:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user