Commit Graph

28 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
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
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
e2c91d4103 config: packages,metadata,json (23 files) 2025-12-31 02:07:14 +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
4f41eeb47d config: packages,json,metadata (7 files) 2025-12-30 23:12:24 +00:00
Richard Ward
daa6b96c3a update: packages,lua,stream (5 files) 2025-12-30 19:47:57 +00:00
Richard Ward
fceea6e3f1 config: packages,lua,ui (32 files) 2025-12-30 19:45:10 +00:00
Richard Ward
88a5916d09 update: ui,types,packages (3 files) 2025-12-30 15:05:03 +00:00
Richard Ward
e491364545 docs: ui,packages,lua (12 files) 2025-12-30 13:33:23 +00:00
Richard Ward
690bf9e48a config: fakemui,tsx,index (12 files) 2025-12-30 13:01:09 +00:00
Richard Ward
8fc4991ae9 docs: nextjs,frontends,ui (11 files) 2025-12-30 13:00:42 +00:00
9c6dddc5ee feat: split ui_level4 and ui_level6 Lua modules
- ui_level4/schemas.lua -> schemas/ (render, add_schema, edit_schema)
- ui_level4/layout.lua -> layout/ (render, tabs, existing god_*)
- ui_level6/tenants.lua -> tenants/ (tenant_list, tenant_card, create_tenant_form)
- ui_level6/layout.lua -> layout/ (supergod_sidebar, toolbar, content)
- ui_level6/transfer.lua -> transfer/ (transfer_form, transfer_history)
- ui_header/render.lua -> already had render/ dir, updated redirect

All modules follow 1-function-per-file pattern with LuaLS type annotations
2025-12-30 12:31:16 +00:00
Richard Ward
b6972d42d6 code: ui,packages,lua (11 files) 2025-12-30 12:31:06 +00:00
Richard Ward
3a8b9694bc code: tsx,nextjs,frontends (20 files) 2025-12-30 12:30:39 +00:00
Richard Ward
9a7da1d7f2 update: packages,lua,ui (28 files) 2025-12-30 12:24:30 +00:00
6a6d356401 feat: split UI Lua modules (system, check, comments) 2025-12-30 12:22:53 +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
9bfac57ad7 feat: add type annotations and enhance definitions for various components across multiple modules 2025-12-30 10:37:19 +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
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
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