From abd1d77d4718a680f17d8ca25d31294d72068acb Mon Sep 17 00:00:00 2001 From: skal Date: Thu, 5 Feb 2026 00:44:11 +0100 Subject: feat: Enhance Gantt charts with sequence names, adaptive ticks, and sorting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Improvements to seq_compiler Gantt chart visualization: - Add optional sequence name support: SEQUENCE ["name"] [end] Names displayed in both ASCII and HTML Gantt charts for better readability - Implement adaptive tick intervals based on demo duration: * ≤5s: 1s intervals * ≤40s: 2s intervals (fixes 32.5s demo from 5s to 2s) * ≤100s: 5s intervals * >100s: 10s+ intervals - Sort sequences by start time in Gantt output for chronological visualization - Add horizontal visual separators between sequences in both ASCII and HTML - Update documentation (SEQUENCE.md) and quick reference (demo.seq) Co-Authored-By: Claude Sonnet 4.5 --- assets/demo.seq | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'assets') diff --git a/assets/demo.seq b/assets/demo.seq index 44df234..b30dd68 100644 --- a/assets/demo.seq +++ b/assets/demo.seq @@ -7,11 +7,12 @@ # DOCUMENTATION: See doc/SEQUENCE.md for complete syntax reference # # QUICK REFERENCE: -# SEQUENCE [optional_end] +# SEQUENCE ["optional_name"] [optional_end] # EFFECT <+|=|-> # # Priority modifiers: + (increment), = (same), - (decrement/background) # Time notation: 0b (beats), 0.0 (seconds) +# Optional name: Displayed in Gantt charts (e.g., "Opening Scene") # # VALIDATION & VISUALIZATION: # ./build/seq_compiler assets/demo.seq # Validate only -- cgit v1.2.3