diff --git a/CHANGELOG.md b/CHANGELOG.md index 02d75ca..2351a17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,11 @@ This format follows Keep a Changelog principles and aims for Semantic Versioning ## [Unreleased] ### Added +- **Template Validation Tests**: Comprehensive test suite for HTML/Jinja2 templates + - Validates Jinja2 syntax across all templates + - Checks HTML structure (balanced tags, unique IDs, proper attributes) + - Basic accessibility validation (alt text, form labels, button types) + - Regression prevention thresholds to maintain code quality - **Code Quality Tools**: Enhanced development tooling for maintainability - Automated utilities for code cleanup - Improved type checking configuration @@ -81,6 +86,10 @@ This format follows Keep a Changelog principles and aims for Semantic Versioning - Optimized linting rules for development workflow ### Fixed +- **Template Quality**: Resolved HTML structure issues found by validation tests + - Fixed duplicate ID attributes in build wizard and theme picker templates + - Removed erroneous block tags from component documentation + - Corrected template structure for HTMX fragments - **Code Quality**: Resolved type checking warnings and improved code maintainability - Fixed type annotation inconsistencies - Cleaned up redundant code quality suppressions diff --git a/RELEASE_NOTES_TEMPLATE.md b/RELEASE_NOTES_TEMPLATE.md index e21aec0..f03d5c5 100644 --- a/RELEASE_NOTES_TEMPLATE.md +++ b/RELEASE_NOTES_TEMPLATE.md @@ -3,9 +3,14 @@ ## [Unreleased] ### Summary -Web UI improvements with Tailwind CSS migration, TypeScript conversion, component library, enhanced code quality tools, and optional card image caching for faster performance and better maintainability. +Web UI improvements with Tailwind CSS migration, TypeScript conversion, component library, template validation tests, enhanced code quality tools, and optional card image caching for faster performance and better maintainability. ### Added +- **Template Validation Tests**: Comprehensive test suite ensuring HTML/template quality + - Validates Jinja2 syntax and structure + - Checks for common HTML issues (duplicate IDs, balanced tags) + - Basic accessibility validation + - Prevents regression in template quality - **Code Quality Tools**: Enhanced development tooling for maintainability - Automated utilities for code cleanup - Improved type checking configuration @@ -78,6 +83,10 @@ Web UI improvements with Tailwind CSS migration, TypeScript conversion, componen _None_ ### Fixed +- **Template Quality**: Resolved HTML structure issues + - Fixed duplicate ID attributes in templates + - Removed erroneous template block tags + - Corrected structure for HTMX fragments - **Code Quality**: Resolved type checking warnings and improved code maintainability - Fixed type annotation inconsistencies - Cleaned up redundant code quality suppressions diff --git a/code/web/templates/build/_step1.html b/code/web/templates/build/_step1.html index 0f54ecd..dfea715 100644 --- a/code/web/templates/build/_step1.html +++ b/code/web/templates/build/_step1.html @@ -66,8 +66,8 @@ {% endif %} {% if (query is defined and query and (not candidates or (candidates|length == 0))) and not inspect %} -
This is a default panel with standard background.
', variant='default') }} @@ -232,14 +223,12 @@These are advanced settings that are hidden by default.