Skip to content

Dev#135

Merged
felix-schultz merged 281 commits intoalphafrom
dev
Aug 6, 2025
Merged

Dev#135
felix-schultz merged 281 commits intoalphafrom
dev

Conversation

@felix-schultz
Copy link
Copy Markdown
Member

This pull request introduces several improvements and additions to project configuration, documentation, and workflow automation. The most significant changes include new documentation and contribution guidelines, enhanced CI/CD workflows for building OpenCV on multiple platforms, and updates to Rust workspace configuration and dependencies. Additionally, new coding standards and issue templates have been added to streamline contributions and maintain code quality.

Documentation and Contribution Guidelines:

  • Added a comprehensive CONTRIBUTING.md to guide new contributors through setup, coding, and reporting issues.
  • Introduced a clear CODE_OF_CONDUCT.md outlining community expectations and reporting mechanisms.
  • Added project-wide coding standards for general code, TypeScript/React, and Rust node creation in the .github/instructions directory. [1] [2] [3]

CI/CD and Workflow Enhancements:

  • Added a new .github/workflows/opencv.yml workflow to automate building and packaging OpenCV static libraries for Linux, macOS, and Windows targets.
  • Improved the alpha release workflow to pass platform-specific Tauri config files during builds for better multi-platform support.
  • Updated the environment setup action to remove an unnecessary llamafile check and clean up package installation. [1] [2]

Rust Workspace and Dependency Updates:

  • Expanded the Rust workspace in Cargo.toml to include new backend and API packages, and added a wide range of dependencies for web, database, AWS, and image processing support.
  • Added a .cargo/fast-compile.toml to optimize Rust compilation for different targets and enable faster builds.

Project Structure and Ignore Rules:

  • Updated .dockerignore and .taurignore to exclude additional directories and configuration files, reducing build context size and improving security. [1] [2]

Issue Templates:

  • Added GitHub issue templates for bug reports and feature requests to standardize community feedback and requests. [1] [2]

felix-schultz and others added 30 commits May 31, 2025 02:00
- Cleaned up imports and improved code formatting in `bit.rs` and `profiles.rs`.
- Updated `lib.rs` to include the HTTP plugin for enhanced functionality.
- Modified `bun.lock` to include new dependencies and updated versions.
- Enhanced API routes in `lib.rs` and `routes.rs` to support language parameters.
- Implemented new metadata handling in `bit.rs` to manage bit metadata more effectively.
- Added `push_meta` route to handle metadata updates for bits.
- Improved `search_bits` functionality to filter results based on language.
- Created a new `Slider` component in the UI for better user interaction.
- Updated package dependencies in `package.json` and `schema/index.ts` for better type management.
…ile template

- Implemented `GET /admin/profiles/media` to generate signed URLs for profile images.
- Added `PUT /admin/profiles/{profile_id}` to upsert profile templates, allowing for both creation and updates.

refactor(bit): clean up bit routes and improve metadata handling

- Removed unused delete and upsert routes from bit module.
- Enhanced metadata handling in bit retrieval and search functions.

fix(ui): improve BitCard component and add type icons

- Updated BitCard to handle missing metadata gracefully.
- Introduced TypeToIcon component to display icons based on bit types.

style: standardize code formatting and clean up imports

- Reformatted code for consistency and readability across various files.
- Removed unnecessary imports and added missing ones where applicable.

chore: update protobuf and schema generation

- Adjusted protobuf module imports and metadata handling.
- Improved schema generation for better type definitions.
- Updated `get_apps` to include language filtering and metadata retrieval.
- Introduced `search_apps` endpoint for searching apps with various filters and sorting options.
- Modified `upsert_app` to handle app visibility and status updates.
- Refactored app metadata handling in `search_bits` and `get_bit` routes.
- Added new enums for AppStatus and AppVisibility to improve app state management.
- Updated protobuf definitions to include new fields for app metadata and status.
- Enhanced app schema generation to reflect recent changes in app structure.
- Improved test data for embedding bits to align with new app metadata structure.
…and adjust state handling

feat(auth): integrate TauriBackend for authentication context management
feat(tauri): enhance TauriBackend to manage authentication context
feat(api): implement caching for profile templates retrieval
feat(core): refactor Hub methods to construct URLs and improve profile fetching
fix(http): log response details for better debugging
- Implemented AppCard component with extended and small variants.
- Added star rating display and visibility indicators for apps.
- Integrated metadata handling for app icons and descriptions.
- Enhanced UI with hover effects and responsive design.

feat: refactor BitCard component for improved UI/UX

- Converted BitCard to use Card and CardContent components for better structure.
- Added hover effects and action buttons for user interactions.
- Improved layout with dynamic visibility of action buttons.
- Enhanced type indicators and installed status display.

fix: update BitHover component for better data handling

- Refactored BitHover to use useCallback for fetching size.
- Improved layout and styling for better user experience.
- Added language badges and file size display.

feat: add app search query schema

- Introduced IAppSearchQuery interface for app search functionality.
- Defined IAppCategory and IAppSearchSort enums for categorization and sorting.

feat: extend app schema with additional properties

- Added avg_rating, download_count, and visibility properties to IApp interface.
- Introduced IAppStatus and IAppVisibility enums for app state management.

feat: enhance backend state management

- Added updateApp method to IBackendState interface for app updates.
- Improved download manager to check backend capabilities before downloading.

fix: minor adjustments in profile schema and download manager
- Removed the base64FilesToString function and adjusted the send function to directly pass images as an array.
- Added a link to the AI Playground in the main application page.
- Updated package.json scripts for better Windows and Linux support.
- Added multiple binary files for Linux and Windows ARM/x64 architectures.
- Removed obsolete Linux configuration and added new configurations for Linux x64 and Windows ARM/x64.
- Enhanced the AI invoke function to handle images more effectively by introducing a new Content structure.
- Updated local model to include health check functionality and improved server startup logic.
- Refactored history message handling to support new image URL structure and optimized image processing.
…ty and maintainability

- Refactored JSX structure in AppCard for consistent formatting and indentation.
- Enhanced conditional rendering for visibility and price badges in AppCard.
- Updated BitCard to streamline the layout and improve hover effects.
- Organized imports in BitCard for clarity and removed unused imports.
- Improved action button visibility and functionality in BitCard.
- Added gradient overlay for visual appeal in BitCard.
- Introduced EventCard and EventForm components for displaying and managing events.
- Implemented EventTypeConfig for configuring event-specific settings.
- Added new interfaces for event payloads (IEventPayload, IEventPayloadChat, IEventPayloadMail, IEventPayloadAPI).
- Updated IApp interface to include events array.
- Enhanced backend state management with event-related methods (getEvent, getEvents, upsertEvent, deleteEvent).
- Created new event schema (IEvent, ICanaryEvent) for better event structure.
- Updated global styles for improved UI consistency.
- Refactored existing components to support new event features and ensure compatibility.
feature / extended onnx inference
…onfiguration UI, and implement chat interface
- Added FileManagerDialog component for managing file uploads with a hierarchical view.
- Introduced MessageComponent for displaying chat messages with user and bot differentiation.
- Created ChatWelcome component to provide a welcoming interface with example prompts and fuzzy search functionality.
- Updated interfaces and payload schemas to support new features such as voice input/output and example messages.
- Enhanced index exports to include new components and types.
- Added `attachment.tsx` to manage file attachments, including conversion to attachment format and rendering previews.
- Introduced `chat-db.ts` to define message and attachment types, utilizing Dexie for local storage.
- Updated `chat.tsx` to support new message structure and manage local message state.
- Refactored `chatbox.tsx` to use a new `ISendMessageFunction` type for sending messages with attachments.
- Enhanced `message.tsx` to display attachments with appropriate previews and handling for different file types.
- Implemented fullscreen viewing for images and files in messages.
- Modified `welcome.tsx` to align with new message sending structure.
- Updated `backend-state.ts` to include a method for converting files to URLs.
… system

- Added `ISession` interface for session tracking in chat.
- Updated `IMessage` interface to include rating and rating settings.
- Introduced `ChatHistory` component for managing chat sessions with search and delete functionality.
- Enhanced `MessageComponent` to support user feedback with thumbs up/down and additional feedback dialog.
- Implemented `Container` component for responsive sidebar management.
- Created `Header` component for event selection and toolbar actions.
- Added `useSetQueryParams` hook for managing query parameters in navigation.
- Updated backend state interface to include `upsertEventFeedback` method for handling feedback submissions.
- Introduced EVENT_CONFIG to manage event mappings for chat, mail, API, and simple actions.
- Created configuration interfaces for SimpleChat, UserMail, API, and Webhook.
- Updated ChatInterface to support memoization and improved loading states for messages.
- Enhanced event form to handle dynamic event types and configurations based on selected nodes.
- Refactored interfaces to include new configuration props and types for better type safety.
felix-schultz and others added 29 commits August 2, 2025 23:55
…nent

refactor: enhance dialog structure and formatting in templates page
fix: correct credential handling in board and event state classes
refactor: standardize spacing and formatting in storage state component
refactor: improve readability of chat interface and welcome components
refactor: adjust theme loading function for better compatibility
…ries

Feature/129 duplicate catalog entries
@felix-schultz felix-schultz merged commit 5d47a94 into alpha Aug 6, 2025
1 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants