Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.82 KB

File metadata and controls

32 lines (23 loc) · 1.82 KB

User Features

The connect widget uses user features to determine the behavior of the widget. Below is the structure of the user features object. Listed values are the defaults.

userFeatures

The userFeatures object is the user features that the widget is initialized with.

const userFeatures = [
  {
    feature_name: string,
    guid: string | null,
    is_enabled: boolean,
  },
]

User Features

Supported User Features
User Feature Description Data
SHOW_CONNECT_GLOBAL_NAVIGATION_HEADER When enabled, adds a back button to the top of the widget and gets rid of any explicit back buttons
{
 feature_name: 'SHOW_CONNECT_GLOBAL_NAVIGATION_HEADER',
 guid: 'FTR-123',
 is_enabled: true
 }
CONNECT_COMBO_JOBS When enabled, the Connect widget will create COMBINATION jobs instead of individual jobs (aggregate, verification, reward, etc).
{
 feature_name: 'CONNECT_COMBO_JOBS',
 guid: 'FTR-123',
 is_enabled: true
 }

<-- Back to README