Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365787 - Add a "View/Display" action on files to the navigator
Summary: Add a "View/Display" action on files to the navigator
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.3   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: 1.0 M1   Edit
Assignee: Susan McCourt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-06 13:50 EST by Mark Macdonald CLA
Modified: 2012-08-07 15:53 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Macdonald CLA 2011-12-06 13:50:39 EST
Orion 0.4 M1

It might be useful to provide a "View in browser" (or "Display") action on files.

This would just give you a link to the raw file location, and let your browser decide how to handle it. You could also right-click the link and hit "Save" to download the file.
Comment 1 Susan McCourt CLA 2012-07-24 17:07:48 EDT
Fixed with a6acf8803b261664ab540991ad729cf0b8796f5f.
I had a sample site with sound files and wanted to hear them.  So saying "View" seemed wrong, I just named the menu item "Raw".  There were several ways to go about this, but I ended up implementing it in the webEditingPlugin rather than hard code into fileCommands.
Comment 2 Susan McCourt CLA 2012-07-25 12:41:52 EDT
After talking to Libing a bit...wondering if there's value to making this link point to a visual plugin that shows the raw file in an iframe.  This way you would have the breadcrumb, related pages, etc....
Comment 3 libing wang CLA 2012-07-25 12:47:02 EDT
(In reply to comment #2)
> After talking to Libing a bit...wondering if there's value to making this link
> point to a visual plugin that shows the raw file in an iframe.  This way you
> would have the breadcrumb, related pages, etc....

Yes, it is valuable. 
Sometimes searching for an image file, I just wanted to have a chance to look at the git log but the search dialog can't do this even if I can hit a png file. This will at list build a "bridge" for me to easily go further.
Comment 4 John Arthorne CLA 2012-08-03 16:23:44 EDT
(In reply to comment #1)
> I had a sample site with sound files and wanted to hear them.  So saying
> "View" seemed wrong, I just named the menu item "Raw".

When trying this out, "Raw" didn't come across as a descriptive name for something in an "Actions" list. How about "Show in Browser" or "Open with Browser"?
Comment 5 Susan McCourt CLA 2012-08-07 15:53:55 EDT
(In reply to comment #4)
> (In reply to comment #1)
> > I had a sample site with sound files and wanted to hear them.  So saying
> > "View" seemed wrong, I just named the menu item "Raw".
> 
> When trying this out, "Raw" didn't come across as a descriptive name for
> something in an "Actions" list. How about "Show in Browser" or "Open with
> Browser"?

I was following the lead of web interfaces like github or eclipse git, where you typically have a "Raw" link to the file outside of the web app itself.  I don't mind changing it, what do others think?