simple-module-dashboard 0.0.44__tar.gz → 0.0.46__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 (47) hide show
  1. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/PKG-INFO +4 -4
  2. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/package.json +2 -2
  3. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/pyproject.toml +4 -4
  4. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/tests/web/doctor/test_doctor_props.py +9 -17
  5. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/.gitignore +0 -0
  6. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/LICENSE +0 -0
  7. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/README.md +0 -0
  8. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/dashboard/__init__.py +0 -0
  9. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/dashboard/core/__init__.py +0 -0
  10. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/dashboard/core/constants.py +0 -0
  11. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/dashboard/locales/de.json +0 -0
  12. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/dashboard/locales/en.json +0 -0
  13. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/dashboard/locales/es.json +0 -0
  14. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/dashboard/module.py +0 -0
  15. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/dashboard/pages/Doctor.tsx +0 -0
  16. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/dashboard/pages/Home.tsx +0 -0
  17. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/dashboard/py.typed +0 -0
  18. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/dashboard/styles.css +0 -0
  19. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/dashboard/ui/components/ModuleTile.tsx +0 -0
  20. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/dashboard/ui/components/doctor/ChecksCard.tsx +0 -0
  21. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/dashboard/ui/components/doctor/DevServerCard.tsx +0 -0
  22. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/dashboard/ui/components/doctor/MigrationsCard.tsx +0 -0
  23. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/dashboard/ui/components/doctor/StatsRow.tsx +0 -0
  24. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/dashboard/ui/components/doctor/TerminalPanel.tsx +0 -0
  25. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/dashboard/ui/components/doctor/check-copy.ts +0 -0
  26. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/dashboard/ui/components/doctor/copy.ts +0 -0
  27. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/dashboard/ui/components/doctor/report.ts +0 -0
  28. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/dashboard/ui/components/doctor/types.ts +0 -0
  29. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/dashboard/ui/components/module-target.ts +0 -0
  30. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/dashboard/web/__init__.py +0 -0
  31. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/dashboard/web/doctor.py +0 -0
  32. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/dashboard/web/endpoints/__init__.py +0 -0
  33. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/dashboard/web/endpoints/api.py +0 -0
  34. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/dashboard/web/endpoints/views.py +0 -0
  35. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/dashboard/web/stats.py +0 -0
  36. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/tests/core/module/test_dashboard.py +0 -0
  37. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/tests/web/doctor/test_doctor_migration_chips.py +0 -0
  38. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/tests/web/endpoints/test_dashboard_permission.py +0 -0
  39. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/tests/web/endpoints/test_dashboard_view_routes.py +0 -0
  40. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/tests/web/stats/test_dashboard_month_delta.py +0 -0
  41. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/tests/web/stats/test_dashboard_single_tenant.py +0 -0
  42. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/tests/web/stats/test_dashboard_user_directory.py +0 -0
  43. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/tests-js/dashboard_Doctor.test.tsx +0 -0
  44. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/tests-js/dashboard_Doctor_errors.test.tsx +0 -0
  45. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/tests-js/dashboard_Home.test.tsx +0 -0
  46. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/tests-js/doctor-stats.test.tsx +0 -0
  47. {simple_module_dashboard-0.0.44 → simple_module_dashboard-0.0.46}/tsconfig.json +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: simple_module_dashboard
3
- Version: 0.0.44
3
+ Version: 0.0.46
4
4
  Summary: Admin landing page and sidebar menu host for authenticated users of a simple_module app
5
5
  Project-URL: Homepage, https://github.com/antosubash/simple_module_python
6
6
  Project-URL: Repository, https://github.com/antosubash/simple_module_python
@@ -21,9 +21,9 @@ Classifier: Topic :: Internet :: WWW/HTTP
21
21
  Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
22
22
  Classifier: Typing :: Typed
23
23
  Requires-Python: >=3.12
24
- Requires-Dist: simple-module-core==0.0.44
25
- Requires-Dist: simple-module-db==0.0.44
26
- Requires-Dist: simple-module-hosting==0.0.44
24
+ Requires-Dist: simple-module-core==0.0.46
25
+ Requires-Dist: simple-module-db==0.0.46
26
+ Requires-Dist: simple-module-hosting==0.0.46
27
27
  Description-Content-Type: text/markdown
28
28
 
29
29
  # simple_module_dashboard
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@simple-module-py/dashboard",
3
- "version": "0.0.44",
3
+ "version": "0.0.46",
4
4
  "private": true,
5
5
  "description": "Frontend assets for the Dashboard module",
6
6
  "peerDependencies": {
7
- "@inertiajs/react": "^3.9.1",
7
+ "@inertiajs/react": "^3.11.0",
8
8
  "@simple-module-py/ui": "*",
9
9
  "react": "^19.0.0",
10
10
  "react-dom": "^19.3.1"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "simple_module_dashboard"
3
- version = "0.0.44"
3
+ version = "0.0.46"
4
4
  description = "Admin landing page and sidebar menu host for authenticated users of a simple_module app"
5
5
  readme = "README.md"
6
6
  license = "MIT"
@@ -21,9 +21,9 @@ classifiers = [
21
21
  "Typing :: Typed",
22
22
  ]
23
23
  dependencies = [
24
- "simple_module_core==0.0.44",
25
- "simple_module_db==0.0.44",
26
- "simple_module_hosting==0.0.44",
24
+ "simple_module_core==0.0.46",
25
+ "simple_module_db==0.0.46",
26
+ "simple_module_hosting==0.0.46",
27
27
  ]
28
28
 
29
29
  [project.entry-points.simple_module]
@@ -206,14 +206,9 @@ class TestDevServer:
206
206
  """Read duck-typed off ``app.state.background_tasks`` so the dashboard
207
207
  never imports the module — it is optional."""
208
208
  monkeypatch.setattr(
209
- app.state,
210
- "background_tasks",
211
- SimpleNamespace(
212
- last_worker_snapshot=SimpleNamespace(
213
- workers=[SimpleNamespace(hostname="celery@w1", online=True)]
214
- )
215
- ),
216
- raising=False,
209
+ app.state.background_tasks,
210
+ "last_worker_snapshot",
211
+ SimpleNamespace(workers=[SimpleNamespace(hostname="celery@w1", online=True)]),
217
212
  )
218
213
 
219
214
  props = await _props(authenticated_client)
@@ -227,17 +222,14 @@ class TestDevServer:
227
222
  """A worker the broker remembers but that no longer answers is not
228
223
  something this row may claim is running."""
229
224
  monkeypatch.setattr(
230
- app.state,
231
- "background_tasks",
225
+ app.state.background_tasks,
226
+ "last_worker_snapshot",
232
227
  SimpleNamespace(
233
- last_worker_snapshot=SimpleNamespace(
234
- workers=[
235
- SimpleNamespace(hostname="celery@gone", online=False),
236
- SimpleNamespace(hostname="celery@w2", online=True),
237
- ]
238
- )
228
+ workers=[
229
+ SimpleNamespace(hostname="celery@gone", online=False),
230
+ SimpleNamespace(hostname="celery@w2", online=True),
231
+ ]
239
232
  ),
240
- raising=False,
241
233
  )
242
234
 
243
235
  props = await _props(authenticated_client)