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

@@ -29,7 +29,7 @@ class Scss_ManifestModule extends ManifestModule_Abstract
* Process a SCSS/CSS file and extract metadata
*
* For SCSS files, also detects if the file has a single top-level class selector
* that matches a Blade view ID, JavaScript class extending Jqhtml_Component,
* that matches a Blade view ID, JavaScript class extending Component,
* or jqhtml template ID in the manifest.
*/
public function process(string $file_path, array $metadata): array
@@ -213,7 +213,7 @@ class Scss_ManifestModule extends ManifestModule_Abstract
*
* The SCSS file gets an 'id' if:
* 1. All rules are contained within a single top-level class selector
* 2. The class name matches a Blade view ID, JS class extending Jqhtml_Component, or jqhtml template
* 2. The class name matches a Blade view ID, JS class extending Component, or jqhtml template
* 3. No other SCSS file already has this ID
*/
protected function detect_scss_id(string $clean_content, array &$metadata): void
@@ -273,10 +273,10 @@ class Scss_ManifestModule extends ManifestModule_Abstract
$found_match = true;
}
// Check for JavaScript class extending Jqhtml_Component
// Check for JavaScript class extending Component
if (isset($file_data['extension']) && $file_data['extension'] === 'js' &&
isset($file_data['class']) && $file_data['class'] === $class_name &&
isset($file_data['extends']) && $file_data['extends'] === 'Jqhtml_Component') {
isset($file_data['extends']) && $file_data['extends'] === 'Component') {
$found_match = true;
}
}