- Updated functions.json files in theme_editor, ui_auth, ui_footer, ui_header, ui_home, ui_intro, ui_level2, ui_level3, ui_level4, ui_level5, ui_level6, ui_login, ui_pages, ui_permissions, user_manager, and workflow_editor packages.
- Removed luaScript entries from function definitions, retaining only category and other relevant metadata.
- Adjusted documentation in prisma/README.md to remove LuaScript entity reference.
- Added migrationQueue to SchemaRegistry for tracking pending migrations.
- Implemented clear method to reset the registry state.
- Enhanced schema registration and retrieval methods to support entity normalization.
- Updated loadSchemaRegistry to handle entities and migrationQueue from JSON.
- Introduced saveSchemaRegistry to persist entities and migrationQueue.
- Added functions for approving and rejecting migrations.
feat(schema-scanner): implement package scanning for schema registration
- Created scanAllPackages function to scan directories for package metadata.
- Extracted and validated schema entities from package metadata.
- Registered schemas in the SchemaRegistry based on scanned packages.
fix(load-page-from-db): improve tenantId handling and null checks
- Updated tenantId handling to use nullish coalescing for better clarity.
- Refined null checks for page retrieval.
feat(validation): add Zod validation utilities for standardized data validation
- Introduced validation utilities for API requests and package data validation.
- Created common reusable schemas for various data types.
- Implemented package-specific validator factory for enhanced error reporting.
test(package-integration): fix potential null checks in package dependency resolution
- Updated package dependency resolution logic to handle undefined cases.
chore(package.json): add jsdom as a dev dependency for testing
- Included jsdom in devDependencies for improved testing capabilities.
fix(metadata): update package metadata for consistency and clarity
- Standardized packageId and name fields in metadata.json files across multiple packages.
- Changed devDependencies from "lua_test" to "testing" in package.json for ui_level4, ui_level5, ui_level6, ui_login, ui_pages, ui_permissions, user_manager, and workflow_editor.
- Removed legacy test scripts and parameterized tests, replacing them with a unified test suite structure in the tests section of package.json.
- Introduced new metadata.params.json files for each package to define test parameters for package ID validation, icon file existence, and JSON schema validation.
- Created new metadata.test.json files for each package to define structured test cases for validating package metadata, including checks for package ID, icon file existence, and schema validity.
- Created contact-form.json defining the structure and validation for the contact form.
- Added package.json for form_builder package with dependencies and exports.
- Implemented functions.json for form field handlers and validation functions.
- Configured storybook for form_builder with various form field stories.
- Established style tokens for form fields including colors and spacing.
- Defined validation patterns and functions for form fields in validators.json.
feat(notification_center): introduce notification components and event handling
- Added ui.json for notification components including summary, toast, and list.
- Created schema.json for Notification entity with fields and relations.
- Implemented event handlers for notification events in handlers.json.
- Established package.json for notification_center with components and scripts.
- Developed functions.json for notification management and display functions.
- Configured storybook for notification_center with various notification stories.
- Defined style tokens for notifications including colors and spacing.
- Add arcade.test.lua with tests for lobby and game helper functions
- Add notifications.test.lua for notification_center with it_each()
- Include JSON test case files for data-driven test scenarios
- Tests cover sort, filter, priority, and display formatting functions
- Introduced `Server` class for managing the Media Daemon, including configuration, lifecycle, and HTTP route handling.
- Added `TvEngine` class for managing TV channels, scheduling, EPG generation, and streaming functionalities.
- Created `types.hpp` to define various data structures and enums for jobs, radio, TV channels, and plugins.
- Implemented main entry point in `main.cpp` to initialize and run the Media Daemon server with command-line and environment variable configurations.
- Established error handling and result management using a generic `Result` class.
- Included necessary headers and dependencies for media processing and plugin management.
- Added type annotations and class definitions in the dashboard layout, stats, and data table modules for improved type safety and documentation.
- Introduced new classes for UI components, props, and configuration in the form builder, navigation menu, notification center, and UI dialogs packages.
- Implemented detailed type definitions for actions, fields, and pagination components to streamline usage and enhance clarity.
- Updated initialization functions in multiple packages to include versioning and installation context.
- Improved structure and readability of the codebase by organizing and documenting component properties and methods.
- Deleted existing metadata test files for stream_cast, ui_auth, ui_dialogs, ui_footer, ui_header, ui_home, ui_intro, ui_level2, ui_level3, ui_level4, and ui_level5 packages.
- Introduced new Lua-based component validation tests for ui_home, ui_intro, ui_level2, ui_level3, ui_level4, and ui_level5 packages.
- Added metadata validation tests for ui_intro, ui_level2, ui_level3, ui_level4, and ui_level5 packages with comprehensive checks for structure and dependencies.
- Created new component cases JSON files for ui_home, ui_intro, ui_level2, ui_level3, ui_level4, and ui_level5 packages to define expected component structures.
- Updated metadata cases JSON files for ui_intro, ui_level2, ui_level3, ui_level4, and ui_level5 packages to include validation patterns and required fields.
- Added a new UI Pages Bundle package with validation tests and comprehensive dependency checks.
- Created metadata cases and component structure tests for form_builder, forum_forge, irc_webchat, nav_menu, notification_center, schema_editor, screenshot_analyzer, social_hub, stream_cast, ui_auth, ui_dialogs, and ui_footer packages.
- Implemented validation for package ID format, version format, required fields, and expected components.
- Added Lua test scripts to validate component structures and metadata integrity.
- Ensured all packages adhere to the defined structure and dependencies.
- Introduced `TestCaseFiles` interface to manage test case files in JSON format.
- Added `load_cases` function to load test cases from JSON files in the Lua test runner.
- Implemented parameterized test helpers (`it_each`, `fit_each`, `xit_each`) for more flexible test case execution.
- Updated existing tests in `ui_login`, `ui_permissions`, `user_manager`, and `workflow_editor` to utilize JSON-based test cases for better maintainability and readability.
- Added new components and scripts for the notification center, including a summary card with severity-based notifications.
- Enhanced metadata and manifest files to include new components and scripts.
- Introduced comprehensive test cases for user actions, permission checks, and workflow statuses.
- Updated ContactForm example to remove type casting on handleInputChange.
- Enhanced package installation scripts with type definitions for better type safety.
- Implemented package uninstallation and installation checks with improved type definitions.
- Added new Lua scripts for admin settings, code editor features, and user management.
- Introduced schema editor field types and validation rules for form inputs.
- Created social feed components and workflow editor nodes for enhanced functionality.
- Developed layout modules for various UI levels, including admin and supergod panels.
- Implemented notification center initialization and rendering utilities.
- Added toast notification types: success, error, warning, and info.
- Created notification list rendering with badge support.
- Included SVG icons for notification center.
- Added tests for notification center functionalities.
feat: introduce schema editor package for database management
- Developed schema editor initialization and field type definitions.
- Implemented table management and relationships handling.
- Added SVG icons for schema editor.
- Included tests for schema editor functionalities.
feat: create user manager package for user management operations
- Implemented user management actions: create, update, delete, change level, and toggle active.
- Developed user list rendering with sortable columns.
- Added SVG icons for user manager.
- Included tests for user manager functionalities.
feat: add workflow editor package for workflow management
- Developed workflow editor rendering and step management utilities.
- Implemented workflow run status display and progress rendering.
- Added SVG icons for workflow editor.
- Included tests for workflow editor functionalities.
chore: add static SVG icons for various packages