-
Notifications
You must be signed in to change notification settings - Fork 919
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix-injectReferences-ts-type
- Loading branch information
Showing
226 changed files
with
12,973 additions
and
3,578 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
refactor: | ||
- [Workspace] Support getting workspaces client from coreStart ([#7501](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7501)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
feat: | ||
- [Workspace] Refactor workspace detail page ([#7598](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7598)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
refactor: | ||
- Simplify theme configuration and defaulting ([#7625](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7625)) | ||
|
||
deprecate: | ||
- Deprecating `CssDistFilename` exports in favor of `themeCssDistFilenames` in `@osd/ui-shared-deps` ([#7625](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7625)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
feat: | ||
- [navigation] Left navigation collective ([#7655](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7655)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
feat: | ||
- [Workspace]Add name and description characters limitation ([#7656](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7656)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
feat: | ||
- Change the locale dynamically by adding &i18n-locale to URL ([#7686](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7686)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
refactor: | ||
- Refactor search bar & filters to conditionally render new look with application header ([#7687](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7687)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
feat: | ||
- Integrate new page header for workspace pages ([#7697](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7697)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
feat: | ||
- Add a unit test case to indicate React is anti-xss ([#7699](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7699)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
feat: | ||
- Refractor the homepage assets list section ([#7702](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7702)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
feat: | ||
- Allow `screenTitle` to be present when SearchBar is not in Application header ([#7721](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7721)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
feat: | ||
- Simplify `TopNavControlDescriptionData` to to be followed by links ([#7723](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7723)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
refactor: | ||
- Update page header for settings, objects and index pattern page ([#7744](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7744)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -144,7 +144,7 @@ | |
"dependencies": { | ||
"@aws-crypto/client-node": "^3.1.1", | ||
"@elastic/datemath": "5.0.3", | ||
"@elastic/eui": "npm:@opensearch-project/oui@1.9.0", | ||
"@elastic/eui": "npm:@opensearch-project/oui@1.10.0", | ||
"@elastic/good": "^9.0.1-kibana3", | ||
"@elastic/numeral": "npm:@amoo-miki/[email protected]", | ||
"@elastic/request-crypto": "2.0.0", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,13 +30,18 @@ | |
|
||
const Path = require('path'); | ||
|
||
Object.assign(exports, require('./theme_config')); | ||
exports.distDir = Path.resolve(__dirname, 'target'); | ||
exports.jsDepFilenames = ['[email protected]']; | ||
exports.jsFilename = 'osd-ui-shared-deps.js'; | ||
exports.baseCssDistFilename = 'osd-ui-shared-deps.css'; | ||
/** @deprecated */ | ||
exports.lightCssDistFilename = 'osd-ui-shared-deps.v7.light.css'; | ||
/** @deprecated */ | ||
exports.lightV8CssDistFilename = 'osd-ui-shared-deps.v8.light.css'; | ||
/** @deprecated */ | ||
exports.darkCssDistFilename = 'osd-ui-shared-deps.v7.dark.css'; | ||
/** @deprecated */ | ||
exports.darkV8CssDistFilename = 'osd-ui-shared-deps.v8.dark.css'; | ||
exports.externals = { | ||
// stateful deps | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
}, | ||
"dependencies": { | ||
"@elastic/charts": "31.1.0", | ||
"@elastic/eui": "npm:@opensearch-project/oui@1.9.0", | ||
"@elastic/eui": "npm:@opensearch-project/oui@1.10.0", | ||
"@elastic/numeral": "npm:@amoo-miki/[email protected]", | ||
"@opensearch/datemath": "5.0.3", | ||
"@osd/i18n": "1.0.0", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* Copyright OpenSearch Contributors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/** | ||
* Types for valid theme tags (themeVersion + themeMode) | ||
* Note: used by @osd/optimizer | ||
*/ | ||
export type ThemeTag = 'v7light' | 'v7dark' | 'v8light' | 'v8dark'; | ||
export type ThemeTags = readonly ThemeTag[]; | ||
|
||
/** | ||
* List of valid ThemeTags | ||
* Note: used by @osd/optimizer | ||
*/ | ||
export const themeTags: ThemeTags; | ||
|
||
/** | ||
* Map of themeVersion values to labels | ||
* Note: this is used for ui display | ||
*/ | ||
export const themeVersionLabelMap: Record<string, string>; | ||
|
||
/** | ||
* Map of labels and versions to themeVersion values | ||
* Note: this is used to correct incorrectly persisted ui settings | ||
*/ | ||
export const themeVersionValueMap: Record<string, string>; | ||
|
||
/** | ||
* Theme CSS distributable filenames by themeVersion and themeMode | ||
* Note: used by bootstrap template | ||
*/ | ||
export const themeCssDistFilenames: Record<string, Record<string, string>>; | ||
|
||
/** | ||
* KUI CSS distributable filenames by themeVersion and themeMode | ||
* Note: used by bootstrap template | ||
*/ | ||
export const kuiCssDistFilenames: Record<string, Record<string, string>>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/* | ||
* Copyright OpenSearch Contributors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/** | ||
* The purpose of this file is to centalize theme configuration so it can be used across server, | ||
* client, and dev tooling. DO NOT add dependencies that wouldn't operate in all of these contexts. | ||
* | ||
* Default theme is specified in the uiSettings schema. | ||
*/ | ||
|
||
const THEME_MODES = ['light', 'dark']; | ||
const THEME_VERSION_LABEL_MAP = { | ||
v7: 'v7', | ||
v8: 'Next (preview)', | ||
}; | ||
const THEME_VERSION_VALUE_MAP = { | ||
// allow version lookup by label ... | ||
...Object.fromEntries(Object.entries(THEME_VERSION_LABEL_MAP).map((a) => a.reverse())), | ||
// ... or by the version itself | ||
...Object.fromEntries(Object.keys(THEME_VERSION_LABEL_MAP).map((v) => [v, v])), | ||
}; | ||
const THEME_VERSIONS = Object.keys(THEME_VERSION_LABEL_MAP); | ||
const THEME_TAGS = THEME_VERSIONS.flatMap((v) => THEME_MODES.map((m) => `${v}${m}`)); | ||
|
||
exports.themeVersionLabelMap = THEME_VERSION_LABEL_MAP; | ||
|
||
exports.themeVersionValueMap = THEME_VERSION_VALUE_MAP; | ||
|
||
exports.themeTags = THEME_TAGS; | ||
|
||
exports.themeCssDistFilenames = THEME_VERSIONS.reduce((map, v) => { | ||
map[v] = THEME_MODES.reduce((acc, m) => { | ||
acc[m] = `osd-ui-shared-deps.${v}.${m}.css`; | ||
return acc; | ||
}, {}); | ||
return map; | ||
}, {}); | ||
|
||
exports.kuiCssDistFilenames = { | ||
v7: { dark: 'kui_dark.css', light: 'kui_light.css' }, | ||
v8: { dark: 'kui_next_dark.css', light: 'kui_next_light.css' }, | ||
}; |
Oops, something went wrong.