feat(create): remaining viewers — dependencies, jobs, macros, approvals #272
Reference in New Issue
Block a user
Delete Branch "feat/remaining-viewers"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Add the four remaining viewer widgets for Silo tree nodes. Each opens in an MDI subwindow on double-click.
Changes
Modified file:
silo_viewers.py— 4 new viewer classes + prefix-based factory routingViewers added:
SiloApprovalsViewer (
silo/approvals.json)_BADGE_STYLES)silo_instancefrom manifest)SiloDependencyTable (
silo/dependencies.json)QTableViewwith columns: Label, Part Number, Rev, Qty, Localpart_uuidSiloJobViewer (
silo/jobs/*.yaml)QPlainTextEditwith Edit/Lock toggleSiloMacroEditor (
silo/macros/*.py)QPlainTextEdit(always editable)exec()in FreeCAD context, output to Report View)Factory enhancement:
_VIEWER_PREFIX_REGISTRYdict for prefix-based routing (silo/jobs/→SiloJobViewer,silo/macros/→SiloMacroEditor)Related Issues
Closes kindred/silo-mod#41
Depends on #268, #269, #270
Checklist
feat:,fix:,chore:,docs:,art:)