You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Alexander Klimetschek (JIRA)" <ji...@apache.org> on 2016/11/17 03:27:58 UTC

[jira] [Comment Edited] (FELIX-5417) Cannot copy paste component label in configMgr web console

    [ https://issues.apache.org/jira/browse/FELIX-5417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15672556#comment-15672556 ] 

Alexander Klimetschek edited comment on FELIX-5417 at 11/17/16 3:27 AM:
------------------------------------------------------------------------

Looks like the change would need to be somewhere in [webconsole/src/main/resources/res/ui/config.js|https://github.com/apache/felix/blob/trunk/webconsole/src/main/resources/res/ui/config.js].

I could imagine under "Configuration Information" at the bottom to add a new line "Name" above the PID.

That would be something like this in {{printConfigurationInfo()}} right before [the pid is added|https://github.com/apache/felix/blob/trunk/webconsole/src/main/resources/res/ui/config.js#L256-L264]:

{code:javascript}
parent.appendChild( tr( null, null, [
            td( "paddedCell", null, [
                text( "Name" ) // should be i18n-ized
            ]),
            td( "paddedCell", null, [
                text( obj.title )
            ])
        ])
    );
{code}


was (Author: alexander.klimetschek):
Looks like the change would need to be somewhere in [webconsole/src/main/resources/res/ui/config.js|https://github.com/apache/felix/blob/trunk/webconsole/src/main/resources/res/ui/config.js].

I could imagine under "Configuration Information" at the bottom to add a new line "Name" above the PID.

> Cannot copy paste component label in configMgr web console
> ----------------------------------------------------------
>
>                 Key: FELIX-5417
>                 URL: https://issues.apache.org/jira/browse/FELIX-5417
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>            Reporter: Alexander Klimetschek
>
> In /system/console/configMgr, when a dialog is open for a specific configuration, the name (label) of the configuration is displayed in the title, but cannot be selected and copied.
> This seems to be because the dialog widget reserves the title area for dragging the dialog.
> It is often necessary to copy this when sharing this information with colleagues, but also the configMgr list shows components by their name, not ID, so if you want to search them there, you need them name.
> A simple solution might be to simply include the name again somewhere in the dialog again, where copy/paste is easy.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)