|
|
@@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
|
|
|
|
|
|
## Repository Overview
|
|
|
|
|
|
-This is the UI Layout Definition Format repository - a comprehensive XML-based format for describing cross-platform user interfaces with inheritance, validation, and modern development practices. Version 1.5 includes advanced features like state management, accessibility compliance, AI assistance, and performance optimization.
|
|
|
+This is the UI Layout Definition Format repository - a comprehensive XML-based format for describing cross-platform user interfaces with inheritance, validation, and modern development practices. Version 1.6 includes advanced features like state management, accessibility compliance, AI assistance, performance optimization, and supported view modes.
|
|
|
|
|
|
## Architecture
|
|
|
|
|
|
@@ -28,7 +28,7 @@ This is the UI Layout Definition Format repository - a comprehensive XML-based f
|
|
|
- `webawesome-controls.xml` - Web Awesome component definitions with modern web controls
|
|
|
|
|
|
**Sample Files (Samples/ folder)**
|
|
|
-- `sample.xml` - Comprehensive v1.5 sample showcasing all features
|
|
|
+- `sample.xml` - Comprehensive v1.6 sample showcasing all features
|
|
|
- `business-views.xml` - Business logic view examples
|
|
|
- Various platform-specific samples (kde-controls.xml, web-controls.xml, etc.)
|
|
|
|
|
|
@@ -93,12 +93,12 @@ xmlstarlet fo sample.xml > formatted-sample.xml
|
|
|
- **External Schemas**: Platform-specific and feature-specific schemas are imported
|
|
|
- **Control Hierarchy**: All controls inherit from `CommonControl` in `abstract-controls.xml`
|
|
|
- **Validation System**: Custom validators and profiles in validation includes
|
|
|
-- **Sample Implementation**: `sample.xml` demonstrates v1.5 features including AI assistance, accessibility, and performance optimization
|
|
|
+- **Sample Implementation**: `sample.xml` demonstrates v1.6 features including AI assistance, accessibility, performance optimization, and supported view modes
|
|
|
|
|
|
## Important Development Notes
|
|
|
|
|
|
### Schema Versioning
|
|
|
-- Current version: 1.5
|
|
|
+- Current version: 1.6
|
|
|
- Schema version must match in `schema-version` attribute
|
|
|
- Platform compatibility defined in `platform-constraints`
|
|
|
|
|
|
@@ -114,7 +114,7 @@ xmlstarlet fo sample.xml > formatted-sample.xml
|
|
|
4. Add validation rules for new attributes
|
|
|
|
|
|
### Gallery Control Implementation
|
|
|
-The Gallery control is a new v1.5 feature for displaying collections with customizable templates:
|
|
|
+The Gallery control (introduced in v1.5) is for displaying collections with customizable templates:
|
|
|
|
|
|
**Key Features:**
|
|
|
- Inherits from CommonControl with ListView-like behavior
|
|
|
@@ -128,6 +128,11 @@ The Gallery control is a new v1.5 feature for displaying collections with custom
|
|
|
- `ui-layout-basic-controls.xsd` - Gallery schema types and validation rules
|
|
|
- `README.md` - Documentation and usage examples
|
|
|
|
|
|
+### v1.6 Enhancements
|
|
|
+- **Supported View Modes**: New element for defining display modes (grid, gallery, tree) per view
|
|
|
+- **Enhanced Descriptions**: Added description attributes to DataPropertyType, ViewBehaviorType, and PublishedEventType
|
|
|
+- All schema files updated to version 1.6 with consistent defaults
|
|
|
+
|
|
|
### v1.5 Enhancements
|
|
|
- Advanced state management with Redux/MobX patterns
|
|
|
- Comprehensive accessibility framework (WCAG 2.1 AA/AAA)
|
|
|
@@ -135,10 +140,10 @@ The Gallery control is a new v1.5 feature for displaying collections with custom
|
|
|
- Security framework with GDPR compliance
|
|
|
- Enhanced testing framework with automation support
|
|
|
- Advanced localization with RTL support
|
|
|
-- **New Gallery Control**: Specialized list control for displaying collections with customizable box templates
|
|
|
+- **Gallery Control**: Specialized list control for displaying collections with customizable box templates
|
|
|
|
|
|
### Web Awesome Controls Implementation
|
|
|
-Version 1.5 adds comprehensive Web Awesome (formerly Shoelace) component support for modern web applications:
|
|
|
+Web Awesome (formerly Shoelace) component support for modern web applications (added in v1.5):
|
|
|
|
|
|
**Key Features:**
|
|
|
- Complete Web Awesome component library (75+ controls)
|