1591 Commits

Author SHA1 Message Date
07d803505a feat: implement theme structure with colors, typography, layout, and dark/light themes 2025-12-25 17:02:04 +00:00
63ec3ca1f7 feat: refactor theme structure by adding design tokens, component overrides, and updating mui-theme for better customization
chore: remove unused dependency 'cmdk' from package.json
2025-12-25 16:59:48 +00:00
b648837b8c refactor: remove unused UI components and implement MUI theme type extensions
- Deleted unused components: Skeleton, Slider, Sonner, Switch, Table, Tabs, Textarea, Toggle Group, Toggle, Tooltip.
- Added type extensions for MUI theme to support custom properties and design tokens.
- Updated MUI theme file to import type extensions.
2025-12-25 16:57:13 +00:00
ee83f2e3ff feat: add new UI components for Command Palette, Navigation, Pagination, Sheet, Sidebar, and their respective subcomponents
- Introduced Command Palette components including Command, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandSeparator, CommandShortcut, and useCommandShortcut hook.
- Added Navigation components such as Navigation, NavigationMenu, NavigationList, NavigationItem, NavigationTrigger, NavigationContent, NavigationLink, NavigationBrand, NavigationSeparator, NavigationSpacer, NavigationMobileToggle, and useNavigationDropdown hook.
- Implemented Pagination components including Pagination, SimplePagination, TablePagination, PaginationContent, PaginationItem, PaginationLink, PaginationEllipsis, PaginationPrevious, and PaginationNext.
- Created Sheet component with Sheet, SheetTrigger, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription, and SheetClose.
- Developed Sidebar components including Sidebar, SidebarHeader, SidebarContent, SidebarFooter, SidebarNav, SidebarSection, SidebarSeparator, and SidebarToggle.
- Updated index file to export all new components and types for easy access.
2025-12-25 16:54:39 +00:00
a2932725c3 feat: add custom Table component and refactor Select component to use MUI
- Introduced a new Table component with TableHeader, TableBody, TableFooter, TableRow, TableHead, TableCell, and TableCaption for better UI consistency.
- Refactored Select component to utilize MUI's Select, MenuItem, and FormControl for improved accessibility and styling.
- Created a centralized MUI theme with design tokens, typography, spacing, and component overrides for light and dark modes.
2025-12-25 16:54:22 +00:00
f3b810a7db test: add useAutoRefresh tests (18 tests) - timer, countdown, toggle 2025-12-25 16:36:42 +00:00
b6da0d1769 test: add auth tests (40 tests) - 5-level permission system, role access 2025-12-25 16:34:07 +00:00
829772e7c0 test: add page-renderer tests (16 tests) - permission checking, page registration 2025-12-25 16:33:21 +00:00
9c7ab5f2dc docs: mark declarative-component-renderer tests (41) in DECLARATIVE-UI-TODO 2025-12-25 16:29:44 +00:00
0e91d25ddf Add seed data initialization tests 2025-12-25 16:26:53 +00:00
1e58c2a2b8 fix: update components.test.ts expected values to match implementation
- Add missing className, styles, and events properties
- Test now matches actual ComponentConfig structure in components.ts
- All 325 tests pass
2025-12-25 16:23:39 +00:00
c136dcb602 fix: correct broken symlinks in frontends/nextjs/scripts
- Fix check-function-coverage.js pointing to wrong path
- Fix generate-test-coverage-report.js symlink
- Fix setup-packages.cjs symlink
- All now correctly point to ../../../tools/
2025-12-25 16:22:56 +00:00
c3fa4cf8da Add seed data component initialization tests 2025-12-25 16:22:44 +00:00
9f542d5894 test: add comprehensive package-glue.test.ts (45 parameterized tests)
- Test getPackage, getPackagesByCategory utility functions
- Test component/script/example retrieval functions
- Test checkDependencies logic for satisfied/missing deps
- Test installPackage/uninstallPackage database operations
- Test getInstalledPackages and isPackageInstalled
- Test exportAllPackagesForSeed for seed data generation
- Coverage improved: 84% → 91% statements
2025-12-25 16:21:56 +00:00
1d4e1f96be fix: resolve TypeScript errors in workflow-engine.test.ts
- Add createNode() and createWorkflow() helper functions for type-safe test data
- Replace all raw object literals with properly typed helper function calls
- Ensures WorkflowNode includes required 'position' property
- Ensures Workflow includes required 'edges' and 'enabled' properties
- All 276 tests pass with clean typecheck
2025-12-25 16:20:08 +00:00
2e420a99f2 Add password utils tests 2025-12-25 16:16:18 +00:00
98357d0381 test: add comprehensive lua-engine tests (51 parameterized cases)
- Add tests for basic Lua operations (numbers, strings, booleans)
- Add tests for table handling and context data access
- Add tests for function execution (simple, recursive, closures)
- Add tests for control flow (if/else, for/while loops)
- Add tests for logging (log/print capture)
- Add tests for error handling (syntax, runtime, explicit)
- Add tests for multiple return values and standard library
- Coverage improved from 62% to 89% for lua-engine.ts
- Overall coverage now at 83% (up from 63%)
2025-12-25 16:15:34 +00:00
b4350abb9e Add security scanner unit tests 2025-12-25 16:13:11 +00:00
749b8ecb80 test: add unit tests for DeclarativeComponentRenderer functionality 2025-12-25 16:12:28 +00:00
78d47d7ca0 test: add comprehensive workflow-engine tests (22 parameterized cases)
- Add tests for basic workflow execution (trigger, action, transform nodes)
- Add tests for condition evaluation and workflow short-circuit behavior
- Add tests for Lua node execution including script references and errors
- Add tests for security warnings capture and user context passing
- Add tests for complex multi-stage workflows with data flow
- Mark original TODO as resolved with test file reference
- All tests use parameterized it.each() pattern per project conventions
2025-12-25 16:09:39 +00:00
68bd86bf19 feat: add scripts for diagnosing and testing GitHub Actions workflows locally 2025-12-25 16:06:58 +00:00
b2379aee23 feat: add .actrc and .secrets.example files, enhance documentation, and implement pre-push git hook for workflow validation 2025-12-25 15:58:02 +00:00
3537211368 feat(todos): Add comprehensive TODO lists for various project areas
- Created TODO files for Testing, DBAL, Frontend, Packages, Database, and Lua Scripting.
- Updated README with a quick reference table for all TODO files and their priorities.
- Added specific tasks for improving testing coverage, implementing DBAL features, enhancing frontend components, and refining package management.
- Included documentation tasks to ensure thorough coverage and clarity across all areas.
- Implemented initial unit tests for the useAuth hook and improved password generation logic.
- Enhanced package loader functionality to support modular package seed data retrieval.
- Updated page renderer to include public role in permission checks.
- Added comments for future unit tests in workflow engine and other critical areas.
2025-12-25 15:47:15 +00:00
2126c72308 feat: add NotificationSummaryCard component and tests; enhance implementation analysis scripts 2025-12-25 15:19:27 +00:00
0e2d5bd032 feat: enhance DBAL integration with improved error handling and in-memory storage implementations 2025-12-25 15:04:20 +00:00
27db516098 feat: add simplified dbal-stub module for frontend development 2025-12-25 15:00:36 +00:00
77c64a621a fix: update dbal-client to use stub imports
Switch from non-existent @/dbal/ts/src to @/lib/dbal-stub
2025-12-25 15:00:00 +00:00
9df0a3d5bb fix: update dbal-client imports to use local stub 2025-12-25 14:59:54 +00:00
077c76a71c fix(lint): improve eslint ignore patterns for .next and coverage folders 2025-12-25 14:59:25 +00:00
53faf2e2f0 fix: add .next to eslint ignores
Build output directory was being linted causing false errors
2025-12-25 14:58:58 +00:00
81a1181d8d fix: add DBAL type stubs for TypeScript compilation
- Create comprehensive dbal.d.ts type declarations
- Install missing radix-ui and @types/node dependencies
- Remove @/dbal path mapping to prevent DBAL source compilation
- Fix package-loader.test.ts mockImplementation arg
- All unit tests pass (119/119)
- TypeScript typecheck passes
2025-12-25 14:57:47 +00:00
7fe98812a8 chore: add DBAL type stubs for frontend development
Type declarations for @/dbal/ts/src module when full DBAL is not linked.
Provides DBALClient, DBALConfig, and related interfaces.
2025-12-25 14:56:55 +00:00
210a7643fd chore: update dependencies and fix test mock
- Add missing radix-ui dependencies for shadcn/ui components
- Fix mockImplementation() to include callback in package-loader test
- Remove broken @/dbal/* alias from tsconfig (DBAL path needs reconfiguration)
- Add node types to tsconfig
2025-12-25 14:56:34 +00:00
b2adfa0357 fix: add useAuth hook and fix useGitHubFetcher API call
- Create useAuth hook for authentication state management
- Export useAuth and useIsMobile correctly from hooks/index.ts
- Fix listWorkflowRuns to listWorkflowRunsForRepo (correct Octokit API)
- Add level property to AuthUser interface for permission system
2025-12-25 14:56:13 +00:00
e15e6731ce fix: resolve failing unit tests
- Fix package-integration.test.ts import paths (../../ → ../../../../)
- Add localStorage mock to useKV.test.ts
- Use unique keys in falsy value tests to avoid KV store collisions
2025-12-25 14:52:42 +00:00
2573e91397 fix: resolve ESLint/TS config for frontends/nextjs
- Remove broken symlinks, create local config files
- Fix Next.js 16 lint command (removed 'next lint')
- Fix FormErrors interface → type alias (mapped type)
- Fix constant truthiness in utils.test.ts
- Update tsconfig.json for proper path resolution
- Install missing ESLint dependencies
2025-12-25 14:50:44 +00:00
8e627bc643 Add configuration files and scripts for Next.js frontend setup 2025-12-25 14:42:29 +00:00
e328aa37a6 Refactor CI/CD workflows to set working directory and cache paths for Next.js frontend
Add AuthProvider component for user authentication management
Implement users API route with DBAL integration
Create layout component for application structure and metadata
Add Level1Client component for navigation handling
2025-12-25 13:46:55 +00:00
bbaa14f0f9 Frontend got mashed up 2025-12-25 13:38:59 +00:00
123967cb91 tidy 2025-12-25 13:33:54 +00:00
b1986e43f4 tidy up project structure 2025-12-25 13:30:05 +00:00