Add datetime system (Rsx_Time/Rsx_Date) and .expect file documentation system

Tighten CLAUDE.dist.md for LLM audience - 15% size reduction
Add Repeater_Simple_Input component for managing lists of simple values
Add Polymorphic_Field_Helper for JSON-encoded polymorphic form fields
Fix incorrect data-sid selector in route-debug help example
Fix Form_Utils to use component.$sid() instead of data-sid selector
Add response helper functions and use _message as reserved metadata key

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-12-24 21:47:53 +00:00
parent eb3ccd722d
commit 1b57ec2785
76 changed files with 4778 additions and 289 deletions

View File

@@ -178,13 +178,28 @@ JAVASCRIPT EVALUATION
behavior. Use `await` for async operations and `await sleep(ms)` to
wait for side effects to complete before the DOM snapshot.
Simple examples:
--eval="Rsx.Route('Demo_Controller').url()"
--eval="JSON.stringify(Rsx._routes)"
--eval="typeof jQuery"
--eval="document.title"
GETTING OUTPUT FROM EVAL:
Simulating user interactions:
To see output from your eval code, you must either:
1. Use `return` to return a value (shown in "JavaScript Eval Result:"):
--eval="return Rsx_Time.now_iso()"
--eval="return typeof Rsx_Time"
--eval="return JSON.stringify({a: 1, b: 2})"
2. Use `console.log()` with --console flag (shown in console output):
--console --eval="console.log('timezone:', Rsx_Time.get_user_timezone())"
--console --eval="console.log('today:', Rsx_Date.today())"
Without `return` or `console.log()`, the eval result will be undefined.
INSPECTING VALUES:
--eval="return Rsx_Time.now_iso()"
--eval="return Rsx_Time.get_user_timezone()"
--eval="return Rsx_Date.today()"
--eval="return JSON.stringify(window.rsxapp)"
SIMULATING USER INTERACTIONS:
# Click a pagination button and wait for results
--eval="$('.page-link[data-page=\"2\"]').click(); await sleep(2000)"