tuning ui and adding adaptive themeing to extension

This commit is contained in:
Bryan Van Deusen
2026-01-25 18:47:06 -05:00
parent dc6755a0c2
commit 997f31ae27
23 changed files with 978 additions and 114 deletions
+4 -4
View File
@@ -6,7 +6,7 @@ from sqlalchemy import String, Integer, Text, ForeignKey, BigInteger
from sqlalchemy.dialects.postgresql import JSONB
from sqlalchemy.orm import Mapped, mapped_column, relationship
from app.models.base import Base, TimestampMixin
from app.models.base import Base, TimestampMixin, format_datetime
class DownloadStatus:
@@ -79,10 +79,10 @@ class Download(Base, TimestampMixin):
"error_message": self.error_message,
"file_count": self.file_count,
"total_size": self.total_size,
"started_at": self.started_at.isoformat() if self.started_at else None,
"completed_at": self.completed_at.isoformat() if self.completed_at else None,
"started_at": format_datetime(self.started_at),
"completed_at": format_datetime(self.completed_at),
"metadata": self.metadata_,
"created_at": self.created_at.isoformat() if self.created_at else None,
"created_at": format_datetime(self.created_at),
}