Skip to content

Commit

Permalink
Merge branch 'main' into feature/discover-interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwin-pc authored Aug 26, 2024
2 parents 5e6e818 + a5c3dc2 commit 8e91c03
Show file tree
Hide file tree
Showing 296 changed files with 16,275 additions and 2,252 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/7527.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Not highlighting Droppable Areas while dragging a field ([#7527](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7527))
2 changes: 2 additions & 0 deletions changelogs/fragments/7529.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feat:
- [VisBuilder-Next] Migration of legacy visualizations to VisBuilder by constructing the URL. ([#7529](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7529))
2 changes: 2 additions & 0 deletions changelogs/fragments/7640.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feat:
- [Workspace] Update workspace list page table ([#7640](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7640))
2 changes: 2 additions & 0 deletions changelogs/fragments/7652.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feat:
- Update permission settings appearance ([#7652](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7652))
2 changes: 2 additions & 0 deletions changelogs/fragments/7703.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feat:
- [Workspaces]Add features in use case card and preselect first use case ([#7703](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7703))
2 changes: 2 additions & 0 deletions changelogs/fragments/7708.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feat:
- Support workspace initial page ([#7708](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7708))
2 changes: 2 additions & 0 deletions changelogs/fragments/7712.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feat:
- Add New Page Header to Visualize ([#7712](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7712))
2 changes: 2 additions & 0 deletions changelogs/fragments/7744.yml
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))
2 changes: 2 additions & 0 deletions changelogs/fragments/7748.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feat:
- [Workspace]Fix click on workspace name not navigates to use case overview page ([#7748](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7748))
2 changes: 2 additions & 0 deletions changelogs/fragments/7749.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Breadcrumb is not correct when clicking inspect / edit in Assets page ([#7749](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7749))
2 changes: 2 additions & 0 deletions changelogs/fragments/7757.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feat:
- Add v9 theme (preview) ([#7757](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7757))
2 changes: 2 additions & 0 deletions changelogs/fragments/7768.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Fix the parameter misalignment in the workspace_detail_page ([#7768](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7768))
2 changes: 2 additions & 0 deletions changelogs/fragments/7771.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
refactor:
- [Workspace] Refactor: workspace detail page header ([#7771](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7771))
2 changes: 2 additions & 0 deletions changelogs/fragments/7777.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
refactor:
- [Look & Feel] Appearance Popover Button Change ([#7777](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7777))
2 changes: 2 additions & 0 deletions changelogs/fragments/7785.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feat:
- [Workspace] Add workspace navigation for default route ([#7785](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7785))
2 changes: 2 additions & 0 deletions changelogs/fragments/7795.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feat:
- Adjust the appearance of collaborator panel ([#7795](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7795))
2 changes: 2 additions & 0 deletions changelogs/fragments/7796.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Fix new header allowing their single-child's overflowing ([#7796](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7796))
4 changes: 4 additions & 0 deletions changelogs/fragments/7799.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
feat:
- Add external icon to `TopNavControlButtonData` and `TopNavControlLinkData` with `target: '_blank'` ([#7799](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7799))
- Add `iconGap` to `TopNavControlButtonData` and `TopNavControlLinkData` ([#7799](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7799))
- Bump OUI to 1.11.0 ([#7799](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7799))
2 changes: 2 additions & 0 deletions changelogs/fragments/7801.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feat:
- Add `flush` to `TopNavControlLinkData` ([#7801](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7801))
2 changes: 2 additions & 0 deletions changelogs/fragments/7802.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feat:
- Add home icon in left bottom ([#7802](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7802))
2 changes: 2 additions & 0 deletions changelogs/fragments/7804.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Fix query assistant fetching agent bug ([#7804](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7804))
2 changes: 2 additions & 0 deletions changelogs/fragments/7811.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
security:
- [CVE-2017-16100] Use a patched version for the `dns-sync` dependency ([#7811](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7811))
2 changes: 2 additions & 0 deletions changelogs/fragments/7812.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Correct size of dashboard panel options icon button ([#7812](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7812))
2 changes: 2 additions & 0 deletions changelogs/fragments/7817.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- [Workspace] maximum call stack error in use case service ([#7817](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7817))
2 changes: 2 additions & 0 deletions changelogs/fragments/7841.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feat:
- [Workspace]Remove default appended features ([#7841](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7841))
2 changes: 2 additions & 0 deletions changelogs/fragments/7842.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
refactor:
- [Workspace] Use small button, small padding and compressed. ([#7842](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7842))
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
"dependencies": {
"@aws-crypto/client-node": "^3.1.1",
"@elastic/datemath": "5.0.3",
"@elastic/eui": "npm:@opensearch-project/oui@1.10.0",
"@elastic/eui": "npm:@opensearch-project/oui@1.11.0",
"@elastic/good": "^9.0.1-kibana3",
"@elastic/numeral": "npm:@amoo-miki/[email protected]",
"@elastic/request-crypto": "2.0.0",
Expand Down Expand Up @@ -190,7 +190,7 @@
"core-js": "^3.6.5",
"deep-freeze-strict": "^1.1.1",
"del": "^6.1.1",
"dns-sync": "^0.2.1",
"dns-sync": "npm:@amoo-miki/dns-sync@^0.2.1",
"elastic-apm-node": "^3.43.0",
"elasticsearch": "^16.7.0",
"execa": "^4.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/osd-optimizer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ We only limit the number of workers we will start at any given time. If we start

### Caching

Bundles built by the the optimizer include a cache file which describes the information needed to determine if the bundle needs to be rebuilt when the optimizer is restarted. Caching is enabled by default and is very aggressive about invalidating the cache output, but if you need to disable caching you can pass `--no-cache` to `node scripts/build_opensearch_dashboards_platform_plugins`, or set the `OSD_OPTIMIZER_NO_CACHE` environment variable to anything (env overrides everything).
Bundles built by the optimizer include a cache file which describes the information needed to determine if the bundle needs to be rebuilt when the optimizer is restarted. Caching is enabled by default and is very aggressive about invalidating the cache output, but if you need to disable caching you can pass `--no-cache` to `node scripts/build_opensearch_dashboards_platform_plugins`, or set the `OSD_OPTIMIZER_NO_CACHE` environment variable to anything (env overrides everything).

When a bundle is determined to be up-to-date a worker is not started for the bundle. If running the optimizer with the `--dev/--watch` flag, then all the files referenced by cached bundles are watched for changes. Once a change is detected in any of the files referenced by the built bundle a worker is started. If a file is changed that is referenced by several bundles then workers will be started for each bundle, combining workers together to respect the worker limit.

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
$globalStyleConstant: 14;
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
$globalStyleConstant: 15;
8 changes: 6 additions & 2 deletions packages/osd-optimizer/src/common/theme_tags.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ it('returns default tags when passed undefined', () => {
"v7light",
"v8dark",
"v8light",
"v9dark",
"v9light",
]
`);
});
Expand All @@ -48,6 +50,8 @@ it('returns all tags when passed *', () => {
"v7light",
"v8dark",
"v8light",
"v9dark",
"v9light",
]
`);
});
Expand Down Expand Up @@ -81,13 +85,13 @@ it('returns specific tags when passed an array', () => {

it('throws when an invalid tag is in the array', () => {
expect(() => parseThemeTags(['v8light', 'v7light', 'bar'])).toThrowErrorMatchingInlineSnapshot(
`"Invalid theme tags [bar], options: [v7dark, v7light, v8dark, v8light]"`
`"Invalid theme tags [bar], options: [v7dark, v7light, v8dark, v8light, v9dark, v9light]"`
);
});

it('throws when an invalid tags in comma separated list', () => {
expect(() => parseThemeTags('v8light ,v7light,bar,box ')).toThrowErrorMatchingInlineSnapshot(
`"Invalid theme tags [bar, box], options: [v7dark, v7light, v8dark, v8light]"`
`"Invalid theme tags [bar, box], options: [v7dark, v7light, v8dark, v8light, v9dark, v9light]"`
);
});

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ it('builds expected bundles, saves bundle counts to metadata', async () => {
bar.cache.refresh();
expect(bar.cache.getModuleCount()).toBe(
// code + styles + style/css-loader runtimes + public path updater
25
33
);

expect(bar.cache.getReferencedFiles()?.map(absolutePathSerializer.serialize).sort())
Expand All @@ -195,6 +195,8 @@ it('builds expected bundles, saves bundle counts to metadata', async () => {
"<absolute path>/packages/osd-optimizer/src/__fixtures__/__tmp__/mock_repo/src/core/public/core_app/styles/_globals_v7light.scss",
"<absolute path>/packages/osd-optimizer/src/__fixtures__/__tmp__/mock_repo/src/core/public/core_app/styles/_globals_v8dark.scss",
"<absolute path>/packages/osd-optimizer/src/__fixtures__/__tmp__/mock_repo/src/core/public/core_app/styles/_globals_v8light.scss",
"<absolute path>/packages/osd-optimizer/src/__fixtures__/__tmp__/mock_repo/src/core/public/core_app/styles/_globals_v9dark.scss",
"<absolute path>/packages/osd-optimizer/src/__fixtures__/__tmp__/mock_repo/src/core/public/core_app/styles/_globals_v9light.scss",
"<absolute path>/packages/osd-optimizer/target/worker/entry_point_creator.js",
"<absolute path>/packages/osd-ui-shared-deps/public_path_module_creator.js",
]
Expand Down
2 changes: 2 additions & 0 deletions packages/osd-optimizer/src/optimizer/cache_keys.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ describe('getOptimizerCacheKey()', () => {
"v7light",
"v8dark",
"v8light",
"v9dark",
"v9light",
],
},
}
Expand Down
2 changes: 2 additions & 0 deletions packages/osd-ui-framework/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ module.exports = function (grunt) {
uiFrameworkCompile('src/kui_dark.scss', 'dist/kui_dark.css'),
uiFrameworkCompile('src/kui_next_light.scss', 'dist/kui_next_light.css'),
uiFrameworkCompile('src/kui_next_dark.scss', 'dist/kui_next_dark.css'),
uiFrameworkCompile('src/kui_v9_light.scss', 'dist/kui_v9_light.css'),
uiFrameworkCompile('src/kui_v9_dark.scss', 'dist/kui_v9_dark.css'),
]).then(done);
});
};
Loading

0 comments on commit 8e91c03

Please sign in to comment.