Skip to content
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

feat(#1630) Add contextual menu entries to reveal and edit the selected collection items #1631

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

fredjeck
Copy link
Contributor

@fredjeck fredjeck commented Feb 19, 2024

Description

This PR fixes #1630 by adding new contextual menu entries (right-click menu) on collections and collections items which allow users to directly access the underlying files on the filesystem or edit it with their favorite editor.
This has been done using electron's built in openPath and showItemInFolder functions which are taking care of using the adequate features of the user's operating system

image

The following contextual menus have been added:

  • "Open Location" which reveals the selected item in the system's file explorer
    • Available on Collections, Folders and Requests
  • "Edit" which opens the system's default editor for the selected item
    • Available on Requests only
  • "Edit bruno.json" available on collection level only - opens the collection's bruno.json file in the system default editor

Contribution Checklist:

  • The pull request only addresses one issue or adds one feature.
  • The pull request does not introduce any breaking changes
  • I have added screenshots or gifs to help explain the change if applicable.
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.

Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.

Publishing to New Package Managers

Please see here for more information.

Its-treason added a commit to Its-treason/bruno that referenced this pull request Mar 14, 2024
@helloanoop helloanoop self-assigned this Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Add support for revealing collection items on the filesystem
3 participants