diff --git a/twisted/twisted_site/ari.py b/twisted/twisted_site/ari.py index 50b1ed7..4456750 100644 --- a/twisted/twisted_site/ari.py +++ b/twisted/twisted_site/ari.py @@ -97,7 +97,7 @@ def send_ship(ship: ProjectShip) -> None: "email": ship.project.user.email, # pyrefly: ignore[missing-attribute] "name": ship.project.user.profile.slack_username, # pyrefly: ignore[missing-attribute] "slack_id": ship.project.user.profile.slack_id, # pyrefly: ignore[missing-attribute] - "program_hours": untracked_time / 60, + "program_hours": 0, } title = ship.project.project_name @@ -124,8 +124,8 @@ def send_ship(ship: ProjectShip) -> None: content = f"# Journal type: {journal.get_type_display()}\n\n{journal.content}" # ty:ignore[unresolved-attribute] # pyright: ignore[reportAttributeAccessIssue] journals.append( { - "at": journal.created_at.isoformat(), - "minutes": journal.reduced_minutes, + "at": journal.created_at.isoformat(), # ty: ignore[unresolved-attribute] + "minutes": int(journal.reduced_minutes), # ty: ignore[invalid-argument-type] "text": content, "markdown": content, }, @@ -144,7 +144,7 @@ def send_ship(ship: ProjectShip) -> None: "shipped_at": shipped_at, "thumbnail_url": thumbnail_url, "hackatime_projects": hackatime_projects, - "evidence": ["commits", "elapsed", "devlog"], + "evidence": ["devlog"], "journals": journals, "meta": meta, }, diff --git a/twisted/twisted_site/static/audio/silence.mp3 b/twisted/twisted_site/static/audio/silence.mp3 new file mode 100644 index 0000000..482395f Binary files /dev/null and b/twisted/twisted_site/static/audio/silence.mp3 differ diff --git a/twisted/twisted_site/static/audio/twistedly.mp3 b/twisted/twisted_site/static/audio/twistedly.mp3 new file mode 100644 index 0000000..18137c7 Binary files /dev/null and b/twisted/twisted_site/static/audio/twistedly.mp3 differ diff --git a/twisted/twisted_site/static/audio/twistedly.wav b/twisted/twisted_site/static/audio/twistedly.wav new file mode 100644 index 0000000..1b4edd0 Binary files /dev/null and b/twisted/twisted_site/static/audio/twistedly.wav differ diff --git a/twisted/twisted_site/templates/client/dashboard.html b/twisted/twisted_site/templates/client/dashboard.html index 01a3ea6..759893c 100644 --- a/twisted/twisted_site/templates/client/dashboard.html +++ b/twisted/twisted_site/templates/client/dashboard.html @@ -50,7 +50,7 @@ Referrals {% comment %} -
- -
00:00 AM @@ -159,6 +134,219 @@
+
+
+

Twistedly

+

Cisco Disco

+ + + +
+ + + +
+ + +
+