Extending and modifying the functionality for copying PV names and pasting them into the Data Browser #2972
Replies: 7 comments 6 replies
-
Note that you can drag & drop PVs. If you need to add 3 PVs like that, it's pretty straight forward to control-drag the first, then the second, then the third. |
Beta Was this translation helpful? Give feedback.
-
Instead of "Append PV Name" on the source end I'd add a more convenient way to "add PV" to the target side. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Would the "description" in the first dialog be pre-populated from the description in the PV metadata that's available for PV Access? What do you use for CA where that description is empty? |
Beta Was this translation helpful? Give feedback.
-
The sub-menu is bit overwhelming in my view. The description dialog could be triggered if user ticks a checkbox next to the sub-menu item text? This implies an additional click, but sub-menu would look cleaner. |
Beta Was this translation helpful? Give feedback.
-
How about a new top level context menu item: Append PV Name... |
Beta Was this translation helpful? Give feedback.
-
Does anyone object to the basic functionality I have proposed here? |
Beta Was this translation helpful? Give feedback.
-
Dear all,
At ESS we have a need for extending the functionality for copying PVs and pasting them into the Data Browser.
In particular, we have a need to copy multiple PVs from the Display Runtime, optionally annotating them with a label or comment, and pasting multiple PVs copied in this manner into the Data Browser with a single action. This would entail several changes to the existing functionality in Phoebus for copying PV names and pasting them into the Data Browser.
More concretely, we propose the following changes, and we would like to ask for feedback on these. This is of course only our current proposal, and we are happy to discuss this. I have categorised our proposed changes into the following three categories:
1. Extended support for copying PV names by right-clicking in the Display Runtime
We propose to extend the functionality available in the context-menu in the Display Runtime by introducing a sub-menu, which in turn contains the selectable functions:
(1.A) "Copy PV Name to Clipboard" (the old "Copy PV to Clipboard")
(1.B) "Copy PV Name to Clipboard with Description..." (new option)
(1.C) "Append PV Name to Clipboard" (new option; appends the PV Name on a new line to the existing clipboard contents)
(1.D) "Append PV Name to Clipboard with Description..." (new option)
(1.E) "Copy PV Name to Clipboard with Value" (the old "Copy PV with Value to Clipboard")
I.e., the current context menu-items "Copy PV to Clipboard" and "Copy PV with Value to Clipboard" would be moved into this sub-menu.
Options (1.B) and (1.D) would open a modal dialog into which a description can be entered. The default description is the name of the current OPI. What would be pasted into the clipboard is then of the form
<PV Name>,<Description>
(i.e., the description is separated by a comma,
from the PV name).2. Support for copying PV names in the Widget Info window
We propose to add support in the "Widget Info" window (which is the same as "Display Info" window) for copying PV names in the display/widget as follows:
3. Modified and extended functionality to paste several PV names (with an optional display name) into the Data Browser
We propose to modify and extend the functionality to paste several PV names into the Data Browser as follows:
,
. E.g.:PV-NAME,This is a display name
. (The idea is that the description added by the functionality in (1.B) and (1.D) is parsed as a display name when pasted into the Data Browser.)Beta Was this translation helpful? Give feedback.
All reactions