Skip to content

Conversation

@michelroegl-brunner
Copy link
Member

New Features

Inline Editing

  • Edit script names and container IDs directly in the table
  • Click 'Edit' button to enable inline editing mode
  • Save/Cancel buttons for each row
  • Real-time updates with proper validation

Manual Script Entry

  • Add pre-installed containers to the database
  • Form with script name, container ID, and server selection
  • Support for both local and SSH execution modes
  • Automatic status setting and validation

Improvements

  • Enhanced dark mode support with proper hover effects
  • Database updates to support script_name editing
  • API enhancements for better data management
  • Form validation and error handling

Use Cases

  • Track containers installed outside the system
  • Edit existing script entries for better organization
  • Manage pre-installed containers with full CRUD operations
  • Improved user experience with inline editing

Testing

  • All functionality tested and working
  • Dark mode compatibility verified
  • Form validation working correctly
  • Database operations successful

michelroegl-brunner and others added 5 commits October 6, 2025 14:13
- Reorganize control buttons into a structured container with proper spacing
- Add responsive design for mobile and desktop layouts
- Improve SettingsButton and ResyncButton component structure
- Enhance visual hierarchy with better typography and spacing
- Add background container with shadow and border for better grouping
- Make layout responsive with proper flexbox arrangements
* Add category sidebar and filtering to scripts grid

Introduces a CategorySidebar component with icon mapping and category selection. Updates metadata.json to include icons for each category. Enhances ScriptsGrid to support category-based filtering and integrates the sidebar, improving script navigation and discoverability. Also refines ScriptDetailModal layout for better modal presentation.

* Add category metadata to scripts and improve filtering

Introduces category metadata loading and exposes it via new API endpoints. Script cards are now enhanced with category information, allowing for accurate category-based filtering and counting in the ScriptsGrid component. Removes hardcoded category logic and replaces it with dynamic data from metadata.json.
Introduces a new Badge component with variants for type, updateable, privileged, status, execution mode, and note. Refactors ScriptCard, ScriptDetailModal, and InstalledScriptsTab to use the new Badge components, improving consistency and maintainability. Also updates DarkModeProvider and layout.tsx for better dark mode handling and fallback.
Introduces a new FilterBar component for ScriptsGrid, enabling filtering by search query, updatable status, script types, and sorting by name or creation date. Updates scripts API to include creation date in card data, improves deduplication and category counting logic, and adds error handling for missing script directories.
- Add inline editing for script names and container IDs in installed scripts table
- Add manual script entry form for pre-installed containers
- Update database and API to support script_name editing
- Improve dark mode hover effects for table rows
- Add form validation and error handling
- Support both local and SSH execution modes for manual entries
- Add installed scripts tab with filtering and execution capabilities
- Update scripts grid with better type safety and error handling
- Remove outdated test files and update test configuration
- Fix TypeScript and ESLint issues in components
- Update .gitattributes for proper line ending handling
- Fixed categoryNames type from (string | undefined)[] to string[] in scripts router
- Added proper type filtering and assertion in getScriptCardsWithCategories
- Added missing ScriptCard import in scripts router
- Ensures type safety for categoryNames property throughout the application
@michelroegl-brunner michelroegl-brunner merged commit a410aea into main Oct 6, 2025
4 checks passed
@michelroegl-brunner michelroegl-brunner deleted the feat/installed_scripts branch October 7, 2025 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants