Skip to content

Conversation

@debangi29
Copy link
Contributor

Fixed Issue #290
Similar Functionality as Show in folder and Open file in Search feature

image

Copy link
Contributor

@lrasmus lrasmus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking really good overall - sorry for the delay to look at this. More detail in the tagged comment about possible changes. Thanks!

if (asset) {
const filePath = asset.uri;
if (filePath) {
fileActions = (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we make a few modifications to the available actions here? One of these is a new request I did not think of originally, so it can be considered out of scope.

  1. For a folder, "Open File" works, but does the same action as "Show in Folder". We should hide the "Open File" action if the asset type is a folder
  2. For external resources, these options should not be available
  3. (New request) For external resources, because those would be a URL, the action could be "Open URL" or "Open Link"

If possible to address 1 & 2 in this PR, that would be great. Item 3 is expanding the scope of this request, but if you would be willing to tackle it that would be awesome.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure sir, I will fix this ASAP!!
Thanks :)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants