- Move the global 'Show macros' toggle from the Palette tab to the Catalog tab,
next to 'Cargar menú', where catalog assembly lives
- Section.showMacros boolean (default true) + migration 0006; existing sections
default to showing (so turning the global on shows all by default)
- Per-section toggle in the editor, visible only when the global toggle is on
- Hierarchy: global wins. A dish shows macros only if Restaurant.showMacros AND
its Section.showMacros are both true. Applies to card flip, list tap-image, the
gallery, and the color-code legend (legend shows only if some visible section does)
- Turning the global off only HIDES — macro data is never deleted; the disclaimer
is reassuring ('Macros will stop showing to the public, but they are not deleted')
- Live read: global + per-section showMacros are overlaid onto the published
snapshot at read time (new applyLiveSectionMacros helper) so toggles take effect
instantly without republishing; old snapshots default section macros on
- sections PATCH accepts showMacros; settings PATCH still handles the global
- i18n: sectionMacros + soft disclaimer (es/en parity); hint reworded
Verified: build passes; 6 migrations apply; section toggle persists; /menu reflects
the global+section hierarchy live; macro data preserved in DB and API when toggled off.