Add SPA+Route code quality rule, async eval support for rsx:debug
Tighten CLAUDE.md from 44KB to 35KB without information loss 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -548,6 +548,13 @@ class Route_Debug_Command extends Command
|
||||
$this->line(' php artisan rsx:debug /demo --eval="Rsx.is_dev()" --no-body');
|
||||
$this->line('');
|
||||
|
||||
$this->comment('POST-LOAD INTERACTIONS (click buttons, test modals, etc):');
|
||||
$this->line(' php artisan rsx:debug /page --user=1 --eval="$(\'[data-sid=btn_edit]\').click(); await new Promise(r => setTimeout(r, 2000));"');
|
||||
$this->line(' # Click button, wait 2s for modal');
|
||||
$this->line(' php artisan rsx:debug /form --eval="$(\'#submit\').click(); await new Promise(r => setTimeout(r, 1000));"');
|
||||
$this->line(' # Submit form and capture result');
|
||||
$this->line('');
|
||||
|
||||
$this->comment('DEBUGGING OUTPUT:');
|
||||
$this->line(' php artisan rsx:debug / --console # All console output');
|
||||
$this->line(' php artisan rsx:debug / --console-log # Alias for --console');
|
||||
|
||||
Reference in New Issue
Block a user