Commit Graph

2192 Commits

Author SHA1 Message Date
7c2ea0b417 feat: Add validation for test files structure based on lua_test devDependency 2025-12-30 02:20:29 +00:00
9bf6dc4af0 feat: Enhance script validation to check for tests directory based on lua_test devDependency 2025-12-30 02:19:42 +00:00
459182b655 feat: Add comprehensive validation for package structure, metadata, and components
- Implemented component schema validation in `component_schema.lua`.
- Created metadata schema validation in `metadata_schema.lua`.
- Developed structure validation logic in `structure_validator.lua`.
- Introduced Lua file validation functions in `lua_validator.lua`.
- Added integration tests for validation logic in `validate.test.lua`.
- Created unit tests for component, metadata, and structure validation.
- Added SVG icon for package representation.
- Established a main validation orchestrator in `validate.lua` to coordinate the validation process.
2025-12-30 02:19:28 +00:00
2f61892e5a feat: add devDependencies and testing configurations to metadata files for ui_header, ui_home, ui_intro, ui_level2, ui_level3, ui_level4, ui_level5, and ui_pages packages 2025-12-30 01:58:28 +00:00
9d25c04754 feat: add devDependencies and testing configurations to metadata files for ui_auth, ui_dialogs, and ui_footer packages 2025-12-30 01:55:31 +00:00
7416f47b62 feat: add devDependencies and testing configurations to metadata files for multiple packages 2025-12-30 01:55:22 +00:00
42e9e816ad refactor: remove outdated test files for various packages 2025-12-30 01:52:37 +00:00
cad5669c77 refactor: remove outdated test files and add new component validation tests
- 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.
2025-12-30 01:52:28 +00:00
2985826a7b feat: add validation tests and cases for ui_header and ui_home packages 2025-12-30 01:48:48 +00:00
2d65639c13 Add test cases and metadata validation for various packages
- 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.
2025-12-30 01:48:35 +00:00
94fe1c83b7 Refactor audit log components and add validation tests
- Removed the AuditLogViewer, Filters, and LogTable components.
- Added new component definitions in components.json for Audit Stats Cards and Audit Log Viewer.
- Implemented scripts for stats calculation, log formatting, and applying filters.
- Created validation tests for the arcade_lobby, codegen_studio, data_table, form_builder, forum_forge, and irc_webchat packages.
- Updated index.json to include new audit_log and quick_guide packages with their respective metadata.
2025-12-30 01:43:40 +00:00
13855240ac feat: add admin_dialog package with component and metadata validation tests; implement audit log package with filtering, formatting, and statistics functionalities 2025-12-30 01:39:39 +00:00
589f61faeb feat: add quick guide package with initialization and media handling; update test configurations for multiple packages 2025-12-30 01:37:16 +00:00
8c9d501425 refactor: remove NotificationSummaryCard component and associated tests; migrate rendering to Lua package 2025-12-30 01:36:04 +00:00
a3e57efb31 feat: Enhance Lua test runner and add parameterized testing support
- 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.
2025-12-30 01:35:55 +00:00
7cd954b038 refactor: remove unused DBAL demo components and utilities
- Deleted KVStoreDemo, LogsPanel, ResultPanel, and associated utility functions from the DBAL demo.
- Removed ScreenshotAnalyzer components including ResultPanel and UploadSection.
- Added comprehensive tests for dashboard stats, UI login validation, UI permissions, user manager actions, and workflow editor status.
- Introduced parameterized tests for better coverage and maintainability.
2025-12-30 01:30:52 +00:00
a920657d03 feat(tests): remove obsolete test files for dashboard, ui_login, ui_permissions, user_manager, and workflow_editor modules 2025-12-30 01:27:50 +00:00
0eeb28b02e feat(tests): integrate lua_test package and add test configurations for multiple modules 2025-12-30 01:26:05 +00:00
a55da0eb38 feat(ui_permissions): add tests for levels module with value checks and hierarchy validation 2025-12-30 01:22:06 +00:00
b9f84f6db5 feat: enhance Lua and rendering components with new bindings and tests 2025-12-30 01:21:58 +00:00
abd5c303cb feat(screenshot_analyzer): add Screenshot Analyzer package with capture and analysis features 2025-12-30 01:18:04 +00:00
874e8a2fe0 feat(dbal_demo): add DBAL Integration Demo package with TypeScript client and components 2025-12-30 01:17:45 +00:00
10702418ac feat(lua_test_runner): add Lua Test Runner integration with TypeScript utilities for executing tests 2025-12-30 01:17:37 +00:00
155440171c feat(screenshot_analyzer): add page analysis and information extraction functions for enhanced reporting and recommendations 2025-12-30 01:17:28 +00:00
60618f2dcb feat(screenshot_analyzer): implement screenshot capture operations with context preparation, filename generation, validation, and status retrieval 2025-12-30 01:16:41 +00:00
dc8adddb57 feat(screenshot_analyzer): initialize Screenshot Analyzer package with basic structure and configuration 2025-12-30 01:16:32 +00:00
a4673ca30a feat(screenshot_analyzer): add manifest.json for script definitions and organization 2025-12-30 01:16:24 +00:00
dfe3689e6d feat(screenshot_analyzer): add components for Screenshot Analyzer, Upload Section, Result Panel, and Page Info 2025-12-30 01:16:15 +00:00
a7be452ddb feat(lua_test): add README, components, index, example tests, and icon for Lua testing framework 2025-12-30 01:16:07 +00:00
aa01e42ae8 feat(lua_test): add unit testing framework with BDD-style organization
- Implemented core testing functionalities including describe/it blocks, before/after hooks, and assertion methods.
- Added support for mocks and spies to facilitate testing of functions and methods.
- Introduced helper utilities for generating test data, parameterized tests, and snapshot testing.
- Developed a test runner that executes suites and generates detailed reports in both text and JSON formats.
- Created a manifest for the lua_test package to define scripts and their purposes.

feat(screenshot_analyzer): introduce screenshot analysis package

- Added metadata for the screenshot_analyzer package, detailing its components and scripts.
- Defined dependencies and bindings for browser interactions.
2025-12-30 01:15:59 +00:00
0690ab79c3 refactor: migrate IRC Webchat components to Lua package structure and update ChatTabContent 2025-12-30 01:08:03 +00:00
a3d445565a refactor: remove IRC Webchat package and related components for cleanup 2025-12-30 01:04:02 +00:00
2d965aa178 feat(irc_webchat): add IRC Webchat package with components, metadata, schemas, and scripts 2025-12-30 01:01:25 +00:00
1f7f9da57a refactor: remove deprecated IRCWebchat components and update generateComponentTree for improved type safety 2025-12-30 00:57:36 +00:00
9507c39f09 fix(types): enhance type safety across various modules and functions 2025-12-30 00:55:05 +00:00
ae3cdafb69 fix(types): enhance type safety in navigateToLogin function and updateComponentNode function 2025-12-30 00:48:52 +00:00
eae9a8094c fix(types): enhance type safety in executeLuaScript, interpolateValue, evaluateConditional, and resolveDataSource methods 2025-12-30 00:48:27 +00:00
309ef64fd6 fix(types): enhance type safety in executeLuaScript, interpolateValue, evaluateConditional, and resolveDataSource methods 2025-12-30 00:48:17 +00:00
d818a93c0f fix(types): enhance type safety in callLuaFunction and loadPackageComponents functions 2025-12-30 00:48:08 +00:00
8f42c03697 fix(types): enhance type safety in LuaEngine and execution functions 2025-12-30 00:47:52 +00:00
a8d0e1b749 fix(types): improve type safety in generatePackageExport and executeLuaScript functions 2025-12-30 00:47:25 +00:00
4d451dab46 fix(types): enhance type safety across various components and utilities 2025-12-30 00:47:10 +00:00
4dbea7a9b0 fix(types): enhance type safety in AstLambdaRefactorUtils and AutoCodeExtractor3000Utils methods 2025-12-30 00:43:47 +00:00
642215fe14 fix(types): improve type safety in utility functions across multiple refactor utils 2025-12-30 00:43:35 +00:00
f93945ad79 fix(types): update types in LuaScriptDetails and PackageFilters components for better type safety 2025-12-30 00:40:26 +00:00
021762bd50 docs: add package-sources documentation and update copilot-instructions for 6-level permissions 2025-12-30 00:36:30 +00:00
e59841bbff test: add unit tests for PackageSourceManager functionality 2025-12-30 00:33:00 +00:00
52e1337b69 feat: Implement local and remote package sources with package source manager
- Added LocalPackageSource to load packages from the local filesystem.
- Introduced RemotePackageSource to fetch packages from a remote registry.
- Created PackageSourceManager to manage multiple package sources and resolve conflicts.
- Added tests for package source types and configurations.
- Updated metadata.json files for various packages to include dependencies.
- Enhanced type definitions for package sources and related data structures.
2025-12-30 00:32:52 +00:00
ec76c69609 fix(types): update SqlParam type for query and execute methods in UIPagesDb 2025-12-30 00:21:14 +00:00
00c7d7f473 feat(users): add moderator user to seed data 2025-12-30 00:20:37 +00:00