Commit Graph

44 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
00a49e4243 Remove functions.json files and stop generating them
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-07 19:20:19 +00:00
9284b9a67b Refactor function definitions across multiple packages to remove luaScript references
- 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.
2026-01-07 14:54:33 +00:00
25908192ef feat(schema-registry): enhance schema management with migration support and improved loading mechanisms
- 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.
2026-01-07 12:08:24 +00:00
copilot-swe-agent[bot]
f2899ccfcf Add stub modules for auth, routing, github, lua, and other missing features
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-05 16:11:41 +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
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
e22b801f37 Refactor code structure for improved readability and maintainability 2026-01-02 12:47:38 +00:00
Richard Ward
939b243e97 config: packages,metadata,json (7 files) 2025-12-31 02:04:59 +00:00
Richard Ward
96f8607c46 config: packages,metadata,json (44 files) 2025-12-31 02:01:20 +00:00
Richard Ward
198cd22961 config: packages,metadata,json (47 files) 2025-12-31 00:19:04 +00:00
Richard Ward
24b06b5536 config: styles,packages,json (39 files) 2025-12-31 00:17:06 +00:00
Richard Ward
a72ffff6e2 config: packages,metadata,json (18 files) 2025-12-30 23:11:25 +00:00
Richard Ward
56a7baedbb config: packages,nav,menu (1 files) 2025-12-30 19:26:29 +00:00
184b066b1b Phase 5: Fix empty components.json files for packages with exports 2025-12-30 19:24:35 +00:00
Richard Ward
e1d7c14947 update: types,packages,lua (3 files) 2025-12-30 14:48:40 +00:00
Richard Ward
3ff6f2b779 docs: packages,lua,stats (12 files) 2025-12-30 14:31:20 +00:00
Richard Ward
83364db727 config: packages,lua,nav (7 files) 2025-12-30 14:28:19 +00:00
Richard Ward
a33ec831ee update: packages,lua,smtp (8 files) 2025-12-30 14:27:52 +00:00
Richard Ward
087a9d2526 code: nextjs,frontends,tsx (7 files) 2025-12-30 14:26:54 +00:00
Richard Ward
f9bffcb5d9 config: packages,lua,ui (10 files) 2025-12-30 13:34:35 +00:00
Richard Ward
975b6dd7e6 docs: packages,lua,ui (12 files) 2025-12-30 13:32:53 +00:00
Richard Ward
e9456d5dce config: packages,sidebar,nav (5 files) 2025-12-30 13:29:29 +00:00
Richard Ward
5d2ba6d84c config: packages,menu,lua (8 files) 2025-12-30 13:28:02 +00:00
Richard Ward
d44e40440d config: packages,lua,menu (12 files) 2025-12-30 13:26:36 +00:00
Richard Ward
b2b0ade653 config: fakemui,packages,menu (9 files) 2025-12-30 13:25:20 +00:00
Richard Ward
fa21e4156e code: packages,lua,ui (6 files) 2025-12-30 13:22:50 +00:00
Richard Ward
3c0d364ac3 code: tsx,packages,menu (4 files) 2025-12-30 13:21:28 +00:00
Richard Ward
5052bf7f7c update: packages,lua,menu (5 files) 2025-12-30 13:13:48 +00:00
cfa1e5bfee feat: add new icon components including Envelope, ChatCircle, HardDrives, WarningCircle, CheckCircle, XCircle, TrendUp, ShieldWarning, LockKey, Crown, Sparkle, BookOpen, Tree, Broom, Export, UploadSimple, Funnel, FunnelSimple, MapTrifold, PushPinSimple, Buildings, GithubLogo, and GoogleLogo 2025-12-30 12:21:15 +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
7416f47b62 feat: add devDependencies and testing configurations to metadata files for multiple packages 2025-12-30 01:55:22 +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
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
4d451dab46 fix(types): enhance type safety across various components and utilities 2025-12-30 00:47:10 +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
afa51500a5 feat(layout): add flex, grid, section, and stat components for dashboard layout
feat(nav_menu): implement menu item, group, and divider components
feat(ui_header): create logo, user, and actions sections for header rendering
2025-12-30 00:01:01 +00:00
ef86c48fd0 fix(types): replace 'any' with 'unknown' for improved type safety across workflow and metadata files 2025-12-29 23:52:02 +00:00
9d67c8dbbc feat: add notification center package with toast and list functionalities
- 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
2025-12-29 23:47:01 +00:00
26ba2d3ec0 feat(ui): Update metadata and add new components for dashboard, form builder, and navigation menu 2025-12-29 23:34:37 +00:00
5cd62c08e8 Generated by Spark: Each package in package folder has a unit tests folder 2025-12-24 19:51:20 +00:00
copilot-swe-agent[bot]
c97860f4c3 Remove packages from gitignore and commit packages folder, simplify setup script
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2025-12-24 01:14:09 +00:00