Skip to content

Commit

Permalink
Merge branch 'main' into kavilla/s3_query
Browse files Browse the repository at this point in the history
Signed-off-by: Kawika Avilla <[email protected]>
  • Loading branch information
kavilla authored Sep 3, 2024
2 parents dca957b + c7843fe commit 1d168ab
Show file tree
Hide file tree
Showing 106 changed files with 4,457 additions and 1,279 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/7805.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feat:
- Refractor the style of recent items card ([#7805](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7805))
2 changes: 2 additions & 0 deletions changelogs/fragments/7839.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- Enable direct query connections to support in workspace ([#7839](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7839))
2 changes: 2 additions & 0 deletions changelogs/fragments/7859.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
refactor:
- Add workspace info in index pattern and asset header and update workspace header ([#7859](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7859))
2 changes: 2 additions & 0 deletions changelogs/fragments/7877.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feat:
- [Workspace] Add search use case overview page ([#7877](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7877))
2 changes: 2 additions & 0 deletions changelogs/fragments/7910.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
refactor:
- Update page header for edit object page ([#7910](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7910))
2 changes: 2 additions & 0 deletions changelogs/fragments/7916.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
refactor:
- Update header for data source management when in workspace ([#7916](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7916))
2 changes: 2 additions & 0 deletions changelogs/fragments/7920.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
refactor:
- [Workspace] Refactor get start card at new home page ([#7920](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7920))
2 changes: 2 additions & 0 deletions changelogs/fragments/7933.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feat:
- [Workspace]Redirect to use case landing page after workspace create ([#7933](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7933))
2 changes: 2 additions & 0 deletions changelogs/fragments/7954.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- [Workspace]dynamicConfigServiceMock not found in workspace routes UT ([#7954](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7954))
1 change: 1 addition & 0 deletions src/core/public/chrome/chrome_service.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ export class ChromeService {

getHeaderComponent: () => (
<Header
http={http}
loadingCount$={http.getLoadingCount$()}
application={application}
appTitle$={appTitle$.pipe(takeUntil(this.stop$))}
Expand Down
208 changes: 202 additions & 6 deletions src/core/public/chrome/ui/header/__snapshots__/header.test.tsx.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/core/public/chrome/ui/header/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,6 @@
width: 100%;
}

#globalHeaderBars {
#globalHeaderBars:has(.primaryApplicationHeader) {
border-bottom: 1px solid $euiColorLightShade;
}
1 change: 1 addition & 0 deletions src/core/public/chrome/ui/header/header.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ function mockProps() {
const application = applicationServiceMock.createInternalStartContract();

return {
http,
application,
opensearchDashboardsVersion: '1.0.0',
appTitle$: new BehaviorSubject('test'),
Expand Down
7 changes: 5 additions & 2 deletions src/core/public/chrome/ui/header/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ import { HomeLoader } from './home_loader';
import { RecentItems } from './recent_items';

export interface HeaderProps {
http: HttpStart;
opensearchDashboardsVersion: string;
application: InternalApplicationStart;
appTitle$: Observable<string>;
Expand Down Expand Up @@ -120,6 +121,7 @@ export interface HeaderProps {
}

export function Header({
http,
opensearchDashboardsVersion,
opensearchDashboardsDocLink,
application,
Expand Down Expand Up @@ -343,11 +345,12 @@ export function Header({
const renderRecentItems = () => (
<EuiHeaderSectionItem border={useUpdatedHeader ? 'none' : 'right'}>
<RecentItems
http={http}
navLinks$={observables.navLinks$}
basePath={basePath}
recentlyAccessed$={observables.recentlyAccessed$}
workspaceList$={observables.workspaceList$}
navigateToUrl={application.navigateToUrl}
navLinks$={observables.navLinks$}
basePath={basePath}
renderBreadcrumbs={renderBreadcrumbs(true)}
buttonSize={useApplicationHeader ? 's' : 'xs'}
/>
Expand Down
Loading

0 comments on commit 1d168ab

Please sign in to comment.