Skip to content

refactor(preview_thumb): mvc split #978

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 34 commits into
base: main
Choose a base branch
from

Conversation

Computerdores
Copy link
Collaborator

@Computerdores Computerdores commented Jul 6, 2025

Summary

Splits the current preview thumb into View and Controller in accordance with the now accepted proposal in #950.

Note: This is based off #952 and will need to be rebased once that is merged.

Note: I preserved the change history for both preview_thumb_controller.py and preview_thumb_view.py via those first 3 commits, however this breaks if all commits are squashed. This means we can either not preserve the change history for those files and squash all of the commits in this PR, or we only squash the commits after that (I could do that myself, as it would require splitting the changes from the following commits and then merging after).

Tasks Completed

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

@Computerdores Computerdores added Type: Refactor Code that needs to be restructured or cleaned up Status: Blocked This issue or pull request is awaiting the outcome of another issue or pull request labels Jul 6, 2025
@Computerdores Computerdores moved this to 🚧 In progress in TagStudio Development Jul 6, 2025
@Computerdores Computerdores force-pushed the refactor/mvc-split-preview-thumb branch from a7627e8 to 623add4 Compare July 6, 2025 16:45
@Computerdores Computerdores force-pushed the refactor/mvc-split-preview-thumb branch from 623add4 to 2b6d5ae Compare July 6, 2025 17:02
@Computerdores Computerdores moved this from 🚧 In progress to 🏓 Ready for Review in TagStudio Development Jul 6, 2025
@Computerdores Computerdores marked this pull request as ready for review July 6, 2025 17:06
@Computerdores Computerdores added the Status: Review Needed A review of this is needed label Jul 6, 2025
@Computerdores
Copy link
Collaborator Author

This is ready for review now (I would recommend waiting with the review until #952 is merged and this PR is rebased onto main)

@CyanVoxel CyanVoxel moved this from 🏓 Ready for Review to 👀 In review in TagStudio Development Jul 9, 2025
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 Status: Review Needed A review of this is needed Type: Refactor Code that needs to be restructured or cleaned up
Projects
Status: 👀 In review
Development

Successfully merging this pull request may close these issues.

1 participant