taskunity 2026.2__tar.gz → 2026.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. {taskunity-2026.2/src/taskunity.egg-info → taskunity-2026.3}/PKG-INFO +1 -1
  2. {taskunity-2026.2 → taskunity-2026.3}/pyproject.toml +1 -1
  3. {taskunity-2026.2 → taskunity-2026.3}/src/taskunity/app.py +22 -2
  4. {taskunity-2026.2 → taskunity-2026.3/src/taskunity.egg-info}/PKG-INFO +1 -1
  5. {taskunity-2026.2 → taskunity-2026.3}/MANIFEST.in +0 -0
  6. {taskunity-2026.2 → taskunity-2026.3}/README.md +0 -0
  7. {taskunity-2026.2 → taskunity-2026.3}/setup.cfg +0 -0
  8. {taskunity-2026.2 → taskunity-2026.3}/src/taskunity/__init__.py +0 -0
  9. {taskunity-2026.2 → taskunity-2026.3}/src/taskunity/cli.py +0 -0
  10. {taskunity-2026.2 → taskunity-2026.3}/src/taskunity/models.py +0 -0
  11. {taskunity-2026.2 → taskunity-2026.3}/src/taskunity/render.py +0 -0
  12. {taskunity-2026.2 → taskunity-2026.3}/src/taskunity/static/app.css +0 -0
  13. {taskunity-2026.2 → taskunity-2026.3}/src/taskunity/static/chart.umd.min.js +0 -0
  14. {taskunity-2026.2 → taskunity-2026.3}/src/taskunity/static/chartjs-adapter-date-fns.bundle.min.js +0 -0
  15. {taskunity-2026.2 → taskunity-2026.3}/src/taskunity/static/htmx.min.js +0 -0
  16. {taskunity-2026.2 → taskunity-2026.3}/src/taskunity/task_store.py +0 -0
  17. {taskunity-2026.2 → taskunity-2026.3}/src/taskunity/templates/base.html +0 -0
  18. {taskunity-2026.2 → taskunity-2026.3}/src/taskunity/templates/index.html +0 -0
  19. {taskunity-2026.2 → taskunity-2026.3}/src/taskunity/templates/partials/board.html +0 -0
  20. {taskunity-2026.2 → taskunity-2026.3}/src/taskunity/templates/partials/calendar.html +0 -0
  21. {taskunity-2026.2 → taskunity-2026.3}/src/taskunity/templates/partials/main.html +0 -0
  22. {taskunity-2026.2 → taskunity-2026.3}/src/taskunity/templates/partials/milestone_banner.html +0 -0
  23. {taskunity-2026.2 → taskunity-2026.3}/src/taskunity/templates/partials/milestone_panel.html +0 -0
  24. {taskunity-2026.2 → taskunity-2026.3}/src/taskunity/templates/partials/milestones.html +0 -0
  25. {taskunity-2026.2 → taskunity-2026.3}/src/taskunity/templates/partials/projects.html +0 -0
  26. {taskunity-2026.2 → taskunity-2026.3}/src/taskunity/templates/partials/task_list.html +0 -0
  27. {taskunity-2026.2 → taskunity-2026.3}/src/taskunity/templates/partials/task_panel.html +0 -0
  28. {taskunity-2026.2 → taskunity-2026.3}/src/taskunity/templates/partials/timeline.html +0 -0
  29. {taskunity-2026.2 → taskunity-2026.3}/src/taskunity.egg-info/SOURCES.txt +0 -0
  30. {taskunity-2026.2 → taskunity-2026.3}/src/taskunity.egg-info/dependency_links.txt +0 -0
  31. {taskunity-2026.2 → taskunity-2026.3}/src/taskunity.egg-info/entry_points.txt +0 -0
  32. {taskunity-2026.2 → taskunity-2026.3}/src/taskunity.egg-info/requires.txt +0 -0
  33. {taskunity-2026.2 → taskunity-2026.3}/src/taskunity.egg-info/top_level.txt +0 -0
  34. {taskunity-2026.2 → taskunity-2026.3}/tests/test_git_workspace_scope.py +0 -0
  35. {taskunity-2026.2 → taskunity-2026.3}/tests/test_render_jsonantt.py +0 -0
  36. {taskunity-2026.2 → taskunity-2026.3}/tests/test_workspace_config.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: taskunity
3
- Version: 2026.2
3
+ Version: 2026.3
4
4
  Summary: A local, file-backed productivity app for program/task tracking.
5
5
  Author: Taskunity Contributors
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "taskunity"
7
- version = "2026.2"
7
+ version = "2026.3"
8
8
  description = "A local, file-backed productivity app for program/task tracking."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -968,6 +968,16 @@ def create_app(workspace: str | Path = ".") -> FastAPI:
968
968
  )
969
969
  elif event.event_type == "image":
970
970
  filename = (event.image_filename or "Attachment").strip() or "Attachment"
971
+ image_name = event.image_filename or event.image_path or ""
972
+ is_image = Path(image_name).suffix.lower() in {
973
+ ".png",
974
+ ".jpg",
975
+ ".jpeg",
976
+ ".gif",
977
+ ".webp",
978
+ ".bmp",
979
+ ".svg",
980
+ }
971
981
  raw_events.append(
972
982
  {
973
983
  "created_at": event.created_at,
@@ -976,7 +986,7 @@ def create_app(workspace: str | Path = ".") -> FastAPI:
976
986
  "preview_title": filename,
977
987
  "preview_body": _preview_text(event.note_text),
978
988
  "preview_path": event.image_path or "",
979
- "is_image": True,
989
+ "is_image": is_image,
980
990
  "progress_before": None,
981
991
  "progress_after": None,
982
992
  }
@@ -1289,6 +1299,16 @@ def create_app(workspace: str | Path = ".") -> FastAPI:
1289
1299
  )
1290
1300
  elif event.event_type == "image":
1291
1301
  filename = (event.image_filename or "Attachment").strip() or "Attachment"
1302
+ image_name = event.image_filename or event.image_path or ""
1303
+ is_image = Path(image_name).suffix.lower() in {
1304
+ ".png",
1305
+ ".jpg",
1306
+ ".jpeg",
1307
+ ".gif",
1308
+ ".webp",
1309
+ ".bmp",
1310
+ ".svg",
1311
+ }
1292
1312
  raw_events.append(
1293
1313
  {
1294
1314
  "created_at": event.created_at,
@@ -1298,7 +1318,7 @@ def create_app(workspace: str | Path = ".") -> FastAPI:
1298
1318
  "preview_title": filename,
1299
1319
  "preview_body": _preview_text(event.note_text),
1300
1320
  "preview_path": event.image_path or "",
1301
- "is_image": True,
1321
+ "is_image": is_image,
1302
1322
  "progress_after": None,
1303
1323
  }
1304
1324
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: taskunity
3
- Version: 2026.2
3
+ Version: 2026.3
4
4
  Summary: A local, file-backed productivity app for program/task tracking.
5
5
  Author: Taskunity Contributors
6
6
  License: MIT
File without changes
File without changes
File without changes