Commit Graph

468 Commits

Author SHA1 Message Date
8d4a11f05d feat: enhance type annotations for UI components across multiple modules 2025-12-30 10:35:35 +00:00
6832c0c7cd feat: add type annotations for Comments, Comment, RenderContext, UIComponent, PostForm, and PostResult classes 2025-12-30 10:33:44 +00:00
ff9954b0f8 feat: add type annotations for TextField and Toast classes in respective modules 2025-12-30 10:23:11 +00:00
25f63170c8 feat: add type annotations for ColumnDefinitions and Toast classes in respective modules 2025-12-30 10:22:02 +00:00
4a55aca2da feat: enhance type definitions and add new classes for code editor, form builder, and notification center modules 2025-12-30 10:21:54 +00:00
dc0336bb9e feat: enhance type definitions and add new classes for various components in code editor and notification center 2025-12-30 10:21:46 +00:00
bf1401fe34 Enhance module definitions and add type annotations across various packages
- 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.
2025-12-30 10:21:33 +00:00
c107c63848 feat: implement MUI dependency elimination plan and update related styles and scripts 2025-12-30 10:09:52 +00:00
58a94d0489 feat(styles): add component-specific styles for TaskDetail, SearchDialog, and Documentation
feat(styles): create global styles entry point and organize global styles

feat(styles): implement base HTML element styles and utility classes for flexbox

feat(styles): establish layout, position, spacing, and text utility classes

feat(styles): introduce mixins for animations, cards, dialogs, flexbox, grid, and responsive design

test(quick_guide): add component and metadata validation tests for quick_guide package

test(ui_level6): implement metadata validation tests for ui_level6 package
2025-12-30 02:29:58 +00:00
25c98f2704 feat: Add lua_test as a devDependency and implement validation tests for audit_log and code_editor packages 2025-12-30 02:27:20 +00:00
85fecd58ce feat: Add validation tests for devDependencies including lua_test scenarios 2025-12-30 02:21:28 +00:00
348f0b8557 feat: Update README to include usage instructions for lua_test as a devDependency 2025-12-30 02:21:00 +00:00
77f9464ab2 feat: Update README to include test file recommendations for lua_test devDependency 2025-12-30 02:20:44 +00:00
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
4d451dab46 fix(types): enhance type safety across various components and utilities 2025-12-30 00:47:10 +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
fac6a49a64 Refactor and enhance permission handling, UI components, and package metadata
- Updated ModelTable component to use more specific types for records and edit actions.
- Enhanced NavItem component to extend MUI ListItemProps for better type safety.
- Refactored normalizeLuaStructure to improve type handling with JsonValue.
- Updated LuaUIComponent and related types to use JsonValue for props and handler arguments.
- Modified AuditLog interface to use JsonObject for metadata.
- Improved importUIPages function to use a more specific database interface.
- Refactored builder-types to use JsonValue for component props and default values.
- Updated package index.json to reflect changes in package descriptions, dependencies, and added minLevel attributes.
- Enhanced permissions in Lua scripts to include new roles (moderator, supergod).
- Renamed and updated metadata for UI level packages to reflect new roles and functionalities.
- Added new UI level package (Level 6 - Supergod Panel) with associated scripts and components.
- Updated permissions check script to include new moderator role checks.
2025-12-30 00:20:29 +00:00
b72763d9ff feat: add minLevel property to metadata.json files and update permission levels in levels.lua 2025-12-30 00:13:12 +00:00