diff --git a/STYLEGUIDE.md b/STYLEGUIDE.md index 6242be01bb4d..6347fa4667f9 100644 --- a/STYLEGUIDE.md +++ b/STYLEGUIDE.md @@ -212,7 +212,7 @@ less likely to introduce bugs in the future due to insufficient types. If you’re not having `any` in your plugin or are starting a new plugin, you should enable the [`@typescript-eslint/no-explicit-any`](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-explicit-any.md) -linting rule for your plugin via the [`.eslintrc.js`](https://github.com/elastic/kibana/blob/master/.eslintrc.js) config. +linting rule for your plugin via the [`.eslintrc.js`](https://github.com/opensearch-project/OpenSearch-Dashboards/blob/master/.eslintrc.js) config. ### Avoid non-null assertions @@ -231,7 +231,7 @@ assertion would now wrongly disable proper type checking for us. If you’re not using non-null assertions in your plugin or are starting a new plugin, consider enabling the [`@typescript-eslint/no-non-null-assertion`](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-non-null-assertion.md) -linting rule for you plugin in the [`.eslintrc.js`](https://github.com/elastic/kibana/blob/master/.eslintrc.js) config. +linting rule for you plugin in the [`.eslintrc.js`](https://github.com/opensearch-project/OpenSearch-Dashboards/blob/master/.eslintrc.js) config. ### Return/throw early from functions diff --git a/examples/developer_examples/README.md b/examples/developer_examples/README.md index 8de8d5ea1278..e33d7cc8f64f 100644 --- a/examples/developer_examples/README.md +++ b/examples/developer_examples/README.md @@ -14,7 +14,7 @@ services. Add your a link to your example using the developerExamples `register` links: [ { label: 'README', - href: 'https://github.com/elastic/kibana/tree/master/src/plugins/foo/README.md', + href: 'https://github.com/opensearch-project/OpenSearch-Dashboards/tree/master/src/plugins/foo/README.md', iconType: 'logoGithub', target: '_blank', size: 's', diff --git a/examples/embeddable_explorer/public/plugin.tsx b/examples/embeddable_explorer/public/plugin.tsx index e15bb799a44f..48eb7b42cc95 100644 --- a/examples/embeddable_explorer/public/plugin.tsx +++ b/examples/embeddable_explorer/public/plugin.tsx @@ -73,7 +73,8 @@ export class EmbeddableExplorerPlugin implements Plugin { { label: 'IRouter', href: - 'https://github.com/elastic/kibana/blob/master/docs/development/core/server/opensearch-dashboards-plugin-core-server.irouter.md', + 'https://github.com/opensearch-project/OpenSearch-Dashboards/blob/master/docs/development/core/server/opensearch-dashboards-plugin-core-server.irouter.md', iconType: 'logoGithub', target: '_blank', size: 's', @@ -60,7 +60,7 @@ export class RoutingExamplePlugin implements Plugin<{}, {}, SetupDeps, {}> { { label: 'HttpHandler (core.http.fetch)', href: - 'https://github.com/elastic/kibana/blob/master/docs/development/core/public/opensearch-dashboards-plugin-core-public.httphandler.md', + 'https://github.com/opensearch-project/OpenSearch-Dashboards/blob/master/docs/development/core/public/opensearch-dashboards-plugin-core-public.httphandler.md', iconType: 'logoGithub', target: '_blank', size: 's', diff --git a/examples/search_examples/README.md b/examples/search_examples/README.md index a36b616ffe9e..2d83e9617257 100644 --- a/examples/search_examples/README.md +++ b/examples/search_examples/README.md @@ -6,4 +6,4 @@ ## Development -See the [opensearchDashboards contributing guide](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md) for instructions setting up your development environment. +See the [opensearchDashboards contributing guide](https://github.com/opensearch-project/OpenSearch-Dashboards/blob/master/CONTRIBUTING.md) for instructions setting up your development environment. diff --git a/examples/state_containers_examples/public/plugin.ts b/examples/state_containers_examples/public/plugin.ts index a6ceb7e149a4..ec69af89a503 100644 --- a/examples/state_containers_examples/public/plugin.ts +++ b/examples/state_containers_examples/public/plugin.ts @@ -80,7 +80,7 @@ export class StateContainersExamplesPlugin implements Plugin { { label: 'README', href: - 'https://github.com/elastic/kibana/tree/master/src/plugins/opensearch_dashboards_utils/docs/state_containers/README.md', + 'https://github.com/opensearch-project/OpenSearch-Dashboards/tree/master/src/plugins/opensearch_dashboards_utils/docs/state_containers/README.md', iconType: 'logoGithub', size: 's', target: '_blank', @@ -99,7 +99,7 @@ export class StateContainersExamplesPlugin implements Plugin { { label: 'README', href: - 'https://github.com/elastic/kibana/tree/master/src/plugins/opensearch_dashboards_utils/docs/state_containers/README.md', + 'https://github.com/opensearch-project/OpenSearch-Dashboards/tree/master/src/plugins/opensearch_dashboards_utils/docs/state_containers/README.md', iconType: 'logoGithub', size: 's', target: '_blank', @@ -117,7 +117,7 @@ export class StateContainersExamplesPlugin implements Plugin { { label: 'README', href: - 'https://github.com/elastic/kibana/blob/master/src/plugins/data/public/query/state_sync/README.md', + 'https://github.com/opensearch-project/OpenSearch-Dashboards/blob/master/src/plugins/data/public/query/state_sync/README.md', iconType: 'logoGithub', size: 's', target: '_blank', diff --git a/examples/ui_actions_explorer/public/plugin.tsx b/examples/ui_actions_explorer/public/plugin.tsx index b28e5e7a9f69..0d4044e50c71 100644 --- a/examples/ui_actions_explorer/public/plugin.tsx +++ b/examples/ui_actions_explorer/public/plugin.tsx @@ -122,7 +122,8 @@ export class UiActionsExplorerPlugin implements Plugin", "license": "Apache-2.0", "bugs": { - "url": "https://github.com/elastic/kibana/tree/master/packages/elastic-eslint-config-kibana" + "url": "https://github.com/opensearch-project/OpenSearch-Dashboards/tree/master/packages/elastic-eslint-config-kibana" }, - "homepage": "https://github.com/elastic/kibana/tree/master/packages/elastic-eslint-config-kibana", + "homepage": "https://github.com/opensearch-project/OpenSearch-Dashboards/tree/master/packages/elastic-eslint-config-kibana", "peerDependencies": { "@typescript-eslint/eslint-plugin": "^3.10.0", "@typescript-eslint/parser": "^3.10.0", diff --git a/packages/elastic-safer-lodash-set/package.json b/packages/elastic-safer-lodash-set/package.json index 7602f2fa5924..caf35406d2e2 100644 --- a/packages/elastic-safer-lodash-set/package.json +++ b/packages/elastic-safer-lodash-set/package.json @@ -22,7 +22,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/elastic/kibana.git" + "url": "git+https://github.com/opensearch-project/OpenSearch-Dashboards.git" }, "keywords": [ "lodash", @@ -35,9 +35,9 @@ "author": "Thomas Watson (https://twitter.com/wa7son)", "license": "MIT", "bugs": { - "url": "https://github.com/elastic/kibana/issues" + "url": "https://github.com/opensearch-project/OpenSearch-Dashboards/issues" }, - "homepage": "https://github.com/elastic/kibana/tree/master/packages/safer-lodash-set#readme", + "homepage": "https://github.com/opensearch-project/OpenSearch-Dashboards/tree/master/packages/safer-lodash-set#readme", "standard": { "ignore": [ "/lodash/" diff --git a/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/get_webpack_config.js b/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/get_webpack_config.js index 57461c03a49c..5e7b4c17c902 100755 --- a/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/get_webpack_config.js +++ b/packages/osd-eslint-import-resolver-opensearch-dashboards/lib/get_webpack_config.js @@ -27,7 +27,7 @@ exports.getWebpackConfig = function (opensearchDashboardsPath) { mainFields: ['browser', 'main'], modules: ['node_modules', resolve(opensearchDashboardsPath, 'node_modules')], alias: { - // Dev defaults for test bundle https://github.com/elastic/kibana/blob/6998f074542e8c7b32955db159d15661aca253d7/src/core_plugins/tests_bundle/index.js#L73-L78 + // Dev defaults for test bundle https://github.com/opensearch-project/OpenSearch-Dashboards/blob/6998f074542e8c7b32955db159d15661aca253d7/src/core_plugins/tests_bundle/index.js#L73-L78 fixtures: resolve(opensearchDashboardsPath, 'src/fixtures'), test_utils: resolve(opensearchDashboardsPath, 'src/test_utils/public'), }, diff --git a/packages/osd-eslint-import-resolver-opensearch-dashboards/package.json b/packages/osd-eslint-import-resolver-opensearch-dashboards/package.json index b728174bc55f..1594e45e50b5 100755 --- a/packages/osd-eslint-import-resolver-opensearch-dashboards/package.json +++ b/packages/osd-eslint-import-resolver-opensearch-dashboards/package.json @@ -10,7 +10,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/elastic/kibana/tree/master/packages/kbn-eslint-import-resolver-kibana" + "url": "https://github.com/opensearch-project/OpenSearch-Dashboards/tree/master/packages/osd-eslint-import-resolver-opensearch-dashboards" }, "dependencies": { "debug": "^2.6.9", diff --git a/packages/osd-plugin-generator/README.md b/packages/osd-plugin-generator/README.md index 3abfeeee3b2b..83c2ae8bf80f 100644 --- a/packages/osd-plugin-generator/README.md +++ b/packages/osd-plugin-generator/README.md @@ -40,7 +40,7 @@ node scripts/generate_plugin --help Since the Plugin Generator is now a part of the OpenSearch Dashboards repo, when you update your local checkout of the OpenSearch Dashboards repository and `bootstrap` everything should be up to date! -> ***NOTE:*** These commands should be run from the OpenSearch Dashboards repo, and `upstream` is our convention for the git remote that references https://github.com/elastic/kibana.git, unless you added this remote you might need to use `origin`. +> ***NOTE:*** These commands should be run from the OpenSearch Dashboards repo, and `upstream` is our convention for the git remote that references https://github.com/opensearch-project/OpenSearch-Dashboards.git, unless you added this remote you might need to use `origin`. ```sh git pull upstream master diff --git a/packages/osd-plugin-generator/template/README.md.ejs b/packages/osd-plugin-generator/template/README.md.ejs index 71f3e609a42c..c102b6a2071f 100755 --- a/packages/osd-plugin-generator/template/README.md.ejs +++ b/packages/osd-plugin-generator/template/README.md.ejs @@ -6,7 +6,8 @@ ## Development - See the [kibana contributing guide](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md) for instructions + See the [kibana contributing + guide](https://github.com/opensearch-project/OpenSearch-Dashboards/blob/master/CONTRIBUTING.md) for instructions setting up your development environment. <% if (thirdPartyPlugin) { %> diff --git a/packages/osd-spec-to-console/README.md b/packages/osd-spec-to-console/README.md index eceb543eddd1..14974314bbd1 100644 --- a/packages/osd-spec-to-console/README.md +++ b/packages/osd-spec-to-console/README.md @@ -1,4 +1,4 @@ -\ mini utility to convert [OpenSearch's REST spec](https://github.com/elastic/elasticsearch/blob/master/rest-api-spec) to Console's (OpenSearch Dashboards) autocomplete format. +\ mini utility to convert [OpenSearch's REST spec](https://github.com/opensearch-project/OpenSearch/blob/master/rest-api-spec) to Console's (OpenSearch Dashboards) autocomplete format. It is used to semi-manually update Console's autocompletion rules. @@ -10,7 +10,7 @@ If you don't have a copy of the OpenSearch repo on your machine, follow these st ``` mkdir opensearch-spec && cd opensearch-spec git init -git remote add origin https://github.com/elastic/elasticsearch +git remote add origin https://github.com/opensearch-project/OpenSearch git config core.sparsecheckout true echo "rest-api-spec/src/main/resources/rest-api-spec/api/*\nx-pack/plugin/src/test/resources/rest-api-spec/api/*" > .git/info/sparse-checkout git pull --depth=1 origin master diff --git a/packages/osd-storybook/lib/register.ts b/packages/osd-storybook/lib/register.ts index b0acb3a369d5..45e4445f01b7 100644 --- a/packages/osd-storybook/lib/register.ts +++ b/packages/osd-storybook/lib/register.ts @@ -26,7 +26,8 @@ addons.setConfig({ theme: create({ base: 'light', brandTitle: 'OpenSearch Dashboards Storybook', - brandUrl: 'https://github.com/elastic/kibana/tree/master/packages/osd-storybook', + brandUrl: + 'https://github.com/opensearch-project/OpenSearch-Dashboards/tree/master/packages/osd-storybook', }), showPanel: false, isFullscreen: false, diff --git a/packages/osd-test/src/failed_tests_reporter/github_api.ts b/packages/osd-test/src/failed_tests_reporter/github_api.ts index a45c0303820d..29e6f1b5dbd7 100644 --- a/packages/osd-test/src/failed_tests_reporter/github_api.ts +++ b/packages/osd-test/src/failed_tests_reporter/github_api.ts @@ -23,7 +23,7 @@ import Axios, { AxiosRequestConfig, AxiosInstance } from 'axios'; import parseLinkHeader from 'parse-link-header'; import { ToolingLog, isAxiosResponseError, isAxiosRequestError } from '@osd/dev-utils'; -const BASE_URL = 'https://api.github.com/repos/elastic/kibana/'; +const BASE_URL = 'https://api.github.com/repos/opensearch-project/OpenSearch-Dashboards/'; export interface GithubIssue { html_url: string; diff --git a/src/core/TESTING.md b/src/core/TESTING.md index 09299ede8815..0e7251a5385f 100644 --- a/src/core/TESTING.md +++ b/src/core/TESTING.md @@ -272,7 +272,7 @@ The tests cover: - authenticated / non-authenticated user access (when applicable) ```typescript -// TODO after https://github.com/elastic/opensearch-dashboards/pull/53208/ +// TODO after https://github.com/elastic/kibana/pull/53208/ ``` - request validation diff --git a/src/core/public/chrome/constants.ts b/src/core/public/chrome/constants.ts index fddaac865604..e65ed432b9ff 100644 --- a/src/core/public/chrome/constants.ts +++ b/src/core/public/chrome/constants.ts @@ -17,15 +17,13 @@ * under the License. */ -//export const OPENSEARCH_DASHBOARDS_FEEDBACK_LINK = +// export const OPENSEARCH_DASHBOARDS_FEEDBACK_LINK = // 'https://www.opensearch.co/products/kibana/feedback?blade=kibanafeedback'; -//export const OPENSEARCH_DASHBOARDS_ASK_OPENSEARCH_LINK = +// export const OPENSEARCH_DASHBOARDS_ASK_OPENSEARCH_LINK = // 'https://www.opensearch.co/products/kibana/ask-elastic?blade=kibanaaskelastic'; -//export const GITHUB_CREATE_ISSUE_LINK = 'https://github.com/elastic/kibana/issues/new/choose'; +// export const GITHUB_CREATE_ISSUE_LINK = 'https://github.com/opensearch-project/OpenSearch-Dashboards/issues/new/choose'; - -export const OPENSEARCH_DASHBOARDS_FEEDBACK_LINK = - 'https://github.com/opensearch-project'; -export const OPENSEARCH_DASHBOARDS_ASK_OPENSEARCH_LINK = - 'https://github.com/opensearch-project'; -export const GITHUB_CREATE_ISSUE_LINK = 'https://github.com/opensearch-project/OpenSearch-Dashboards/issues/new/choose'; +export const OPENSEARCH_DASHBOARDS_FEEDBACK_LINK = 'https://github.com/opensearch-project'; +export const OPENSEARCH_DASHBOARDS_ASK_OPENSEARCH_LINK = 'https://github.com/opensearch-project'; +export const GITHUB_CREATE_ISSUE_LINK = + 'https://github.com/opensearch-project/OpenSearch-Dashboards/issues/new/choose'; diff --git a/src/core/public/chrome/ui/header/header_help_menu.tsx b/src/core/public/chrome/ui/header/header_help_menu.tsx index f4e3071b7671..04afead97b5c 100644 --- a/src/core/public/chrome/ui/header/header_help_menu.tsx +++ b/src/core/public/chrome/ui/header/header_help_menu.tsx @@ -152,7 +152,7 @@ class HeaderHelpMenuUI extends Component { } createGithubUrl = (labels: string[], title?: string) => { - const url = new URL('https://github.com/elastic/kibana/issues/new?'); + const url = new URL('https://github.com/opensearch-project/OpenSearch-Dashboards/issues/new?'); if (labels.length) { url.searchParams.set('labels', labels.join(',')); diff --git a/src/core/server/http/http_config.ts b/src/core/server/http/http_config.ts index c1c7d0572da7..b227a24d572d 100644 --- a/src/core/server/http/http_config.ts +++ b/src/core/server/http/http_config.ts @@ -30,7 +30,7 @@ const match = (regex: RegExp, errorMsg: string) => (str: string) => regex.test(str) ? undefined : errorMsg; // before update to make sure it's in sync with validation rules in Legacy -// https://github.com/elastic/kibana/blob/master/src/legacy/server/config/schema.js +// https://github.com/opensearch-project/OpenSearch-Dashboards/blob/master/src/legacy/server/config/schema.js export const config = { path: 'server', schema: schema.object( diff --git a/src/core/server/legacy/config/get_unused_config_keys.ts b/src/core/server/legacy/config/get_unused_config_keys.ts index 987fa9f5e9ab..8c79216c1dd1 100644 --- a/src/core/server/legacy/config/get_unused_config_keys.ts +++ b/src/core/server/legacy/config/get_unused_config_keys.ts @@ -37,9 +37,9 @@ export async function getUnusedConfigKeys({ const appliedKeys = getFlattenedKeys(legacyConfig.get()); if (inputKeys.includes('env')) { - // env is a special case key, see https://github.com/elastic/kibana/blob/848bf17b/src/legacy/server/config/config.js#L74 + // env is a special case key, see https://github.com/opensearch-project/OpenSearch-Dashboards/blob/848bf17b/src/legacy/server/config/config.js#L74 // where it is deleted from the settings before being injected into the schema via context and - // then renamed to `env.name` https://github.com/elastic/kibana/blob/848bf17/src/legacy/server/config/schema.js#L17 + // then renamed to `env.name` https://github.com/opensearch-project/OpenSearch-Dashboards/blob/848bf17/src/legacy/server/config/schema.js#L17 inputKeys[inputKeys.indexOf('env')] = 'env.name'; } diff --git a/src/dev/build/tasks/os_packages/docker_generator/templates/Dockerfile b/src/dev/build/tasks/os_packages/docker_generator/templates/Dockerfile index a631806c7dda..c8f432e01fbf 100644 --- a/src/dev/build/tasks/os_packages/docker_generator/templates/Dockerfile +++ b/src/dev/build/tasks/os_packages/docker_generator/templates/Dockerfile @@ -103,14 +103,14 @@ LABEL org.label-schema.build-date="{{dockerBuildDate}}" \ org.label-schema.url="https://www.opensearch.co/products/kibana" \ org.label-schema.usage="https://www.opensearch.co/guide/en/kibana/reference/index.html" \ org.label-schema.vcs-ref="{{revision}}" \ - org.label-schema.vcs-url="https://github.com/elastic/kibana" \ + org.label-schema.vcs-url="https://github.com/opensearch-project/OpenSearch-Dashboards" \ org.label-schema.vendor="Elastic" \ org.label-schema.version="{{version}}" \ org.opencontainers.image.created="{{dockerBuildDate}}" \ org.opencontainers.image.documentation="https://www.opensearch.co/guide/en/kibana/reference/index.html" \ org.opencontainers.image.licenses="{{license}}" \ org.opencontainers.image.revision="{{revision}}" \ - org.opencontainers.image.source="https://github.com/elastic/kibana" \ + org.opencontainers.image.source="https://github.com/opensearch-project/OpenSearch-Dashboards" \ org.opencontainers.image.title="Kibana" \ org.opencontainers.image.url="https://www.opensearch.co/products/kibana" \ org.opencontainers.image.vendor="Elastic" \ diff --git a/src/legacy/server/config/schema.js b/src/legacy/server/config/schema.js index 82a2587410db..e8bd64755b95 100644 --- a/src/legacy/server/config/schema.js +++ b/src/legacy/server/config/schema.js @@ -50,7 +50,7 @@ export default () => name: Joi.string().default(os.hostname()), // keep them for BWC, remove when not used in Legacy. // validation should be in sync with one in New platform. - // https://github.com/elastic/kibana/blob/master/src/core/server/http/http_config.ts + // https://github.com/opensearch-project/OpenSearch-Dashboards/blob/master/src/core/server/http/http_config.ts basePath: Joi.string() .default('') .allow('') diff --git a/src/plugins/discover/public/application/angular/response_handler.js b/src/plugins/discover/public/application/angular/response_handler.js index 7bbed1acea47..d0c9a49091c2 100644 --- a/src/plugins/discover/public/application/angular/response_handler.js +++ b/src/plugins/discover/public/application/angular/response_handler.js @@ -110,7 +110,7 @@ export const discoverResponseHandler = (response, dimensions) => { }); if (!converted) { // mimic a row of tables that doesn't have any tables - // https://github.com/elastic/kibana/blob/7bfb68cd24ed42b1b257682f93c50cd8d73e2520/src/kibana/components/vislib/components/zero_injection/inject_zeros.js#L32 + // https://github.com/opensearch-project/OpenSearch-Dashboards/blob/7bfb68cd24ed42b1b257682f93c50cd8d73e2520/src/kibana/components/vislib/components/zero_injection/inject_zeros.js#L32 converted = { rows: [] }; } diff --git a/src/plugins/embeddable/README.md b/src/plugins/embeddable/README.md index 55abe8606159..fb03e5893060 100644 --- a/src/plugins/embeddable/README.md +++ b/src/plugins/embeddable/README.md @@ -8,7 +8,7 @@ Containers are a special type of embeddable that can contain nested embeddables. ## Examples -Many example embeddables are implemented and registered [here](https://github.com/elastic/kibana/tree/master/examples/embeddable_examples). They can be played around with and explored [in the Embeddable Explorer example plugin](https://github.com/elastic/kibana/tree/master/examples/embeddable_explorer). Just run kibana with +Many example embeddables are implemented and registered [here](https://github.com/opensearch-project/OpenSearch-Dashboards/tree/master/examples/embeddable_examples). They can be played around with and explored [in the Embeddable Explorer example plugin](https://github.com/opensearch-project/OpenSearch-Dashboards/tree/master/examples/embeddable_explorer). Just run OpenSearch Dashboards with ``` yarn start --run-examples @@ -16,7 +16,7 @@ yarn start --run-examples and navigate to the Embeddable explorer app. -There is also an example of rendering dashboard container outside of dashboard app [here](https://github.com/elastic/kibana/tree/master/examples/dashboard_embeddable_examples). +There is also an example of rendering dashboard container outside of dashboard app [here](https://github.com/opensearch-project/OpenSearch-Dashboards/tree/master/examples/dashboard_embeddable_examples). ## Docs diff --git a/src/plugins/opensearch_dashboards_overview/README.md b/src/plugins/opensearch_dashboards_overview/README.md index efdd7c666c00..1183b109d76f 100644 --- a/src/plugins/opensearch_dashboards_overview/README.md +++ b/src/plugins/opensearch_dashboards_overview/README.md @@ -6,4 +6,4 @@ ## Development -See the [kibana contributing guide](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md) for instructions setting up your development environment. +See the [OpenSearch Dashboards contributing guide](https://github.com/opensearch-project/OpenSearch-Dashboards/blob/master/CONTRIBUTING.md) for instructions setting up your development environment. diff --git a/src/plugins/opensearch_dashboards_utils/common/state_containers/README.md b/src/plugins/opensearch_dashboards_utils/common/state_containers/README.md index c623e8b30643..42c072290d3e 100644 --- a/src/plugins/opensearch_dashboards_utils/common/state_containers/README.md +++ b/src/plugins/opensearch_dashboards_utils/common/state_containers/README.md @@ -1,2 +1,2 @@ * [docs](../../docs/state_containers) -* [api reference](https://github.com/elastic/kibana/tree/master/src/plugins/kibana_utils/docs/state_containers) \ No newline at end of file +* [api reference](https://github.com/opensearch-project/OpenSearch-Dashboards/tree/master/src/plugins/opensearch_dashboards_utils/docs/state_containers) \ No newline at end of file diff --git a/src/plugins/opensearch_dashboards_utils/common/state_containers/create_state_container_react_helpers.ts b/src/plugins/opensearch_dashboards_utils/common/state_containers/create_state_container_react_helpers.ts index b0984ad8d37c..69876059fc30 100644 --- a/src/plugins/opensearch_dashboards_utils/common/state_containers/create_state_container_react_helpers.ts +++ b/src/plugins/opensearch_dashboards_utils/common/state_containers/create_state_container_react_helpers.ts @@ -76,7 +76,7 @@ export const useContainerSelector = , * Creates helpers for using {@link StateContainer | State Containers} with react * * TODO Update link - * Refer to {@link https://github.com/elastic/kibana/blob/master/src/plugins/kibana_utils/docs/state_containers/react.md | guide} for details + * Refer to {@link https://github.com/opensearch-project/OpenSearch-Dashboards/blob/master/src/plugins/opensearch_dashboards_utils/docs/state_containers/react.md | guide} for details * @public */ export const createStateContainerReactHelpers = >() => { diff --git a/src/plugins/opensearch_dashboards_utils/common/state_containers/index.ts b/src/plugins/opensearch_dashboards_utils/common/state_containers/index.ts index e9614f707bd7..2ffa1c23fd1e 100644 --- a/src/plugins/opensearch_dashboards_utils/common/state_containers/index.ts +++ b/src/plugins/opensearch_dashboards_utils/common/state_containers/index.ts @@ -20,7 +20,7 @@ /** * State containers are Redux-store-like objects meant to help you manage state in your services or apps. * TODO: Update link - * Refer to {@link https://github.com/elastic/kibana/tree/master/src/plugins/kibana_utils/docs/state_containers | guides and examples} for more info + * Refer to {@link https://github.com/opensearch-project/OpenSearch-Dashboards/tree/master/src/plugins/opensearch_dashboards_utils/docs/state_containers | guides and examples} for more info * * @packageDocumentation */ diff --git a/src/plugins/opensearch_dashboards_utils/public/state_management/state_hash/state_hash.ts b/src/plugins/opensearch_dashboards_utils/public/state_management/state_hash/state_hash.ts index 8cd6c6808909..5bd0484f987f 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_management/state_hash/state_hash.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_management/state_hash/state_hash.ts @@ -95,7 +95,9 @@ export function persistState(state: State): string { 'This can usually be fixed by moving to a fresh tab, but could ' + 'be caused by a larger issue. If you are seeing this message regularly, ' + 'please file an issue at {gitHubIssuesUrl}.', - values: { gitHubIssuesUrl: 'https://github.com/elastic/kibana/issues' }, + values: { + gitHubIssuesUrl: 'https://github.com/opensearch-project/OpenSearch-Dashboards/issues', + }, } ); throw new Error(message); diff --git a/src/plugins/opensearch_dashboards_utils/public/state_sync/README.md b/src/plugins/opensearch_dashboards_utils/public/state_sync/README.md index b30e757f61a9..a78616a8980e 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_sync/README.md +++ b/src/plugins/opensearch_dashboards_utils/public/state_sync/README.md @@ -1,3 +1,3 @@ - [docs](../../docs/state_sync) - [demo plugins](../../../../../examples/state_containers_examples): run OpenSearch Dashboards with `--run-examples` flag. -- [api reference](https://github.com/elastic/kibana/tree/master/src/plugins/kibana_utils/docs/state_sync) +- [api reference](https://github.com/opensearch-project/OpenSearch-Dashboards/tree/master/src/plugins/opensearch_dashboards_utils/docs/state_sync) diff --git a/src/plugins/opensearch_dashboards_utils/public/state_sync/index.ts b/src/plugins/opensearch_dashboards_utils/public/state_sync/index.ts index fbe04b670936..4334cf3fdcf8 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_sync/index.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_sync/index.ts @@ -21,7 +21,7 @@ * State syncing utilities are a set of helpers for syncing your application state * with browser URL or browser storage. * - * They are designed to work together with {@link https://github.com/elastic/kibana/tree/master/src/plugins/kibana_utils/docs/state_containers | state containers}. But state containers are not required. + * They are designed to work together with {@link https://github.com/opensearch-project/OpenSearch-Dashboards/tree/master/src/plugins/opensearch_dashboards_utils/docs/state_containers | state containers}. But state containers are not required. * * State syncing utilities include: * @@ -33,7 +33,7 @@ * Listens for state updates in the URL and pushes them back to state. * * {@link ISessionStorageStateStorage} - Serializes state and persists it to browser storage. * - * Refer {@link https://github.com/elastic/kibana/tree/master/src/plugins/kibana_utils/docs/state_sync | here} for a complete guide and examples. + * Refer {@link https://github.com/opensearch-project/OpenSearch-Dashboards/tree/master/src/plugins/opensearch_dashboards_utils/docs/state_sync | here} for a complete guide and examples. * @packageDocumentation */ diff --git a/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync.ts b/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync.ts index aacbc45d8b4f..5504624767a3 100644 --- a/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync.ts +++ b/src/plugins/opensearch_dashboards_utils/public/state_sync/state_sync.ts @@ -53,7 +53,7 @@ export interface ISyncStateRef GitHub diff --git a/src/plugins/vis_type_vislib/public/vislib/response_handler.js b/src/plugins/vis_type_vislib/public/vislib/response_handler.js index 871ce97ad448..43c4abfd3f12 100644 --- a/src/plugins/vis_type_vislib/public/vislib/response_handler.js +++ b/src/plugins/vis_type_vislib/public/vislib/response_handler.js @@ -110,7 +110,7 @@ function handlerFunction(convertTable) { }); if (!converted) { // mimic a row of tables that doesn't have any tables - // https://github.com/elastic/kibana/blob/7bfb68cd24ed42b1b257682f93c50cd8d73e2520/src/kibana/components/vislib/components/zero_injection/inject_zeros.js#L32 + // https://github.com/opensearch-project/OpenSearch-Dashboards/blob/7bfb68cd24ed42b1b257682f93c50cd8d73e2520/src/opensearch-dashboards/components/vislib/components/zero_injection/inject_zeros.js#L32 converted = { rows: [] }; } diff --git a/src/plugins/visualize/public/application/components/experimental_vis_info.tsx b/src/plugins/visualize/public/application/components/experimental_vis_info.tsx index 4dad1466c56e..a6e6853c74c7 100644 --- a/src/plugins/visualize/public/application/components/experimental_vis_info.tsx +++ b/src/plugins/visualize/public/application/components/experimental_vis_info.tsx @@ -32,7 +32,7 @@ export const InfoComponent = () => { githubLink: ( GitHub