Skip to content

refactor to seperate nicegui, stylesheet, session - #2

Merged
wiperpaul merged 3 commits into
mainfrom
feature/prw/refactor_ui_session_presentation_styling
Aug 22, 2026
Merged

wiperpaul merged 3 commits into
mainfrom
feature/prw/refactor_ui_session_presentation_styling

Conversation

@wiperpaul

Copy link
Copy Markdown
Owner

Main was quite the monolith mostly made up of NiceGUI code, styling

  • web_ui.py - NiceGUI components and browser interactions.
  • session.py - framework-independent save, discard, undo, navigation, assignment, and schema rules.
  • presentation.py - pure, tested HTML rendering.
  • browser.py - JavaScript and a single source of truth for shortcut definitions.
  • theme.py and app.css - extracted 466-line stylesheet and theme configuration.
  • main.py - logging and application startup only.

@wiperpaul
wiperpaul merged commit e815864 into main Aug 22, 2026
8 checks passed
@wiperpaul
wiperpaul deleted the feature/prw/refactor_ui_session_presentation_styling branch August 22, 2026 15:06
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.

1 participant