Hub 2024.1 Help

Manage Custom Widgets

The Custom Widgets page lets you manage the status of custom widgets in a central location. Here, you see all the widgets that have been uploaded manually to Hub and a collection of compatible widgets from JetBrains Marketplace.

To access this page, open the Administration menu and select Custom Widgets from the Server Settings section.

Custom widgets list

The following actions are available in the header of the Custom Widget page:

Action

Description

New widget

Opens the New widget dialog. Here, you can upload a new custom widget to Hub. For instructions, see Upload a New Custom Widget.

Disable/Enable

Toggles the status of all the selected widgets. For more information, see Disable a Custom Widget.

Delete

Deletes all the selected widgets. For more information, see Delete a Custom Widget.

Update

For widgets that were installed from the JetBrains Plugins Repository, this button updates the widget to the latest available version.

Widgets playground

Opens the widgets playground page. Here, you can test the functionality of widgets that are under construction. For more information, see Test a Custom Widget.

Details

Shows and hides the Details panel in the sidebar.

Widget List

The widget list is divided into two sections.

  • The Installed Widgets section displays the widgets that are currently installed in Hub. This can be a combination of widgets that have been uploaded manually or installed from JetBrains Marketplace.

  • The Available in Repository section shows widgets that are available for installation from the JetBrains Plugins Repository.

    The list is filtered to show only widgets that are compatible with your Hub installation version. If your Hub installation is out of date, there may be additional widgets in the marketplace that are only compatible with later versions. To see a complete list of available widgets, browse the marketplace online.

The following attributes are displayed for each widget in the list:

Attribute

Description

Icon

The image that is shown as the widget icon on the dashboard or project overview page.

Name

The name of the custom widget. This attribute is shown in the Add widget drop-down list on a dashboard or project page.

The first part of the widget description is shown next to the name. To see the full description, open the Details panel in the sidebar.

Widget status

A collection of badges to the right of the name provide various status indicators. The following badges are used:

  • enabled — The widget is enabled and available for use on dashboards and project overview pages.

  • disabled — The widget has been installed but is not available for use. For more information, see Disable a Custom Widget.

  • manual upload — The widget was uploaded manually to Hub. Automatic updates from the marketplace are not supported. Updates to the widget must be applied manually as well. For more information, see Update a Custom Widget.

  • outdated — A new version of the widget is available from the marketplace. The Available version is shown in the sidebar. The update can be applied directly on the Custom Widgets page.

Version

The current version of the custom widget.

Author

The name and email address of the developer who created the widget.

Allowed Applications

A list of the applications that allow the custom widget to pull and display information from a connected service. The complete list of accessible services is displayed in the Details panel.

Upload a New Custom Widget

If you want to use a widget that has not been uploaded to JetBrains Marketplace, it must be uploaded manually to Hub. You can also use this option to install widgets that you have downloaded from the marketplace when Hub is installed on a private network.

To upload a new custom widget:

  1. In the Server Settings section of the Administration menu, select Custom Widgets.

  2. Click the New widget button.

    • The New Widget dialog opens.

    New custom widget
  3. Drag the ZIP file for the custom widget to the drop zone or click the drop zone to select the ZIP file from your local directory.

    • Hub checks the ZIP archive to make sure that it conforms to the size limitations. These limitations apply to all uploads, including custom widgets that have been downloaded from the JetBrains Plugins Repository. For details, see Size Limitations.

    • Hub displays the attributes that are specified in the widget manifest file. This includes a list of services that are accessed by the widget and the supported versions of each application.

    New custom widget details
  4. Click the Upload button.

    • The Custom Widgets page for the new widget opens.

    • The custom widget is enabled and available for use.

Install a Widget from JetBrains Marketplace

JetBrains Marketplace is integrated directly with your Hub installation. This means that you can install widgets from the marketplace without leaving Hub. A list of widgets that are compatible with your Hub installation version is shown in the Available from JetBrains Marketplace section of the widget list.

Install widget from JetBrains Marketplace.

To establish a connection to the marketplace, your Hub installation must have access to the Internet. If your Hub installation is only accessible from inside a private network, you cannot access the marketplace directly. However, you still have the option to download widgets from the marketplace and upload them manually to your Hub installation.

To install a widget from the marketplace:

  1. In the Server Settings section of the Administration menu, select Custom Widgets.

  2. Select a widget in the Available from Repository section of the widget list. You can select multiple widgets.

  3. Click the Install button in the header.

    • The selected widget or widgets are added to the Installed Widgets section of the widgets list.

    • The selected widget or widgets are enabled and available for use.

Update a Custom Widget

The process for updating a custom widget differs for widgets that have been uploaded manually and widgets that were installed from the marketplace.

Update Manual Uploads

When you have extended the functionality of a custom widget that was uploaded manually, you can apply these updates to an existing widget. This means that users can access updated features without having to replace the widgets on their dashboards and project overview pages.

The manual upload badge in the widget list indicates that the widget has been uploaded manually and must be updated manually as well.

To update an existing custom widget manually:

  1. In the Server Settings section of the Administration menu, select Custom Widgets.

  2. Click the name of the widget that you want to update.

    • The widget profile opens in the Custom Widgets page.

  3. Click the Update widget button.

    • The Update Widget dialog opens.

    Upload new version
  4. Drag the ZIP file that contains the updated version of the custom widget to the drop zone or click the drop zone to select the ZIP file from your local directory.

    • Hub displays the attributes that are specified in the widget manifest file. This includes a list of all the services that are accessed by the widget and the supported versions of each application.

    Upload new version attributes
  5. Click the Update widget button.

    • Updates are applied to the existing widget.

    • Any additional functionality that is supported in the new version is immediately available.

Update Widgets from JetBrains Marketplace

Widgets that have been installed from the JetBrains Plugins Repository are automatically updated on a weekly basis. If the latest version from the marketplace hasn't been applied to your installation yet, you can pull updates directly into Hub.

The outdated badge in the widgets list indicates that a newer version of the widget is available. The Available version is shown in the sidebar.

To update a widget from the marketplace:

  1. In the Server Settings section of the Administration menu, select Custom Widgets.

  2. Select the widget that you want to update. If you have multiple widgets that are marked as outdated, you can select and update them all at once.

  3. Click the Update widget button in the header.

    • Updates are applied to the existing widget.

    • Any additional functionality that is supported in the new version is immediately available.

Disable a Custom Widget

If you no longer want users to work with a custom widget, but don't want to delete it from Hub, you can disable the widget indefinitely.

For example, there are problems or bugs with an existing widget that the developer would like to fix. You can disable the custom widget so users don't experience problems with the current behavior and enable the widget when the problems have been fixed in an updated version.

When a widget is disabled, users see a message that the widget was not found in the system. The edit and refresh controls are not visible. Instead, users see the option to remove the widget from their dashboard or project overview page.

Widget removed

To disable a custom widget:

  1. In the Server Settings section of the Administration menu, select Custom Widgets.

  2. Select the widget or widgets that you want to disable in the list.

    Disable widget
  3. Click the Disable button.

    • The selected widgets are disabled.

For disabled widgets, the option in the header and widget profile page changes to Enable and Enable widget respectively. Use these controls to reactivate disabled widgets.

Delete a Custom Widget

If you have custom widgets in Hub that are no longer supported, you can delete them. For example, when a custom widget displays information from an application that your team no longer uses.

When you delete a widget, users see a message that the widget was not found in the system. The edit and refresh controls are not visible. Instead, users see the option to remove the widget from their dashboard or project overview page.

To delete a custom widget:

  1. In the Server Settings section of the Administration menu, select Custom Widgets.

  2. Select the widget or widgets that you want to delete in the list.

    Delete custom widget
  3. Click the Delete widget button.

  4. Confirm the action in the dialog.

    • The selected widgets are deleted.

    • If the widget was uploaded manually, it is removed from Hub completely.

    • If the widget was installed from the marketplace, it is removed from the list of installed widgets and returns to the list of widgets that are available from the marketplace.

Last modified: 17 June 2024