feat: improved demo videos and consistent CLI colors#64
Conversation
- Hero demo (~25s): Pain → Discovery → Delight narrative - Uses git diff to show only the changed line (not full files) - Larger font (18px), smaller terminal for clarity - Workflow demo: Full developer experience - Watch mode, WIP templates, build from watch - Restructure shipped templates: - 3 templates (greet, audit, rls) now in supabase/migrations-templates/ - Pre-built migrations included - demo-templates/ only holds get_user_email for workflow demo - Remove old test.sql example 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Hero demo: use --no-pager for git diff to avoid pager blocking - Workflow demo: use valid SQL template (cp from demo-templates) instead of invalid echo - Workflow demo: use --no-pager for git diff --stat 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Remove cruft files (test.sql, new_feature.sql) from templates - Remove corresponding migration files - Clean buildlog.json to only track the 3 shipped templates - Add cleanup of .srtd.buildlog.local.json to record script 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Hero demo (readme-demo.gif): - Clean starting state with exactly 3 templates and 3 migrations - Shows Hello → Howdy change with clear git diff - Build creates a 4th migration, demonstrating the workflow Workflow demo (readme-workflow-demo.gif): - Simplified to focus on WIP template flow - Shows: create WIP → apply (works) → build (excluded) → promote → build (creates migration) - Clear tagline: "WIP = safe experimentation. Promote = ready for production." Removed problematic watch mode interaction that caused timing issues. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Implements a consistent color scheme across all CLI output: - GREEN: "just acted on" - success/built templates, targets, labels - DIM/GRAY: "no action taken" - unchanged templates, timestamps - YELLOW: "needs attention" - WIP templates, pending builds - RED: "problem" - errors Previously, successful operations showed template names in white/normal text while only the icon was green. Now the entire row uses consistent coloring based on the action status. Changes: - resultsTable.ts: Apply getStatusColor() in table mode, color targets - watch.ts: Fix stacked event coloring (changed=dim, applied=green) - Summary counts both 'success' and 'built' as successful actions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🦋 Changeset detectedLatest commit: 608f4ea The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #64 +/- ##
==========================================
+ Coverage 79.85% 80.00% +0.15%
==========================================
Files 46 46
Lines 2219 2221 +2
Branches 546 546
==========================================
+ Hits 1772 1777 +5
+ Misses 447 444 -3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
- Hero demo at top shows core workflow - Workflow demo in WIP Templates section shows promote flow 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add gentle 1.5s pause at start of both demos - Add inline commentary explaining apply and build: - "apply = instant reload to local database" - "build = generate migration when ready to deploy" - Increase resolution from 900x480 to 1100x550 to prevent line wrapping - Both demos now use consistent 1100x550 resolution 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Improved demo readability: - Add blank line after inline commentary for visual separation - Use ls -1 for vertical directory listings (easier to scan) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||
User description
Summary
Demo Videos
Hero Demo (
readme-demo.gif)Shows the core workflow in ~25 seconds:
Workflow Demo (
readme-workflow-demo.gif)Shows WIP templates (placed in README under WIP Templates section):
.wip.sqlfor experimentationColor Semantics
Consistent coloring across all CLI output:
Previously only icons were colored; now the entire row reflects the action status.
Test Plan
🤖 Generated with Claude Code
PR Type
Enhancement, Documentation
Description
Implemented consistent color semantics across CLI output (green=success, dim=unchanged, yellow=WIP, red=error)
Redesigned demo videos with clearer storytelling approach (Pain → Discovery → Delight narrative)
Restructured shipped templates with pre-built migrations and cleaned up demo state
Added WIP workflow demo showing template experimentation and promotion flow
Diagram Walkthrough
File Walkthrough
6 files
Add consistent color semantics to stacked eventsApply consistent coloring to all result rowsAdd utility function template for workflow demoAdd pre-built audit trigger migrationAdd pre-built greeting function migrationAdd pre-built RLS policy migration2 files
Clean up demo recording setup and stateUpdate buildlog with 3 shipped templates4 files
Document color semantics patch releaseAdd workflow demo and update demo referencesRedesign hero demo with storytelling narrativeCreate new WIP templates workflow demo2 files
Remove old test template fileRemove old test migration file3 files