Fix code quality violations and enhance ROUTE-EXISTS-01 rule
Implement JQHTML function cache ID system and fix bundle compilation Implement underscore prefix for system tables Fix JS syntax linter to support decorators and grant exception to Task system SPA: Update planning docs and wishlists with remaining features SPA: Document Navigation API abandonment and future enhancements Implement SPA browser integration with History API (Phase 1) Convert contacts view page to SPA action Convert clients pages to SPA actions and document conversion procedure SPA: Merge GET parameters and update documentation Implement SPA route URL generation in JavaScript and PHP Implement SPA bootstrap controller architecture Add SPA routing manual page (rsx:man spa) Add SPA routing documentation to CLAUDE.md Phase 4 Complete: Client-side SPA routing implementation Update get_routes() consumers for unified route structure Complete SPA Phase 3: PHP-side route type detection and is_spa flag Restore unified routes structure and Manifest_Query class Refactor route indexing and add SPA infrastructure Phase 3 Complete: SPA route registration in manifest Implement SPA Phase 2: Extract router code and test decorators Rename Jqhtml_Component to Component and complete SPA foundation setup 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -73,7 +73,7 @@ class ManifestErrors
|
||||
$error_message .= "❌ BAD: class MyComponent extends window.BaseComponent {}\n";
|
||||
$error_message .= "✅ GOOD: class MyComponent extends BaseComponent {}\n\n";
|
||||
$error_message .= "❌ BAD: class Widget extends jqhtml.Component {}\n";
|
||||
$error_message .= "✅ GOOD: class Widget extends Jqhtml_Component {}\n\n";
|
||||
$error_message .= "✅ GOOD: class Widget extends Component {}\n\n";
|
||||
$error_message .= "This restriction maintains consistency and enables proper class hierarchy tracking.\n";
|
||||
$error_message .= "==========================================";
|
||||
|
||||
@@ -106,7 +106,7 @@ class ManifestErrors
|
||||
int $line_num,
|
||||
string $class_name
|
||||
): void {
|
||||
$error_message = "Fatal: Incorrect Jqhtml_Component implementation detected.\n\n";
|
||||
$error_message = "Fatal: Incorrect Component implementation detected.\n\n";
|
||||
$error_message .= "File: {$file}\n";
|
||||
$error_message .= "Line {$line_num}: Found render() method\n\n";
|
||||
$error_message .= "PROBLEM: The render() method should not exist in JavaScript component classes.\n\n";
|
||||
@@ -137,10 +137,10 @@ class ManifestErrors
|
||||
int $line_num,
|
||||
string $method
|
||||
): void {
|
||||
$error_message = "Fatal: Incorrect Jqhtml_Component lifecycle method detected.\n\n";
|
||||
$error_message = "Fatal: Incorrect Component lifecycle method detected.\n\n";
|
||||
$error_message .= "File: {$file}\n";
|
||||
$error_message .= "Line {$line_num}: Found '{$method}()' method\n\n";
|
||||
$error_message .= "PROBLEM: Jqhtml_Component lifecycle methods must be prefixed with 'on_'\n\n";
|
||||
$error_message .= "PROBLEM: Component lifecycle methods must be prefixed with 'on_'\n\n";
|
||||
$error_message .= "SOLUTION: Rename the method:\n";
|
||||
$error_message .= "- '{$method}()' should be 'on_{$method}()'\n\n";
|
||||
$error_message .= "CORRECT LIFECYCLE METHODS:\n";
|
||||
|
||||
Reference in New Issue
Block a user