Commit Graph

2926 Commits

Author SHA1 Message Date
ef709d47c0 refactor: update testing framework and restructure test configurations
- 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.
2026-01-02 21:25:45 +00:00
e69b166046 Add icons for various packages and update package.json files
- Added SVG icons for the following packages:
  - github_tools
  - irc_webchat
  - json_script_example
  - lua_test
  - media_center
  - nav_menu
  - notification_center
  - package_validator
  - quick_guide
  - role_editor
  - schema_editor
  - screenshot_analyzer
  - smtp_config
  - social_hub
  - stats_grid
  - stream_cast
  - ui_auth
  - ui_dialogs
  - 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
  - workflow_editor

- Updated package.json files to include icon paths for each package.
2026-01-02 21:12:38 +00:00
753f530272 refactor: simplify package implementation instructions in frontend prompt 2026-01-02 20:58:12 +00:00
1c219059ef refactor: remove Lua UI package support and replace with JSON package loading
- Deleted Lua UI structure normalization and related tests.
- Removed Lua UI package type definitions.
- Introduced JSON package loader and component renderer.
- Implemented page loading from JSON packages, replacing Lua package functionality.
- Updated related tests to reflect the new JSON-based implementation.
- Removed deprecated Lua execution functions and security patterns.
2026-01-02 20:54:18 +00:00
7b0df71e89 refactor: remove LuaCodeEditor and LuaPackages stories, update package discovery system
- Deleted LuaCodeEditor stories and related components to streamline the codebase.
- Removed LuaPackages stories that demonstrated Lua UI packages.
- Eliminated fengari and lua-types type declarations as they are no longer needed.
- Introduced a new JSON Component Renderer to handle rendering of components defined in JSON format.
- Revamped the package discovery system to load package metadata, components, permissions, and styles in a new pure JSON format.
- Enhanced package discovery functions to include permissions and storybook configurations.
2026-01-02 20:48:17 +00:00
58eda8dc1e Refactor code structure for improved readability and maintainability 2026-01-02 20:17:50 +00:00
37753492b4 fix(schema): Update JSON schema reference for admin_dialog and ui_dialogs 2026-01-02 20:14:26 +00:00
40ec511651 feat(permissions): Add roles.json files for various components with access permissions 2026-01-02 20:11:45 +00:00
6142269692 feat(nav_menu): Add Storybook stories for Navigation Menu components 2026-01-02 20:06:55 +00:00
ee367920be Refactor permissions in various packages to standardize action names and resource types
- Updated action names from "moderate", "write", "configure", and "ban" to "manage", "update", and "execute" across multiple roles in the forum_forge, github_tools, irc_webchat, json_script_example, lua_test, media_center, nav_menu, package_validator, quick_guide, role_editor, schema_editor, screenshot_analyzer, smtp_config, social_hub, stats_grid, stream_cast, ui_auth, ui_footer, ui_header, ui_home, ui_intro, ui_level2, ui_level3, ui_level4, ui_level5, ui_level6, ui_login, ui_pages, and ui_permissions packages.

- Changed resource types from "content", "data", "ui", "config", and "external" to "custom", "entity", and "component" for better clarity and consistency.

- Adjusted actions in roles to reflect new naming conventions and improve readability.
2026-01-02 20:02:43 +00:00
6992c3a650 feat(ui_pages): Add UI Pages Bundle with multi-level navigation and components
- Created package.json for ui_pages with dependencies and exports.
- Added roles.json for access permissions related to UI pages.
- Implemented functions.json for managing UI pages and routing.
- Developed stories.json for Storybook showcasing UI pages components.
- Defined styles tokens for UI pages including colors, spacing, and typography.

feat(ui_permissions): Introduce UI Permissions package for access control

- Created package.json for ui_permissions with permission utilities.
- Added roles.json defining permissions for a 6-level access control system.
- Implemented functions.json for permission checking and level management.
- Developed stories.json for Storybook showcasing permission-related components.
- Defined styles tokens for UI permissions including colors and spacing.
2026-01-02 19:45:10 +00:00
8c8f8cce8a feat: Add JSON Script Example and Lua Test Framework
- Created a new package for JSON Script Example with comprehensive examples demonstrating the full JSON script specification.
- Added permissions for viewing, executing, and modifying examples in the JSON Script Example package.
- Implemented functions for various expressions, statements, operators, and control flow in the JSON Script Example.
- Developed a Storybook configuration for showcasing JSON Script Examples with interactive components.
- Established a styles token file for consistent styling across the JSON Script Example package.
- Introduced a new Lua Test Framework package with components for running and displaying test results.
- Defined permissions for executing and viewing Lua test results, along with configuration and debugging capabilities.
- Implemented a comprehensive set of functions for the Lua testing framework, including assertions and mocks.
- Created Storybook stories for the Lua Test Framework to demonstrate the test runner and results display.
- Added a styles token file for the Lua Test Framework to ensure a cohesive design.
2026-01-02 16:42:39 +00:00
e689b1fb62 feat(css_designer): add initial implementation of CSS Designer package with components, permissions, functions, styles, and storybook stories 2026-01-02 16:29:44 +00:00
7a82c07bfe feat(codegen_studio): add Codegen Studio components for template generation and project scaffolding
- Introduced `CodegenStudio`, `TemplateSelector`, and `PackageGenerator` components with detailed props and rendering logic.
- Created UI styles and tokens for consistent theming across components.
- Implemented permissions for template viewing, creation, and code generation.
- Added functions for lifecycle events, blueprint building, and package generation.
- Developed storybook stories for visual testing and documentation of components.

feat(config_summary): implement configuration summary components and styles

- Added `ConfigSummary`, `SummaryRow`, and related components for displaying system stats.
- Defined permissions for viewing and exporting configuration summaries.
- Created functions for rendering and aggregating summary data.
- Established storybook stories for showcasing summary components and their variations.
- Introduced styles and tokens for consistent UI presentation across summary components.
2026-01-02 16:26:34 +00:00
79f854c7a5 feat(media_center): add initial implementation of Media Center package with components, permissions, functions, styles, and storybook stories
- Created package.json for Media Center with metadata, dependencies, and exports.
- Added roles.json for access permissions related to media jobs, radio, TV, and retro gaming.
- Implemented functions.json defining various media center functions for jobs, radio, TV, documents, and retro gaming.
- Developed stories.json for Storybook showcasing Media Center components.
- Introduced tokens.json for styling, including colors, spacing, shadows, and animations.
2026-01-02 16:16:39 +00:00
d20ff2e85e feat(ui_dialogs): add dialog components, functions, styles, and storybook configuration for user interactions 2026-01-02 15:56:37 +00:00
1a175e8030 feat(workflow_editor, data_table): add components, functions, and styles for advanced data table and workflow editor 2026-01-02 15:42:33 +00:00
af80a8e761 feat(form_builder): add contact form with validation and submission handling
- 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.
2026-01-02 15:34:42 +00:00
59a473dfb8 feat: Add user management package with components, permissions, functions, and styles 2026-01-02 15:29:03 +00:00
45a5fd30f6 feat: Add audit log package with UI components, entities, functions, and styles 2026-01-02 13:41:19 +00:00
8e8c122470 feat: Add implementation prompt for package conversion process 2026-01-02 13:25:39 +00:00
2d5cba276a Add edge case test parameters and schemas for comprehensive testing
- Introduced `edge-cases.params.json` to define parameter sets for various edge case scenarios including null handling, boundary values, empty collections, special characters, numeric overflow, concurrent access, and malformed data.
- Created `edge-cases.test.json` to implement parameterized tests for the defined edge cases, ensuring robust validation of edge case handling in the application.
- Added `test-parameters_schema.json` to establish a schema for defining parameterized test input parameters, enhancing validation and structure.
- Developed `tests_schema.json` to define the structure for parameterized unit tests, including setup, teardown, and test case definitions.
2026-01-02 13:20:14 +00:00
97d7e8417d chore: Update VSCode settings for new source directory and model configurations 2026-01-02 12:55:53 +00:00
e22b801f37 Refactor code structure for improved readability and maintainability 2026-01-02 12:47:38 +00:00
9eea4c29f4 Bump schema version to 2.0.0 and refactor common definitions
- Updated default schema version from 1.0.0 to 2.0.0 in config_schema.json, events_schema.json, forms_schema.json, jobs_schema.json, migrations_schema.json, and permissions_schema.json.
- Introduced storybook-common-definitions.json to centralize common definitions for storybook context and controls.
- Refactored storybook_schema.json to reference common definitions instead of duplicating schema properties.
- Enhanced test scripts for schema validation to ensure comprehensive coverage and improved error reporting.
2026-01-02 12:42:24 +00:00
36af0354e8 feat: Add Storybook configuration schema and examples for package previews 2026-01-02 01:55:32 +00:00
5e7fa66ec6 Add schemas for advanced features and complete package examples
- Introduced advanced validation functions in complex.json for order totals, shipping addresses, inventory checks, and credit card validation.
- Created settings.json for complete package configuration, including environment variables and feature flags.
- Added event handlers in handlers.json for user-related events such as creation, update, and deletion.
- Developed user registration and profile editing forms in user-form.json with validation rules.
- Implemented background jobs in tasks.json for user cleanup, daily digest emails, analytics processing, and database backups.
- Established initial database migrations in 001_initial.json for users and content tables.
- Defined role-based access control in rbac.json with roles, permissions, and policies.
- Created minimal package schemas with empty structures for API, components, config, entities, events, forms, jobs, migrations, permissions, scripts, styles, types, and validation.
2026-01-02 00:29:17 +00:00
04761fa324 feat: Add automated schema validation test suite and TypeScript type definitions
- Created a new script `validate-all.sh` for automated validation of JSON schemas and example packages.
- Added a comprehensive README for TypeScript type definitions, detailing installation, usage examples, and advanced patterns.
- Introduced `generate-types.sh` to generate TypeScript definitions from JSON schemas using `json-schema-to-typescript` or `quicktype`.
- Implemented `metabuilder-schemas.d.ts` with hand-crafted TypeScript definitions for MetaBuilder schemas.
- Enhanced the structure and documentation of the TypeScript types to improve usability and clarity.
2026-01-02 00:00:38 +00:00
55a56ac604 feat: Implement comprehensive schema improvements and versioning documentation 2026-01-01 23:23:55 +00:00
51495bfe22 feat: Add Quick Start Guide for MetaBuilder Schemas
- Introduced QUICKSTART.md with security improvements, visual programming support, and cross-schema validation features.
- Updated entities_schema.json to remove deprecated 'primary' field.
- Enhanced index_schema.json with cross-validation rules and improved schema definitions.
- Created stdlib_schema.json for standard library functions and utilities.
- Updated validation_schema.json to include default regex patterns and sanitization options.
2026-01-01 23:14:19 +00:00
2f8da8872e feat: add schema validator script using jsonschema-cli 2026-01-01 22:05:17 +00:00
feb148c908 feat: add new styles schema and validation functions
- Introduced a new JSON schema for package styles (styles_schema.json) defining design tokens and style properties.
- Removed the outdated types schema (types.schema.json) and replaced it with an updated version (types_schema.json) that includes enhanced type definitions and properties.
- Added a new validation schema (validation_schema.json) for JSON script validation functions, including reusable patterns and function definitions.
2025-12-31 23:07:31 +00:00
357dd5e106 config: add comment for yaml-schema dependency in yaml-schema.sh 2025-12-31 22:24:05 +00:00
501af9370d config: add yaml-schema.sh script for YAML processing 2025-12-31 22:22:33 +00:00
7acce2e9d4 docs: add comprehensive summaries for script.json, styles.json, and types.json patterns 2025-12-31 21:43:24 +00:00
Richard Ward
1c0afad253 config: schemas,schema,package (2 files) 2025-12-31 15:07:12 +00:00
Richard Ward
a178f13b66 config: schemas,schema,package (2 files) 2025-12-31 15:06:42 +00:00
Richard Ward
e29dfaffa8 config: json,script,schema (4 files) 2025-12-31 15:06:10 +00:00
Richard Ward
ab5ce401af config: json,script,packages (4 files) 2025-12-31 15:05:39 +00:00
Richard Ward
bb0d1bf6f8 config: schemas,schema,package (3 files) 2025-12-31 15:01:48 +00:00
Richard Ward
8af055193a docs: schemas,yaml,schema (2 files) 2025-12-31 14:33:22 +00:00
Richard Ward
c520e13f9d docs: yaml,packages,script (4 files) 2025-12-31 14:32:52 +00:00
Richard Ward
658e2ea608 config: yaml,schema (1 files) 2025-12-31 14:29:56 +00:00
Richard Ward
ec27cea423 docs: packages,yaml,script (3 files) 2025-12-31 14:29:27 +00:00
Richard Ward
268208311f config: json,script,schema (1 files) 2025-12-31 14:27:55 +00:00
Richard Ward
0f6aa918f8 docs: script,packages,json (1 files) 2025-12-31 14:27:26 +00:00
Richard Ward
5e5ba70b2e docs: json,script,packages (3 files) 2025-12-31 14:17:20 +00:00
Richard Ward
1cfa6750f2 docs: validator,packages,package (1 files) 2025-12-31 14:12:09 +00:00
Richard Ward
342d2d772d docs: validator,packages,package (2 files) 2025-12-31 14:11:40 +00:00
Richard Ward
464acfce01 docs: validator,packages,package (2 files) 2025-12-31 14:11:11 +00:00