Skip to content

preferences

grafonnet.preferences

Index

Fields

fn withCookiePreferences

withCookiePreferences(value)

PARAMETERS:

  • value (object)

Cookie preferences

fn withCookiePreferencesMixin

withCookiePreferencesMixin(value)

PARAMETERS:

  • value (object)

Cookie preferences

fn withHomeDashboardUID

withHomeDashboardUID(value)

PARAMETERS:

  • value (string)

UID for the home dashboard

fn withLanguage

withLanguage(value)

PARAMETERS:

  • value (string)

Selected language (beta)

fn withNavbar

withNavbar(value)

PARAMETERS:

  • value (object)

Navigation preferences

fn withNavbarMixin

withNavbarMixin(value)

PARAMETERS:

  • value (object)

Navigation preferences

fn withQueryHistory

withQueryHistory(value)

PARAMETERS:

  • value (object)

Explore query history preferences

fn withQueryHistoryMixin

withQueryHistoryMixin(value)

PARAMETERS:

  • value (object)

Explore query history preferences

fn withTheme

withTheme(value)

PARAMETERS:

  • value (string)

light, dark, empty is default

fn withTimezone

withTimezone(value)

PARAMETERS:

  • value (string)

The timezone selection TODO: this should use the timezone defined in common

fn withWeekStart

withWeekStart(value)

PARAMETERS:

  • value (string)

day of the week (sunday, monday, etc)

obj cookiePreferences

fn cookiePreferences.withAnalytics

cookiePreferences.withAnalytics(value)

PARAMETERS:

  • value (object)

fn cookiePreferences.withAnalyticsMixin

cookiePreferences.withAnalyticsMixin(value)

PARAMETERS:

  • value (object)

fn cookiePreferences.withFunctional

cookiePreferences.withFunctional(value)

PARAMETERS:

  • value (object)

fn cookiePreferences.withFunctionalMixin

cookiePreferences.withFunctionalMixin(value)

PARAMETERS:

  • value (object)

fn cookiePreferences.withPerformance

cookiePreferences.withPerformance(value)

PARAMETERS:

  • value (object)

fn cookiePreferences.withPerformanceMixin

cookiePreferences.withPerformanceMixin(value)

PARAMETERS:

  • value (object)

obj navbar

fn navbar.withBookmarkUrls

navbar.withBookmarkUrls(value)

PARAMETERS:

  • value (array)

fn navbar.withBookmarkUrlsMixin

navbar.withBookmarkUrlsMixin(value)

PARAMETERS:

  • value (array)

obj queryHistory

fn queryHistory.withHomeTab

queryHistory.withHomeTab(value)

PARAMETERS:

  • value (string)

one of: '' | 'query' | 'starred';