Commit Graph

1423 Commits

Author SHA1 Message Date
Richard Ward
9d50efa480 code: tsx,nextjs,frontends (6 files) 2025-12-30 12:49:35 +00:00
Richard Ward
22bc53c114 code: tsx,nextjs,frontends (3 files) 2025-12-30 12:49:08 +00:00
Richard Ward
9f16bdbb89 code: tsx,nextjs,frontends (6 files) 2025-12-30 12:48:38 +00:00
Richard Ward
44e7b724b6 code: tsx,nextjs,frontends (7 files) 2025-12-30 12:46:45 +00:00
Richard Ward
6eef5a4c6c code: tsx,nextjs,frontends (8 files) 2025-12-30 12:41:55 +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
e4426830df code: tsx,nextjs,frontends (12 files) 2025-12-30 12:29:33 +00:00
Richard Ward
b84ad16e53 code: ui,packages,lua (10 files) 2025-12-30 12:29:07 +00:00
Richard Ward
dfb3822512 code: tsx,nextjs,frontends (25 files) 2025-12-30 12:28:40 +00:00
Richard Ward
9977dbd838 code: tsx,nextjs,frontends (14 files) 2025-12-30 12:27:14 +00:00
Richard Ward
666df532a9 code: tsx,nextjs,frontends (10 files) 2025-12-30 12:26:48 +00:00
Richard Ward
da35e48534 code: tsx,nextjs,frontends (34 files) 2025-12-30 12:26:19 +00:00
a55399cf4f feat: split more UI Lua modules (tenants, moderation)
- ui_level5/tenants.lua: 3 functions -> tenants/ directory
- ui_level3/moderation.lua: 3 functions -> moderation/ directory

All modules follow 1-function-per-file pattern with LuaLS type annotations
2025-12-30 12:24:37 +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
e3ffff2ad7 feat: add new icon components and update imports in Lua editor components 2025-12-30 09:51:48 +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
0eeb28b02e feat(tests): integrate lua_test package and add test configurations for multiple modules 2025-12-30 01:26:05 +00:00
b9f84f6db5 feat: enhance Lua and rendering components with new bindings and tests 2025-12-30 01:21:58 +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
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
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
de20d96a82 feat(build): ensure minLevel is set from indexEntry in package registry 2025-12-30 00:09:55 +00:00
fe5b4ce0a9 feat(types): add minLevel property to PackageDefinition for permission management 2025-12-30 00:09:33 +00:00
d9a562f09b feat(JsonEditor): update types for value, onSave, and schema props to JsonValue
feat(TabContent): refine types for onSchemasChange, onWorkflowsChange, and onLuaScriptsChange props
2025-12-30 00:09:24 +00:00
5bca85b5a9 feat(lua-ui): remove Lua UI example form and login page implementations 2025-12-30 00:07:35 +00:00
8190255e7c feat: Refactor package installation and validation scripts
- Updated ContactForm example to remove type casting on handleInputChange.
- Enhanced package installation scripts with type definitions for better type safety.
- Implemented package uninstallation and installation checks with improved type definitions.
- Added new Lua scripts for admin settings, code editor features, and user management.
- Introduced schema editor field types and validation rules for form inputs.
- Created social feed components and workflow editor nodes for enhanced functionality.
- Developed layout modules for various UI levels, including admin and supergod panels.
2025-12-30 00:05:03 +00:00