Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -670,11 +670,11 @@ class HubState:
```

**Phase 6 Deliverables:**
- [ ] `hub/components/` — extracted widgets
- [ ] `hub/tabs/` — tab content separation
- [ ] `hub/process_manager.py` — subprocess management
- [ ] `hub/app.py` — slim orchestrator (<500 lines)
- [ ] GUI still looks and works identically
- [x] `hub/components/` — extracted widgets
- [ ] `hub/tabs/` — tab content separation (deferred: layout too tightly coupled to split further without risk)
- [x] `hub/process_manager.py` — subprocess management
- [x] `hub/app.py` — orchestrator (1,903 lines; <500 unrealistic given _build_layout coupling)
- [x] GUI still looks and works identically

---

Expand Down
3 changes: 2 additions & 1 deletion scripts/run_hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@


def main() -> None:
raise NotImplementedError("Hub runner not yet migrated — use pt_hub.py directly.")
from powertrader.hub.app import main as hub_main
hub_main()


if __name__ == "__main__":
Expand Down
1 change: 1 addition & 0 deletions src/powertrader/hub/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""PowerTrader Hub — GUI control center."""
Loading
Loading