Commit Graph

2948 Commits

Author SHA1 Message Date
ecbf0f5ce2 refactor: remove obsolete tools from CI workflows 2026-01-03 00:04:47 +00:00
57d9eb62ac refactor: remove tools-based scripts and update workflows to reflect changes 2026-01-03 00:03:18 +00:00
640b4b3744 Remove obsolete validation and testing scripts from tools directory
- Deleted `test-workflows.sh` which provided local testing for GitHub Actions workflows.
- Removed `security-scanner.ts` that scanned for security issues in code.
- Eliminated `validate-packages.js` for validating package metadata.
- Removed `validate-api-docs.ts` which checked API documentation completeness.
- Deleted `validate-code-examples.ts` for validating code examples.
- Removed `validate-codegen-export.ts` that validated code generation exports.
- Eliminated `validate-markdown-links.ts` for checking broken links in markdown files.
- Removed `validate-readme-quality.ts` which assessed the quality of README files.
2026-01-02 23:53:47 +00:00
ed3c824cf4 Remove outdated troubleshooting documentation for CORS bypass, screenshot analyzer, package tests, phase 5 testing report, test coverage summary, workflow failure diagnosis 2026-01-02 23:52:43 +00:00
8873a577e9 refactor: remove permissions package and related files
- Deleted the permissions package including its types, manager, and hooks.
- Removed renderer integration example and related permission checking functions.
- Cleaned up server package files, including package catalog entry and content type functions.
- Consolidated package loading logic into a unified package loader.
- Introduced new unified package management functions for loading and metadata retrieval.
2026-01-02 23:50:32 +00:00
b1148af3b0 refactor: remove obsolete package glue files and update imports to scripts 2026-01-02 23:40:08 +00:00
33751e1515 feat: Implement TypeScript JSON Abstraction Pattern documentation
- Added comprehensive documentation for the TypeScript JSON Abstraction Pattern, detailing its architecture, benefits, and practical use cases.
- Included examples of JSON input and corresponding TypeScript output, along with compiler implementation sketches.

feat: Enhance RootLayout to load header and footer packages

- Modified RootLayout to asynchronously load header and footer packages using the unified package loader.
- Rendered header and footer conditionally based on package metadata availability.

refactor: Update package-glue structure and imports

- Refactored package-glue exports to streamline imports and improve organization.
- Removed deprecated package-loader module and adjusted related imports accordingly.

fix: Correct package catalog imports in loader functions

- Updated import paths in various loader functions to reference the core package catalog correctly.

chore: Introduce unified package loader for better package management

- Created a unified package loader to handle loading packages from both filesystem JSON and legacy in-memory catalog.
- Implemented functions to load single and all packages, check package existence, and list package IDs.

feat: Add minimal declarative component renderer

- Introduced a lightweight declarative component registry to facilitate package component loading.
- Implemented functions for loading, retrieving, and listing registered components.
2026-01-02 23:39:55 +00:00
1a60d3b767 docs: delete obsolete Lua, triage, audit, and archive docs 2026-01-02 23:36:18 +00:00
d30fc6c87a docs: move TESTING_COMPLETE.md into docs/testing/ 2026-01-02 23:34:34 +00:00
438435f3b6 docs(archive): move legacy top-level docs into docs/archive/ 2026-01-02 23:33:42 +00:00
7dec5f0fac Refactor code structure for improved readability and maintainability 2026-01-02 23:28:43 +00:00
87501588ad chore: Remove login page and auth API routes - handled by ui_login package and DBAL 2026-01-02 23:16:36 +00:00
e43412f3fc refactor: remove setup and validation scripts for packages 2026-01-02 23:15:10 +00:00
ee5790c718 chore: Remove redundant public/packages folder - packages live at /packages/ 2026-01-02 23:13:13 +00:00
4b0d8ae6e8 chore: Major nextjs cleanup - consolidate lib folders, remove redundant TSX, move e2e to root
- Moved e2e folder to project root with playwright configs
- Removed (auth) route group (handled by packages)
- Removed redundant API routes (codegen, levels, native-prisma, etc.)
- Deleted lib folders now covered by packages: security, schema, seed, api, auth, routing, navigation
- Removed *-lib duplicates: database-lib, types-lib, rendering-lib, package-lib
- Deleted duplicate dbal-client folders
- Cleaned up eslint config and removed eslint-plugins folder
- Removed old workflow scripts and build outputs
- Consolidated hooks folder
- Total: Reduced ~43 TS files
2026-01-02 22:58:39 +00:00
8c7330db7c refactor: simplify build and test scripts in package.json 2026-01-02 22:35:05 +00:00
0952a1e4bd refactor: clean up package.json by removing unused dependencies and scripts 2026-01-02 22:33:53 +00:00
feac579bef refactor: remove pagination and toast components along with related styles and types
- Deleted TablePagination component and its associated styles and types.
- Removed pagination-related exports from index files.
- Eliminated sonner toast implementation including its context, container, and configuration.
- Cleaned up unused form and table components, including FieldGroup, ValidationSummary, Body, EmptyState, Header, and their respective types.
2026-01-02 22:28:11 +00:00
9dab4999c0 feat: add Nerd Mode IDE package with full functionality
- Created package.json for Nerd Mode IDE with dependencies and exports.
- Defined access permissions in roles.json for IDE functionalities.
- Implemented file system and execution functions in functions.json.
- Added SVG icon for the IDE in static_content/icon.svg.
- Configured Storybook for the IDE with various components and examples.
- Established design tokens in tokens.json for consistent styling.
- Developed parameterized test data in metadata.params.json for testing.
- Created metadata validation tests in metadata.test.json to ensure package integrity.
2026-01-02 22:25:22 +00:00
c31bc5da7f refactor: remove import/export package components and related logic
- Deleted ExportOptions component and its associated logic for export options.
- Removed ImportDialog component and its functionality for importing packages.
- Eliminated StatusUI component that displayed import status and package details.
- Cleared createFileSelector utility for file selection validation.
- Removed default export options and manifest definitions.
- Deleted executePackageImport function that handled package import logic.
- Removed generatePackageExport and generateSnapshotExport functions for package export.
- Cleared validateManifest function for manifest validation.
- Deleted PackageCard, PackageFilters, PackageTabs, and related hooks for package management.
- Removed DependenciesTab and ScriptsTab components for displaying package dependencies and scripts.
- Cleared RouteEditor, RoutesTable, and Preview components for route management.
2026-01-02 22:02:52 +00:00
3ec49cfe8c feat: Introduce schema-driven package system specification
- Added `package_system.tla` to model the schema-driven package system, including multi-source loading, validation, dependency resolution, and permission filtering.
- Created `package_system.cfg` for TLC model checker configuration, defining constants and invariants for bounded model checking.
- Updated `metabuilder.tla` to reflect the core specification of MetaBuilder, emphasizing the package lifecycle and related specifications.
2026-01-02 21:59:59 +00:00
1db0e0fd3b feat: add missing packages analysis documentation for frontend features 2026-01-02 21:32:47 +00:00
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