Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Lead:  Shani Laendler (Unlicensed) -  

Status
colourYellow
titleongoing
 

Table of Contents

Description

<< Short description of the component and when it is used >>

...

Table of Contents

Description

A widget is a container element which holds a distinct set of content. They are used to organise elements into Layouts and Dashboards within the main workspace.

Image AddedImage Added
Image AddedImage Added

Usage & Behavior

General guidelines

Structure

  1. Header:

    1. Widget name and additional information

    2. Actions: action icons and/or action menu

  2. Content area

Placement and Positioning

A widget can be placed anywhere in a page.

Its location on the page and the location of other widgets will determine the possible expansion directions

Content

...

<<Including labels, microcopy, number of items, order of items etc.>>

...

Widget header is aligned left.

...

Each widget consists of:

  • a header, which includes:

    • either:

      • a widget title, with or without additional information, or

      • Tabs (see below).

    • widget controls (optional), including Icon Buttons and an Action Menu (see below).

    • a collapse/expand icon to the left of the title (optional - not to be used within customisable dashboards).

  • the content area.

Widget Title

  • The widget name will be aligned to the left.

  • Additional information (if exists) will be aligned to the widget name, separated by a line separator. It should be short and informative.

  • Avoid presenting a long description that will not be presented to its full under various responsive states.

  • When there’s not enough space to show the full information, it

  • Where space is constrained, the widget name and the additional information will be truncated.

    The

    In this case, the full information (both name and additional information) will be presented in

    tooltip.
  • Action items:

    • Includes only actions that are widget-related and NOT content-related (e.g. expand/collapse widget, maximize widget, delete widget, configure widget, etc.)

    • Actions are presented in hover only

    • Only up to 3 main actions will be presented, represented with icon buttons. additional, secondary actions will be presented in an actions menu.

    • In some cases all actions can be presented in the action menu, especially when no action is a primary or important or when space is constrained:

      Image Removed

Internal Logic

<<For example, controls dependencies in a form>>

  • In hover, the additional information should be truncated when space is constrained:

    Image Removed
  • Expand-collapse: in some cases the widget can be collapsed. This option will be available from the action buttons area.
    The widget will be collapsed and expanded in animation

    Image Removed

States

<<e.g. active disabled, error, hover, temporary (spinner size), empty etc...>>

...

State

...

Image

...

Comment

...

<<Can be splitter to several if needed e.g. https://kanasoftware.jira.com/wiki/spaces/UserExp/pages/916130232/Primary+Regular+and+emphasised#PrimaryRegularandemphasised-States >>

Interaction

<<for example, how to change a value – type, arrows, use slider>>

<<use Click target to describe the interaction>>

Validations and errors

<<used for specific components e.g. slider>>

Transitions

<<Used to describe transitions or animations the occurs in any of the interaction stages>>

Best practices

<<e.g. Slider should display a label its on>>

Use:

  • <…>

  • <…>

Don’t use

  • <…>

  • <…>

Future Version (TBD)

< Edge cases, uncertain aspects, incomplete description>

  • <…>

  • <…>

Accessibility compliance

<<In general each component should be A11y complied,  please follow the 3 guidelines linked below. At the very least we should document that each component is in compliance with each of the 3>>

Focus management

<<Does this component/Pattern requires specific handling?>>

See general guidelines described in /wiki/spaces/UX/pages/308969693

Screen reader support 

<<Does this component/Pattern requires specific handling?>>

See general guidelines described in /wiki/spaces/UX/pages/308248620

Contrast & size compliance

<<Does this component/Pattern requires specific handling?>>

...

Image AddedImage Added

Widget controls

  • Only controls that relate to the widget itself may appear in the header area. These include:

    • maximize, such as into a Popup or separate page.

    • expand/collapse (not to be used within customisable dashboards).

    • add, remove, and resize (only in customisable dashboards).

    • configuration.

  • Content-related actions will be presented in a toolbar within the content area.

  • All widget controls (except for expand/collapse) are aligned to the right of the header area, and may include up to 3 elements, including:

    • Icon Buttons, usually used for primary actions.

    • an Action Menu, usually used for secondary actions. Where there are no primary actions, all widget controls may be presented in one action menu (without any icon buttons).

Tabbed Widgets

  • Different content types can be gathered under a single widget using Tabs. In this case:

    • tabs replace the widget title and any additional information.

    • any widget controls refer to the widget as a whole (and not to each tab individually).

Image AddedImage Added

Placement and Positioning

A widget can be placed anywhere within the main workspace.

  • For standard pages, see Layouts for guidance on how to arrange widgets within the workspace.

  • For data overview pages, see Dashboards.

States

State

Image

Regular

Image Added

Hover (only when draggable)

Image Added

Active (only when draggable)

Image Added

Focused

Image Added

Edge Cases

State

Image

Empty state

Image Added

Loading…

Image Added

Loading error

Image Added

Interaction

Expand/Collapse

Clicking the expand/collapse icon will show or hide the widget content using an animation. In this case the workspace layout may be changed.

Note: expand/collapse may not be used for widgets within a customisable Dashboard.

Expanded

Collapsed

Image AddedImage Added

Drag and drop (customisable dashboards only)

  • Hovering over the widget will switch the widget to the hover state.

  • Hovering over the header area (including the handle) will change the mouse cursor to a dragging state.

  • The user can drag the widget to a new location.

See Dashboards and Drag and Drop for more information.

Note: widgets not within a customisable dashboard cannot be moved.

...

Maximize

  • Widgets may include a maximize option to show the content in a larger space, such as a Popup or separate page.

Validations and errors

  • Widgets has no special validations.

  • When there are errors in the content area of a collapsed widget, an indicator will appear next to the widget title.

...

Transitions

Expand and collapse will be animated.

Best practices

Use:

  • for all content containers within the main workspace.

  • in dashboards.

Don’t use:

  • scroll within widgets, where possible. Instead:

    • make sure the allocated space is appropriate for widgets which contain a lot of data.

    • limit the content shown, and include an option to show the full content in a larger space such as a Popup or separate page.

General

  • Widget title and additional information should be short and informative. Avoid long text that will not be fully presented in various responsive states.

Accessibility compliance

Unless otherwise specified, see our general compliance information in Fundamentals - Accessibility.

Responsive design

Verint products should support all devices down to the common tablet size (960px width). For general guidelines, see Fundamentals - Responsive design.

  • The layout of the content within each widget should fluidly respond to its width. This may include changing text, graphics, table, and spacing sizes.

  • Where possible, avoid using internal scroll within widgets, either vertical or horizontal.

  • Where widget size is limited:

    • use Tooltips for parts which cannot be fully displayed, e.g. truncated headers and data labels.

    • reduce the amount of content shown, and include an option to show the full content in a larger space such as a Popup or separate page.

See Layout workspaces or Dashboards for guidance on the responsive behavior of widgets relative to one another.

Design

Zeplin link

Screen thumbnail

<<Short Zeplin link. You
Use this
Image Removed>>

<<Screen with 200 width>>

Code

...

Code

...