Skip to content

refactor(ui): refactor PanelModal and PanelWidget into MVC Modal, ModalView, and ModalContent classes#1454

Draft
CyanVoxel wants to merge 21 commits into
mainfrom
refactor-panel-modals
Draft

refactor(ui): refactor PanelModal and PanelWidget into MVC Modal, ModalView, and ModalContent classes#1454
CyanVoxel wants to merge 21 commits into
mainfrom
refactor-panel-modals

Conversation

@CyanVoxel

Copy link
Copy Markdown
Member

Caution

Based on #1451. Blocked until that is pulled and this is rebased.

Summary

This PR refactors the old PanelModal and PanelWidgets into new Modal, ModalView, and ModalContent classes that follow the specific MVC pattern introduced in #1451. Most logic in unchanged, with the biggest changes being the separation of controller and view logic as well as the new (hopefully less ambiguous) names.

Tasks Completed

  • Platforms Tested:
    • Windows x86
    • Windows ARM
    • macOS x86
    • macOS ARM
    • Linux x86
    • Linux ARM
  • Tested For:
    • Basic functionality
    • PyInstaller executable

@CyanVoxel CyanVoxel added this to the Alpha v9.6.2 milestone Jul 20, 2026
@CyanVoxel CyanVoxel added Type: Refactor Code that needs to be restructured or cleaned up Type: UI/UX User interface and/or user experience Status: Blocked This issue or pull request is awaiting the outcome of another issue or pull request labels Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: Blocked This issue or pull request is awaiting the outcome of another issue or pull request Type: Refactor Code that needs to be restructured or cleaned up Type: UI/UX User interface and/or user experience

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant