-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main' into kibanathemeprovider…
…-kibana-app-services
- Loading branch information
Showing
34 changed files
with
657 additions
and
65 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
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 |
---|---|---|
|
@@ -41,4 +41,3 @@ jobs: | |
commit_email: [email protected] | ||
auto_merge: 'true' | ||
auto_merge_method: 'squash' | ||
manual_backport_command_template: 'node scripts/backport --pr %pullNumber%' |
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 |
---|---|---|
@@ -1,83 +1,84 @@ | ||
{ | ||
"paths": { | ||
"advancedSettings": "src/plugins/advanced_settings", | ||
"alerts": "packages/kbn-alerts/src", | ||
"apmOss": "src/plugins/apm_oss", | ||
"autocomplete": "packages/kbn-securitysolution-autocomplete/src", | ||
"kbnConfig": "packages/kbn-config/src", | ||
"bfetch": "src/plugins/bfetch", | ||
"charts": "src/plugins/charts", | ||
"console": "src/plugins/console", | ||
"core": "src/core", | ||
"customIntegrations": "src/plugins/custom_integrations", | ||
"discover": "src/plugins/discover", | ||
"bfetch": "src/plugins/bfetch", | ||
"dashboard": "src/plugins/dashboard", | ||
"controls": "src/plugins/controls", | ||
"data": "src/plugins/data", | ||
"dataViews": "src/plugins/data_views", | ||
"devTools": "src/plugins/dev_tools", | ||
"discover": "src/plugins/discover", | ||
"embeddableApi": "src/plugins/embeddable", | ||
"embeddableExamples": "examples/embeddable_examples", | ||
"fieldFormats": "src/plugins/field_formats", | ||
"uiActionsExamples": "examples/ui_action_examples", | ||
"share": "src/plugins/share", | ||
"home": "src/plugins/home", | ||
"flot": "packages/kbn-ui-shared-deps-src/src/flot_charts", | ||
"charts": "src/plugins/charts", | ||
"esQuery": "packages/kbn-es-query/src", | ||
"esUi": "src/plugins/es_ui_shared", | ||
"devTools": "src/plugins/dev_tools", | ||
"expressions": "src/plugins/expressions", | ||
"expressionError": "src/plugins/expression_error", | ||
"expressionGauge": "src/plugins/chart_expressions/expression_gauge", | ||
"expressionHeatmap": "src/plugins/chart_expressions/expression_heatmap", | ||
"expressionImage": "src/plugins/expression_image", | ||
"expressionMetric": "src/plugins/expression_metric", | ||
"expressionMetricVis": "src/plugins/chart_expressions/expression_metric", | ||
"expressionPie": "src/plugins/chart_expressions/expression_pie", | ||
"expressionRepeatImage": "src/plugins/expression_repeat_image", | ||
"expressionRevealImage": "src/plugins/expression_reveal_image", | ||
"expressions": "src/plugins/expressions", | ||
"expressionShape": "src/plugins/expression_shape", | ||
"expressionHeatmap": "src/plugins/chart_expressions/expression_heatmap", | ||
"expressionGauge": "src/plugins/chart_expressions/expression_gauge", | ||
"expressionTagcloud": "src/plugins/chart_expressions/expression_tagcloud", | ||
"expressionMetricVis": "src/plugins/chart_expressions/expression_metric", | ||
"expressionPie": "src/plugins/chart_expressions/expression_pie", | ||
"fieldFormats": "src/plugins/field_formats", | ||
"flot": "packages/kbn-ui-shared-deps-src/src/flot_charts", | ||
"home": "src/plugins/home", | ||
"indexPatternEditor": "src/plugins/data_view_editor", | ||
"indexPatternFieldEditor": "src/plugins/data_view_field_editor", | ||
"indexPatternManagement": "src/plugins/data_view_management", | ||
"inputControl": "src/plugins/input_control_vis", | ||
"inspector": "src/plugins/inspector", | ||
"inspectorViews": "src/legacy/core_plugins/inspector_views", | ||
"interactiveSetup": "src/plugins/interactive_setup", | ||
"interpreter": "src/legacy/core_plugins/interpreter", | ||
"kbn": "src/legacy/core_plugins/kibana", | ||
"kbnConfig": "packages/kbn-config/src", | ||
"kbnDocViews": "src/legacy/core_plugins/kbn_doc_views", | ||
"kibana_react": "src/legacy/core_plugins/kibana_react", | ||
"kibana_utils": "src/plugins/kibana_utils", | ||
"kibana-react": "src/plugins/kibana_react", | ||
"kibanaOverview": "src/plugins/kibana_overview", | ||
"lists": "packages/kbn-securitysolution-list-utils/src", | ||
"management": ["src/legacy/core_plugins/management", "src/plugins/management"], | ||
"monaco": "packages/kbn-monaco/src", | ||
"esQuery": "packages/kbn-es-query/src", | ||
"presentationUtil": "src/plugins/presentation_util", | ||
"indexPatternEditor": "src/plugins/data_view_editor", | ||
"indexPatternFieldEditor": "src/plugins/data_view_field_editor", | ||
"indexPatternManagement": "src/plugins/data_view_management", | ||
"interactiveSetup": "src/plugins/interactive_setup", | ||
"advancedSettings": "src/plugins/advanced_settings", | ||
"kibanaOverview": "src/plugins/kibana_overview", | ||
"kibana_react": "src/legacy/core_plugins/kibana_react", | ||
"kibana-react": "src/plugins/kibana_react", | ||
"kibana_utils": "src/plugins/kibana_utils", | ||
"navigation": "src/plugins/navigation", | ||
"newsfeed": "src/plugins/newsfeed", | ||
"presentationUtil": "src/plugins/presentation_util", | ||
"savedObjects": "src/plugins/saved_objects", | ||
"savedObjectsManagement": "src/plugins/saved_objects_management", | ||
"server": "src/legacy/server", | ||
"share": "src/plugins/share", | ||
"sharedUX": "src/plugins/shared_ux", | ||
"statusPage": "src/legacy/core_plugins/status_page", | ||
"telemetry": ["src/plugins/telemetry", "src/plugins/telemetry_management_section"], | ||
"timelion": ["src/plugins/vis_types/timelion"], | ||
"uiActions": "src/plugins/ui_actions", | ||
"uiActionsExamples": "examples/ui_action_examples", | ||
"usageCollection": "src/plugins/usage_collection", | ||
"visDefaultEditor": "src/plugins/vis_default_editor", | ||
"visTypeHeatmap": "src/plugins/vis_types/heatmap", | ||
"visTypeMarkdown": "src/plugins/vis_type_markdown", | ||
"visTypeMetric": "src/plugins/vis_types/metric", | ||
"visTypePie": "src/plugins/vis_types/pie", | ||
"visTypeTable": "src/plugins/vis_types/table", | ||
"visTypeTagCloud": "src/plugins/vis_types/tagcloud", | ||
"visTypeTimeseries": "src/plugins/vis_types/timeseries", | ||
"visTypeVega": "src/plugins/vis_types/vega", | ||
"visTypeVislib": "src/plugins/vis_types/vislib", | ||
"visTypeXy": "src/plugins/vis_types/xy", | ||
"visTypePie": "src/plugins/vis_types/pie", | ||
"visTypeHeatmap": "src/plugins/vis_types/heatmap", | ||
"visualizations": "src/plugins/visualizations", | ||
"visualize": "src/plugins/visualize", | ||
"apmOss": "src/plugins/apm_oss", | ||
"usageCollection": "src/plugins/usage_collection" | ||
"visualize": "src/plugins/visualize" | ||
}, | ||
"translations": [] | ||
} |
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 |
---|---|---|
|
@@ -121,3 +121,4 @@ pageLoadAssetSize: | |
expressionGauge: 25000 | ||
controls: 34788 | ||
expressionPie: 26338 | ||
sharedUX: 16225 |
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,9 @@ | ||
{ | ||
"prefix": "sharedUX", | ||
"paths": { | ||
"sharedUX": "." | ||
}, | ||
"translations": [ | ||
"translations/ja-JP.json" | ||
] | ||
} |
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,11 @@ | ||
/* | ||
* 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 and the Server Side Public License, v 1; you may not use this file except | ||
* in compliance with, at your election, the Elastic License 2.0 or the Server | ||
* Side Public License, v 1. | ||
*/ | ||
|
||
import { defaultConfig } from '@kbn/storybook'; | ||
|
||
module.exports = defaultConfig; |
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,21 @@ | ||
/* | ||
* 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 and the Server Side Public License, v 1; you may not use this file except | ||
* in compliance with, at your election, the Elastic License 2.0 or the Server | ||
* Side Public License, v 1. | ||
*/ | ||
|
||
import { addons } from '@storybook/addons'; | ||
import { create } from '@storybook/theming'; | ||
import { PANEL_ID } from '@storybook/addon-actions'; | ||
|
||
addons.setConfig({ | ||
theme: create({ | ||
base: 'light', | ||
brandTitle: 'Shared UX Storybook', | ||
brandUrl: 'https://github.com/elastic/kibana/tree/main/src/plugins/shared_ux', | ||
}), | ||
showPanel: true.valueOf, | ||
selectedPanel: PANEL_ID, | ||
}); |
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,29 @@ | ||
# sharedUX | ||
|
||
Our mission is to make consistency in our user experience a product. | ||
|
||
## Areas of Focus | ||
|
||
### UX Infrastructure | ||
|
||
- Create and maintain a discoverable home for shared UX code. | ||
- Encourage contribution and usage. | ||
|
||
### UX Patterns | ||
|
||
- Work with design specialists to understand and communicate new and existing designs. | ||
- Foster adoption of design principles by codifying them in shared resources. | ||
|
||
### UX Solutions | ||
|
||
- Drive common projects. | ||
- Build and support common plugins. | ||
- Help teams to create consistent user experiences. | ||
|
||
## The sharedUX Plugin | ||
|
||
This plugin contains common code that is shared among other plugins. | ||
|
||
## Contribution | ||
|
||
Contributions are welcome and encouraged! |
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,10 @@ | ||
/* | ||
* 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 and the Server Side Public License, v 1; you may not use this file except | ||
* in compliance with, at your election, the Elastic License 2.0 or the Server | ||
* Side Public License, v 1. | ||
*/ | ||
|
||
export const PLUGIN_ID = 'sharedUX'; | ||
export const PLUGIN_NAME = 'sharedUX'; |
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,36 @@ | ||
--- | ||
id: sharedUX/About | ||
slug: /shared-ux/about | ||
title: About Shared UX | ||
summary: . | ||
date: 2021-01-05 | ||
tags: ['shared-ux'] | ||
--- | ||
|
||
Our mission is to make consistency in our user experience a product. | ||
|
||
## Areas of Focus | ||
|
||
### UX Infrastructure | ||
|
||
- Create and maintain a discoverable home for shared UX code. | ||
- Encourage contribution and usage. | ||
|
||
### UX Patterns | ||
|
||
- Work with design specialists to understand and communicate new and existing designs. | ||
- Foster adoption of design principles by codifying them in shared resources. | ||
|
||
### UX Solutions | ||
|
||
- Drive common projects. | ||
- Build and support common plugins. | ||
- Help teams to create consistent user experiences. | ||
|
||
## The sharedUX Plugin | ||
|
||
This plugin contains common code that is shared among other plugins. | ||
|
||
## Contribution | ||
|
||
Contributions are welcome and encouraged! |
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,14 @@ | ||
{ | ||
"id": "sharedUX", | ||
"version": "1.0.0", | ||
"kibanaVersion": "kibana", | ||
"owner": { | ||
"name": "Shared UX", | ||
"githubTeam": "shared-ux" | ||
}, | ||
"description": "A plugin providing components and services for shared user experiences in Kibana.", | ||
"server": true, | ||
"ui": true, | ||
"requiredPlugins": [], | ||
"optionalPlugins": [] | ||
} |
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,17 @@ | ||
{ | ||
"mission": "Shared UX", | ||
"id": "sharedUX", | ||
"landingPageId": "sharedUX/About", | ||
"icon": "globe", | ||
"description": "Developer documentation for Shared UX.", | ||
"items": [ | ||
{ | ||
"label": "About", | ||
"items": [ | ||
{ | ||
"id": "sharedUX/About" | ||
} | ||
] | ||
} | ||
] | ||
} |
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,15 @@ | ||
/* | ||
* 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 and the Server Side Public License, v 1; you may not use this file except | ||
* in compliance with, at your election, the Elastic License 2.0 or the Server | ||
* Side Public License, v 1. | ||
*/ | ||
|
||
import { SharedUXPlugin } from './plugin'; | ||
|
||
export function plugin() { | ||
return new SharedUXPlugin(); | ||
} | ||
|
||
export type { SharedUXPluginSetup, SharedUXPluginStart } from './types'; |
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,22 @@ | ||
/* | ||
* 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 and the Server Side Public License, v 1; you may not use this file except | ||
* in compliance with, at your election, the Elastic License 2.0 or the Server | ||
* Side Public License, v 1. | ||
*/ | ||
|
||
import { CoreSetup, CoreStart, Plugin } from '../../../core/public'; | ||
import { SharedUXPluginSetup, SharedUXPluginStart } from './types'; | ||
|
||
export class SharedUXPlugin implements Plugin<SharedUXPluginSetup, SharedUXPluginStart> { | ||
public setup(_core: CoreSetup): SharedUXPluginSetup { | ||
return {}; | ||
} | ||
|
||
public start(_core: CoreStart): SharedUXPluginStart { | ||
return {}; | ||
} | ||
|
||
public stop() {} | ||
} |
Oops, something went wrong.