Skip to content

Use the dedicated ICON_CONNECTOR in the dashboard to represent a connector. #291

@sbraconnier

Description

@sbraconnier

When the NextGen Team introduced Channel Groups, they unintentionally started using the ICON_CHANNEL icon to represent a connector in the dashboard tree table. They had used the ICON_CONNECTOR before, as we can see in the DashboardPanel class, line 349:

dashboardTable.setLeafIcon(UIConstants.ICON_CONNECTOR);

The current behavior shows this:

Image

When is should show this:

Image

It may be fixed in the TagTreeCellRenderer class by changing this block (line 108):

if (status.getStatusType() == StatusType.CHANNEL) {
    icon = UIConstants.ICON_CHANNEL;
    channel = true;
}

to this:

if (status.getStatusType() == StatusType.CHANNEL) {
    icon = UIConstants.ICON_CHANNEL;
    channel = true;
} else if (status.getStatusType() == StatusType.SOURCE_CONNECTOR || status.getStatusType() == StatusType.DESTINATION_CONNECTOR) {
    icon = UIConstants.ICON_CONNECTOR;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions