Skip to content

Crash detection, fullscreen HD navigation, and composable counting#4

Merged
ignaciotcrespo merged 6 commits into
mainfrom
detect-errors
Apr 18, 2026
Merged

Crash detection, fullscreen HD navigation, and composable counting#4
ignaciotcrespo merged 6 commits into
mainfrom
detect-errors

Conversation

@ignaciotcrespo
Copy link
Copy Markdown
Owner

Summary

  • Crash detection: When a preview crashes on the device, the root cause exception is extracted from logcat and displayed in the preview panel instead of a broken screenshot
  • Fullscreen HD navigation: f key enters fullscreen mode with ↑/↓ navigation between previews — cached screenshots show instantly, uncached ones are captured on the fly
  • Composable counting: Each module shows the total @Composable function count, and the CLI reports composable count when no @Preview functions are found
  • Faster launch: Uses am start -W to wait for Activity display instead of a fixed delay
  • New CLI flags: --clear (clear screenshot cache), --dismiss-dialog (dismiss compatibility dialog), --delay (configurable render wait, default 1s)

Test plan

  • Run a preview that crashes — verify root cause error appears in the preview panel with word wrap
  • Press f for fullscreen, navigate with ↑/↓ — cached previews show instantly, uncached ones capture and display
  • Press any non-arrow key in fullscreen to return to TUI
  • Verify composable count appears below module names in the modules panel
  • Run compose-preview on a project with composables but no previews — verify the composable count message
  • Test --clear flag clears the screenshot cache
  • Test --delay 3 changes the capture wait time
  • Verify f fullscreen HD appears in the help bar

🤖 Generated with Claude Code

ignaciotcrespo and others added 6 commits April 17, 2026 23:07
… flags

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…iles

Darwin uses TIOCGETA/TIOCSETA, Linux uses TCGETS/TCSETS, and Windows
gets stub implementations. Also splits imgrender TerminalSize the same way.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ignaciotcrespo ignaciotcrespo merged commit e5e5498 into main Apr 18, 2026
3 checks passed
@ignaciotcrespo ignaciotcrespo deleted the detect-errors branch April 18, 2026 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant