feat: added opacity and blur#143
Conversation
👷 Deploy request for appcut pending review.Visit the deploys page to approve it
|
WalkthroughThis change introduces a new clip effects system to the editor, enabling blur and opacity adjustments per clip. It adds a Zustand effects store, updates the properties panel for interactive effect controls, applies effects in the preview panel, and implements FFmpeg utilities to process blur and opacity on video files. The properties panel is also re-enabled in the editor layout. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant PropertiesPanel
participant useEffectsStore
participant PreviewPanel
User->>PropertiesPanel: Adjusts blur/opacity sliders
PropertiesPanel->>useEffectsStore: updateClipEffect(trackId, clipId, effectType, value)
useEffectsStore-->>PropertiesPanel: Updates state
PropertiesPanel-->>PreviewPanel: Effects state changes
PreviewPanel->>useEffectsStore: getClipEffects(trackId, clipId)
useEffectsStore-->>PreviewPanel: Returns effect values
PreviewPanel-->>User: Renders clip with updated blur/opacity
Possibly related PRs
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (5)
🔇 Additional comments (15)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
update and merge into staging |
Description
added blur and opacity feature
Implemented CSS-based live preview for instant visual feedback
Added FFmpeg functions for high-quality blur and opacity processing during export
Fixes # (issue)
Type of change
How Has This Been Tested?
Manual Testing Performed:
Test Configuration:
Screenshots (if applicable)
Add screenshots to help explain your changes.
Checklist:
Additional context
Add any other context about the pull request here.
Summary by CodeRabbit
New Features
Enhancements