Skip to content

Feature/113 get custom media working#121

Merged
felix-schultz merged 8 commits intodevfrom
feature/113-get-custom-media-working
Jul 20, 2025
Merged

Feature/113 get custom media working#121
felix-schultz merged 8 commits intodevfrom
feature/113-get-custom-media-working

Conversation

@felix-schultz
Copy link
Copy Markdown
Member

This pull request introduces significant changes across multiple areas, including dependency management, refactoring of image processing logic, and enhancements to the frontend UI for managing application workflows. Below is a summary of the most important changes:

Dependency Management

  • Added new dependencies (image, imageproc, webp) to Cargo.toml for image processing functionality.
  • Modified dependencies in apps/backend/aws/media-transformer/Cargo.toml to use workspace versions (image.workspace, imageproc.workspace, webp.workspace, etc.) for better dependency management. [1] [2]

Backend Refactoring

  • Replaced local image processing functions (is_supported_image_format, resize_image, encode_as_webp) with calls to the flow_like_types::images module, centralizing image-related logic. [1] [2] [3] [4]
  • Added a Cache-Control metadata header to S3 uploads to improve caching behavior for webp images.

Frontend Enhancements

  • Refactored the Page component in apps/desktop/app/library/config/flows/page.tsx to modularize UI elements into new components (PageHeader, CreateFlowDialog, StatsOverview, BoardsSection, etc.) for improved readability and maintainability. [1] [2] [3]
  • Replaced ContextMenu with BubbleActions for board actions, improving the user interface for managing boards. [1] [2] [3]

UI Improvements

  • Enhanced the breadcrumb navigation in apps/desktop/app/library/config/layout.tsx by adding a visibility badge to indicate the app's visibility status. [1] [2]

…indicators

- Improved thumbnail and icon upload handlers to include file type and size validation.
- Added loading indicators during upload processes for better user feedback.
- Updated UI components for thumbnail and icon uploads to display current images or placeholders.
- Refactored code for better readability and maintainability.
- Introduced a new BubbleActions component for enhanced action menus in the UI.
- Updated relevant imports and exports to include the new BubbleActions component.
- Refactor getBoardSettings to return IConnectionMode instead of string literals.
- Enhance StorageState to handle offline scenarios more gracefully and improve error handling.
- Introduce media management functions in app.rs for uploading, removing, and transforming media items.
- Add support for new media formats and ensure proper URL signing for media uploads.
- Update schema definitions to include new fields for app and lookup configurations.
- Modify frontend components to utilize new connection modes and improve UI interactions.
- Implement image processing utilities for resizing and encoding images to WebP format.
- Adjust app search query schema to accommodate new query parameters.
@felix-schultz felix-schultz merged commit e6151d5 into dev Jul 20, 2025
1 of 7 checks passed
@felix-schultz felix-schultz deleted the feature/113-get-custom-media-working branch July 20, 2025 09:39
@deepsource-io
Copy link
Copy Markdown

deepsource-io bot commented Jul 20, 2025

Here's the code health analysis summary for commits 2c9a490..09c8dc6. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource Docker LogoDocker✅ SuccessView Check ↗
DeepSource Rust LogoRust❌ Failure
❗ 35 occurences introduced
🎯 18 occurences resolved
View Check ↗
DeepSource JavaScript LogoJavaScript❌ Failure
❗ 72 occurences introduced
🎯 78 occurences resolved
View Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

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.

1 participant