mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
# Backport This will backport the following commits from `main` to `8.x`: - [[Stateful sidenav] Welcome tour (#194926)](https://github.com/elastic/kibana/pull/194926) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Sébastien Loix","email":"sebastien.loix@elastic.co"},"sourceCommit":{"committedDate":"2024-10-15T12:18:30Z","message":"[Stateful sidenav] Welcome tour (#194926)","sha":"8cceaee0f42c6c0e7ee064ef98a0e652fd77e286","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Security/Spaces","release_note:skip","v9.0.0","Team:SharedUX","backport:prev-minor"],"number":194926,"url":"https://github.com/elastic/kibana/pull/194926","mergeCommit":{"message":"[Stateful sidenav] Welcome tour (#194926)","sha":"8cceaee0f42c6c0e7ee064ef98a0e652fd77e286"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/194926","number":194926,"mergeCommit":{"message":"[Stateful sidenav] Welcome tour (#194926)","sha":"8cceaee0f42c6c0e7ee064ef98a0e652fd77e286"}}]}] BACKPORT-->
50 lines
1.5 KiB
TypeScript
50 lines
1.5 KiB
TypeScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
* 2.0; you may not use this file except in compliance with the Elastic License
|
|
* 2.0.
|
|
*/
|
|
|
|
export const DEFAULT_SPACE_ID = `default`;
|
|
|
|
/**
|
|
* The identifier in a saved object's `namespaces` array when it is shared globally to all spaces.
|
|
*/
|
|
export const ALL_SPACES_ID = '*';
|
|
|
|
/**
|
|
* The identifier in a saved object's `namespaces` array when it is shared to an unknown space (e.g., one that the end user is not authorized to see).
|
|
*/
|
|
export const UNKNOWN_SPACE = '?';
|
|
|
|
/**
|
|
* The minimum number of spaces required to show a search control.
|
|
*/
|
|
export const SPACE_SEARCH_COUNT_THRESHOLD = 8;
|
|
|
|
/**
|
|
* The maximum number of characters allowed in the Space Avatar's initials
|
|
*/
|
|
export const MAX_SPACE_INITIALS = 2;
|
|
|
|
/**
|
|
* The path to enter a space.
|
|
*/
|
|
export const ENTER_SPACE_PATH = '/spaces/enter';
|
|
|
|
/**
|
|
* The 'classic' solution view is the default, non-project type of solution view
|
|
*/
|
|
export const SOLUTION_VIEW_CLASSIC = 'classic' as const;
|
|
|
|
/**
|
|
* The feature privileges constants are used to identify the granularity of the configured feature visibility
|
|
*/
|
|
export const FEATURE_PRIVILEGES_ALL = 'all' as const;
|
|
export const FEATURE_PRIVILEGES_READ = 'read' as const;
|
|
export const FEATURE_PRIVILEGES_CUSTOM = 'custom' as const;
|
|
|
|
/**
|
|
* The setting to control whether the Space Solution Tour is shown.
|
|
*/
|
|
export const SHOW_SPACE_SOLUTION_TOUR_SETTING = 'showSpaceSolutionTour';
|