-
Notifications
You must be signed in to change notification settings - Fork 518
feat: Add open folder option to MediaView #690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat: Add open folder option to MediaView #690
Conversation
|
|
WalkthroughThe pull request uncomments the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
|
|
Hello. |
Summary
This PR adds an “Open Folder” feature to the MediaView component.
It allows users to quickly open the directory of the currently viewed image, improving navigation and user experience.
Changes Included
Added a new handler to open the folder using openDir from @tauri-apps/plugin-opener.
Integrated the action inside MediaView.tsx.
Updated UI logic to support invoking the folder-opening operation.
Updated imports and TypeScript types as needed.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.