Skip to content

feat(settings): add read-only Registry tab - #304

Merged
thcp merged 1 commit into
mainfrom
feat/settings-registry-tab
Jul 17, 2026
Merged

feat(settings): add read-only Registry tab#304
thcp merged 1 commit into
mainfrom
feat/settings-registry-tab

Conversation

@thcp

@thcp thcp commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • New Registry tab in Settings shows the persisted job registry (registry.json) in a read-only, monospace viewer with a Refresh button — no need to leave the app or dig through the filesystem to check what's actually persisted on disk.
  • New read-only GET /api/registry endpoint returns the raw registry file content.
  • Deduplicated jobs_dir / "registry.json" path construction into a registry_path() helper in app/core/registry.py, reused by persist(), restore(), and the new endpoint.

Closes #303

Test plan

  • ruff check / ruff format --check clean
  • pytest tests/test_registry_persistence.py passes (7/7) — confirms the registry_path() refactor didn't change persist/restore behavior
  • Manually verified GET /api/registry returns valid JSON from a running server
  • Manually verified the Settings → Registry tab renders and loads real job data from a live server

Adds a Registry tab to Settings showing the persisted job registry
(registry.json) in a read-only viewer, so the on-disk state can be
inspected without leaving the app. Backed by a new read-only
GET /api/registry endpoint.

Closes #303
@thcp
thcp merged commit 0a1baa7 into main Jul 17, 2026
8 checks passed
@thcp
thcp deleted the feat/settings-registry-tab branch July 17, 2026 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a read-only Registry tab to Settings

1 participant