zowe / zlux

The top-level superproject for zLUX. zLUX includes the Zowe Desktop framework in addition to several built-in apps and an example server implementation.
Eclipse Public License 2.0
39 stars 42 forks source link

Enhancement: Allow launching of the file editor passing in the file path and with just the editor pane showing #621

Open Joe-Winchester opened 3 years ago

Joe-Winchester commented 3 years ago

The Zowe desktop allows apps to be opened in their own browser tab, together with a URL that allows the link to be bookmarked, e.g.

https://<host>:8665/ZLUX/plugins/org.zowe.zlux.bootstrap/web/?pluginId=org.zowe.editor&showLogin=true

This shows the navigator together with the monaco viewer/editor pane.

In some scenarios talking to customers they have wanted to have a persistent URL that includes the file path, and is able to open the editor without the navigator and the monaco viewer/editor full screen. This could be useful to share in e-mails, instant messengers, and other tools. That way a USS or PDS member could just be clicked, and opened.

It could also be good to generate the URL from the file editor with a share icon (similar to on phone apps) that could copy the URL for a particular file from the pop-up menu into the clipboard.

A stretch goal could be to have the line number in the URL also, so that someone could create an e-mail that is "go to this file at this line", again with the pop-up at a file line menu allowing this to be created easily

DivergentEuropeans commented 3 years ago

I have a student who will be exploring Editor things as part of his Open Source college course. Thanks for this issue, this looks like a phenomenal one to start with @Joe-Winchester 👍

1000TurquoisePogs commented 3 years ago

Looks like this work was merged by @hayman35 (which PR?)

1000TurquoisePogs commented 3 years ago

This one: https://github.com/zowe/zlux-editor/pull/205

1000TurquoisePogs commented 3 years ago

Closed prematurely, there are multiple requests in this ticket.