Customizing Workbench

Site name

Use the Workbench.SiteName configuration option to set the site name rendered at the top of Workbench.

    Workbench:
      SiteName: Arvados Workbench

Welcome page

Use the Workbench.WelcomePageHTML configuration option to set the text that is rendered when a user arrives at the front page (and has not yet logged in).

    Workbench:
      WelcomePageHTML: |
        <img src="/arvados-logo-big.png" style="width: 20%; float: right; padding: 1em;" />
        <h2>Please log in.</h2>

        <p>If you have never used Arvados Workbench before, logging in
        for the first time will automatically create a new
        account.</p>

        <i>Arvados Workbench uses your information only for
        identification, and does not retrieve any other personal
        information.</i>

Inactive user page

Use the Workbench.InactivePageHTML configuration option to set the text that is rendered when a user logs in but is inactive.

    Workbench:
      InactivePageHTML: |
        <img src="/arvados-logo-big.png" style="width: 20%; float: right; padding: 1em;" />
        <h3>Hi! You're logged in, but...</h3>
        <p>Your account is inactive.</p>
        <p>An administrator must activate your account before you can get
        any further.</p>

Set the Workbench.BannerUUID configuration option to the UUID of a collection. This collection should be shared with all users.

    Workbench:
      BannerUUID: zzzzz-4zz18-0123456789abcde

Banner

You can have box pop up when users load Workbench to give information such as links to site-specific documentation or notification about anticipated downtime.

The banner appears when a user loads workbench and have not yet viewed the current banner text. Users can also view the banner after dismissing it by selecting the Restore Banner option from the Notifications menu.

The banner text (HTML formatted) is loaded from the file banner.html in the collection provided in BannerUUID.

Tooltips

You can provide a custom tooltip overlay to provide site-specific guidance for using workbench. Users can opt-out by selecting Disable Tooltips from the Notifications menu.

The tooltips are loaded from the file tooltips.json in the collection provided in BannerUUID.

The format of this file is a JSON object where the key is a CSS selector and the value is the text of the tooltip. Here is an example:

{
    "[data-cy=side-panel-button]": "Click here to create a new project!",
    "[data-cy=project-panel] tbody tr:nth-child(1)": "First element in the project list"
}

The first example adds a tooltip displaying “Click here to create a new project!” to the HTML node with the attribute data-cy="side-panel-button".

The second example adds a tooltip displaying “First element in the project list” by finding the project panel element, finding the table body element within the project panel, then matching the first table row.

Use the web developer tools offer by your browser to determine what identifiers are available and construct selections that will anchor your tooltips to the desired workbench components.


Previous: Install Workbench 2 Next: Set up a shell node

The content of this documentation is licensed under the Creative Commons Attribution-Share Alike 3.0 United States licence.
Code samples in this documentation are licensed under the Apache License, Version 2.0.