feat: open videos in DaVinci Resolve + photo apps#6
Merged
Conversation
Add integration to open project media in external editing apps: - Photos: Lightroom Classic, AfterShoot - Videos: DaVinci Resolve Backend: - Extract common logic to open_in_external_app helper - Cross-platform support (macOS, Windows, Linux) - Opens RAW/Photos for photo apps, RAW/Videos for video apps Frontend: - Add "Open Photos In" section with Lightroom/AfterShoot buttons - Add "Open Videos In" section with DaVinci Resolve button - Consistent error handling with user alerts Code cleanup: - Refactor reduces 59 lines via DRY principle - Single source of truth for app launching logic
- Extract Windows exe paths to module constants (DRY) - Add doc comment explaining project structure + fire-and-forget pattern - Extract handleOpenInApp helper to reduce duplication - Simplify UI text to show app purpose vs redundant names Addresses PR review feedback
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Add ability to open project media in external editing apps. Photographers/videographers need quick access to launch Lightroom/AfterShoot for photos and DaVinci Resolve for videos directly from project view.
Implementation information
Backend (Rust)
file_system.rs (155 lines, -59 via refactor):
open_in_external_apphelper function extracts common logicopen_in_lightroom- opens RAW/Photos in Lightroom Classicopen_in_aftershoot- opens RAW/Photos in AfterShootopen_in_davinci_resolve- opens RAW/Videos in DaVinci Resolveopen -a), Windows (exe paths), Linux (resolve path)lib.rs:
Frontend (React/TypeScript)
Projects.tsx (+51 lines):
Architecture
Verification
✓ Frontend format/lint
✓ Rust clippy/fmt
✓ Tests passed
✓ Release build succeeded
Supporting documentation
Related to project workflow automation. Complements existing import/backup features with editing app integration.