mirror of
https://github.com/storytold/gridcraft.git
synced 2026-10-30 13:46:47 -06:00
- macro.save and a stopped recording count the macros kept in a newer format with the readable ones, so a save never holds more than the next open keeps; the message names the kept count (kept_macros_count_toward_the_limit_and_keep_their_names, which saves and reopens as xlsx and JSON). - The names of kept macros are taken: macro.save and macro.rename refuse them, unique_name and next_name step around them (same test). - macro.save no longer replaces by default: `replace` defaults to false, the error names the existing macro and says to pass `replace: true`, and a `replace` that is not a boolean is refused (saving_over_a_macro_needs_replace). - macro.rename runs the whole macro check, size included, so a longer name can't take a macro past what an xlsx file holds (renaming_checks_the_macro_size). - Docs: macros.md, the management commands and kept macros.