feat(gui): registry-based page registration with frame injection#39
feat(gui): registry-based page registration with frame injection#39olivermeyer merged 3 commits intomainfrom
Conversation
Codecov Report❌ Patch coverage is
|
6c2c025 to
aaabeef
Compare
aaabeef to
25baf41
Compare
|
Claude finished @olivermeyer's task in 4m 38s —— View job Code Review Complete ✅I've completed a thorough review of PR #39. The implementation is well-designed and follows the ADR, but there are blocking issues that must be addressed before merge. 🚨 Blocking Issues1. SonarQube S1192 Violation - String Duplication in Docstrings
|
577203e to
30f8f34
Compare
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
30f8f34 to
b861fb4
Compare
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|



The current implementation requires services to define a
GUINamespacesingleton which is referenced when adding a page (e.g.@gui.authenticated). TheGUINamespacethen extends all pages to use the sameframe_funcfor consistent layout. Without a utils module, there is no natural place to define this singleton. This PR removes the need for it by implementing a page registry; registering a page such as@page_authenticatedsimply adds the page to the registry; services must then make an additional call togui_register_pages()with an optional frame func to apply that func to the pages.This relies on the same auto-discovery mechanism (
locate_subclasses) as other components (API, CLI). See the ADR for more details.