Skip to content

[Cross-repo] Shared UI pattern across the "Simple" addon family #163

Description

@Weisl

Cross-repo/discussion scope — not a single-addon deliverable, raising here for visibility since it surfaced from this addon's roadmap review.

Issue #154 (naming cleanup, closed) is direct evidence that copy-paste drift across the "Simple" addon family (Simple Camera Manager, Simple Export, Simple Renaming, Simple Toolkit) already caused a real bug — wrong operator prefixes copied wholesale from another addon.

This addon has several patterns that recur near-identically elsewhere in the family:

  • `draw_simple_camera_manager_header()` (shared panel header w/ docs/prefs/popup/reload buttons)
  • `label_multiline()` (wrapped-label helper)
  • The `keymaps_items_dict`-driven `keymap_ui()` generic keymap UI
  • The "defer via `bpy.app.timers.register(fn, first_interval=0.0)` to safely re-register a Panel class" pattern, used 3x in this addon alone

Worth documenting (or extracting into a shared convention/reference implementation) across the family to reduce the odds of the next #154-style bug. Should probably be scoped as its own initiative rather than folded into a single addon's release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions