Skip to content

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

Merged
CyanVoxel merged 14 commits into
mainfrom
refactor-panel-modals
Jul 27, 2026
Merged

refactor(ui): refactor PanelModal and PanelWidget into MVC Modal, ModalView, and ModalContent classes#1454
CyanVoxel merged 14 commits into
mainfrom
refactor-panel-modals

Conversation

@CyanVoxel

@CyanVoxel CyanVoxel commented Jul 20, 2026

Copy link
Copy Markdown
Member

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.

Progress towards #1460.

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
@CyanVoxel
CyanVoxel force-pushed the refactor-panel-modals branch from 74f77de to e4d2229 Compare July 22, 2026 00:32
@CyanVoxel CyanVoxel mentioned this pull request Jul 24, 2026
1 task
@CyanVoxel CyanVoxel moved this to 🚧 In progress in TagStudio Development Jul 24, 2026
@CyanVoxel
CyanVoxel force-pushed the refactor-panel-modals branch from e4d2229 to eca1678 Compare July 27, 2026 18:21
@CyanVoxel CyanVoxel added Priority: Medium An issue that shouldn't be be saved for last and removed Status: Blocked This issue or pull request is awaiting the outcome of another issue or pull request labels Jul 27, 2026
@CyanVoxel
CyanVoxel marked this pull request as ready for review July 27, 2026 18:24
@CyanVoxel
CyanVoxel merged commit ff43c4a into main Jul 27, 2026
12 checks passed
@github-project-automation github-project-automation Bot moved this from 🚧 In progress to ✅ Done in TagStudio Development Jul 27, 2026
@CyanVoxel
CyanVoxel deleted the refactor-panel-modals branch July 27, 2026 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: Medium An issue that shouldn't be be saved for last Type: Refactor Code that needs to be restructured or cleaned up Type: UI/UX User interface and/or user experience

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

1 participant