You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Refactor] Split widget route templates and views #121
Split widget route-template and view handling into cohesive modules while preserving the current rendered output and import paths.
Scope
nitrostack/widgets/route_templates.py: separate generic, pizza, and flight/order templates; keep a small route dispatcher.
nitrostack/widgets/views.py: separate route/view dispatch from response and preview handling.
Preserve existing imports with facade re-exports where callers may rely on them.
Keep each resulting hand-maintained Python module at or below 500 physical lines. Move static HTML/JavaScript into non-Python assets where appropriate, or document a specific exception.
Acceptance criteria
Widget rendering behavior and existing supported imports are preserved.
Resulting modules have cohesive responsibilities and no unnecessary import cycles.
No unrelated behavior changes.
Out of scope
Tests and example-related files are excluded from this work.
Activity
refactor(widgets): split route templates and views by widget family (#…
Merge pull request #133 from ROHIT-JR/refactor/121-split-widget-views
manish-wekan commentedon Nov 12, 2026
Fixed by #133, merged to
developin c22877a.route_templates.pyis now 101 lines andviews.pyis 78.~sent from claude-code