Skip to content

Conversation

@datlechin
Copy link

@datlechin datlechin commented Jan 28, 2026

Summary

  • Adds a "Reveal in Finder" (macOS) / "Reveal in File Explorer" (Windows) / "Reveal in File Manager" (Linux) option to the collections dropdown menu in the Workspace Overview page

Description

This PR adds the ability to quickly reveal a collection's folder in the native file manager directly from the Workspace Overview collections list.

The implementation reuses existing infrastructure:

  • Uses the existing showInFolder Redux action
  • Uses the existing renderer:show-in-folder IPC handler which calls Electron's shell.showItemInFolder()
  • Uses the existing getRevealInFolderLabel() utility for OS-specific labels

Changes

  • Added IconFolder import from @tabler/icons
  • Added showInFolder action import from Redux store
  • Added getRevealInFolderLabel utility import for platform-specific labels
  • Added handleShowInFolder handler function
  • Added the menu item to the collection dropdown (between "Share" and "Remove")

Screenshots

The menu item appears in the collection card dropdown with the appropriate label based on the user's operating system.

Contribution Checklist

  • I have read the contributing guidelines
  • My code follows the established code style of this project
  • I have tested my changes locally

Summary by CodeRabbit

Release Notes

  • New Features
    • Added a dropdown option in the collections menu that allows users to reveal and navigate to collection folders directly from the application.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 28, 2026

Walkthrough

A "Reveal in folder" dropdown action was added to the CollectionsList component. The feature dispatches a showInFolder action with platform-specific labeling and includes error handling via toast notifications.

Changes

Cohort / File(s) Change Summary
Collections UI Enhancement
packages/bruno-app/src/components/WorkspaceHome/WorkspaceOverview/CollectionsList/index.js
Added dropdown option to reveal collection in folder; imported IconFolder, showInFolder action, and getRevealInFolderLabel utility; implemented handleShowInFolder to dispatch action and display toast on error; optimized loading check with arrow function.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

Suggested reviewers

  • helloanoop
  • lohit-bruno
  • bijin-bruno

Poem

📁 A folder revealed in the light,
Collections now visible, just right,
Dropdown actions aligned with care,
Toast notifications floating through air! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main feature addition: a 'reveal in file manager' option for workspace collections. It directly corresponds to the primary change in the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1 participant