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:
root
2025-11-19 17:48:15 +00:00
parent 77b4d10af8
commit 9ebcc359ae
4360 changed files with 37751 additions and 18578 deletions

View File

@@ -318,7 +318,7 @@ class Ide_Helper_Controller
// Priority 5: jqhtml JavaScript classes (when type is 'jqhtml_class')
if ($type === 'jqhtml_class') {
try {
// Look for JS class extending Jqhtml_Component
// Look for JS class extending Component
$files = Manifest::get_all();
// Search for .js files containing the class
@@ -329,9 +329,9 @@ class Ide_Helper_Controller
if (file_exists($absolute_path)) {
$content = file_get_contents($absolute_path);
// Check if this file contains a class with the right name extending Jqhtml_Component
// Look for patterns like: class ComponentName extends Jqhtml_Component
if (preg_match('/class\s+' . preg_quote($identifier, '/') . '\s+extends\s+[A-Za-z_]*Jqhtml_Component/', $content)) {
// Check if this file contains a class with the right name extending Component
// Look for patterns like: class ComponentName extends Component
if (preg_match('/class\s+' . preg_quote($identifier, '/') . '\s+extends\s+[A-Za-z_]*Component/', $content)) {
$lines = explode("\n", $content);
$line_number = 1;
@@ -364,7 +364,7 @@ class Ide_Helper_Controller
// Special case: if method_name is 'data', look for 'on_load' instead
$search_method = ($method_name === 'data') ? 'on_load' : $method_name;
// Look for JS class extending Jqhtml_Component and find the method
// Look for JS class extending Component and find the method
$files = Manifest::get_all();
// Search for .js files containing the class
@@ -375,8 +375,8 @@ class Ide_Helper_Controller
if (file_exists($absolute_path)) {
$content = file_get_contents($absolute_path);
// Check if this file contains a class with the right name extending Jqhtml_Component
if (preg_match('/class\s+' . preg_quote($identifier, '/') . '\s+extends\s+[A-Za-z_]*Jqhtml_Component/', $content)) {
// Check if this file contains a class with the right name extending Component
if (preg_match('/class\s+' . preg_quote($identifier, '/') . '\s+extends\s+[A-Za-z_]*Component/', $content)) {
$lines = explode("\n", $content);
$line_number = 1;
$in_class = false;