v1.0.5 — Button show/hide fix + per-button visibility
Fixes
Button show/hide / toggle now works on every view
A button's show / hide / toggle links are stored as widget ids, and widget ids get rewritten on save (prefixed with the view id) and on duplicate / rename (suffixed). None of those rewrites carried the button's stored references along — so a button configured in the editor pointed at widget ids that no longer existed the moment the view was saved, and its show/hide silently did nothing. This hit freshly created views and every duplicated/renamed view.
The references are now rewritten everywhere widget ids change. Older layouts self-heal on the next save (an unprefixed orphan maps cleanly onto the now-prefixed widget when it's still in the view). If a button still shows nothing after updating, open it in the editor and save once.
Improvements
Per-button visibility toggle
The Button widget has 4 slots. Each now has a Show this button toggle in its tab — turn it off to drop that slot from the rendered widget while keeping its configuration intact, so you can show just one (or any subset). Empty slots still hide automatically; a hint flags a slot that needs an icon or label to appear.
Changes since v1.0.4
fix(buttons): keep show/hide links working after save, duplicate & renamefeat(buttons): per-slot visibility toggle
Update
cd ~/magic-frame && git pull && docker compose up -d --build