Skip to content

refactor(ui): merge various tag/tag-like widgets into single Capsule widget - #1520

Merged
CyanVoxel merged 2 commits into
mainfrom
refactor/tag-widget-mvc
Sep 30, 2026
Merged

CyanVoxel merged 2 commits into
mainfrom
refactor/tag-widget-mvc

Conversation

@CyanVoxel

@CyanVoxel CyanVoxel commented Sep 29, 2026 •

Copy link
Copy Markdown
Member

Summary

This PR merges the TagWidget, TagColorPreview, TagColorLabel, FieldTemplateWidget, and weird ModifiedTagWidget classes into a the new MVC-split Capsule/CapsuleView pair of classes. And also gets rid of the (apparantly) unused TagAliasWidget class.

A majority of these classes' code has been duplicated since the initial release, and this new Capsule class acts as a generic tag-like widget that can be easily reused in all of the areas in which these previous classes were used.

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.4 milestone Sep 29, 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 Sep 29, 2026
@CyanVoxel
CyanVoxel force-pushed the refactor/tag-widget-mvc branch from 7f2dfab to 6506f79 Compare September 30, 2026 01:36
@CyanVoxel CyanVoxel removed the Status: Blocked This issue or pull request is awaiting the outcome of another issue or pull request label Sep 30, 2026
@CyanVoxel
CyanVoxel marked this pull request as ready for review September 30, 2026 01:37
@CyanVoxel
CyanVoxel merged commit 359b003 into main Sep 30, 2026
12 checks passed
@CyanVoxel
CyanVoxel deleted the refactor/tag-widget-mvc branch September 30, 2026 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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