Skip to content

Commit

Permalink
Jetpack Manage: Sites Dashboard V2 Follow-up Tasks (#88331)
Browse files Browse the repository at this point in the history
* Hide boost score #356

* Translate Plugins #353

* Update nav menu header styles #354

* Fix tab height
  • Loading branch information
gogdzl authored and billrobbins committed Mar 20, 2024
1 parent 2d61a8e commit 6c43e14
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export function JetpackPreviewPane( {
),
createFeaturePreview(
'jetpack_plugins',
'Plugins',
translate( 'Plugins' ),
true,
selectedFeatureId,
setSelectedFeatureId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
display: flex;
justify-content: flex-start;
align-items: center;
height: 48px;
min-height: 48px;
padding: 0 32px;
border-bottom: 1px solid var(--studio-gray-0);
overflow: auto;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,12 @@
.sites-overview__column-action-button,
.sites-overview__row-status,
.toggle-activate-monitoring__toggle-button,
.sites-dataviews__favorite-btn-wrapper {
.sites-dataviews__favorite-btn-wrapper,
.sites-overview__boost-score {
display: none;
}

td:nth-child(n+2):nth-child(-n+8) {
td:nth-child(n+3):nth-child(-n+9) {
display: none;
}

Expand Down Expand Up @@ -280,7 +281,8 @@
.sites-overview__column-action-button,
.sites-overview__row-status,
.toggle-activate-monitoring__toggle-button,
.sites-dataviews__favorite-btn-wrapper {
.sites-dataviews__favorite-btn-wrapper,
.sites-overview__boost-score {
display: none;
}

Expand Down
2 changes: 2 additions & 0 deletions client/jetpack-cloud/sections/sidebar-navigation/sites.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
JETPACK_MANAGE_OVERVIEW_LINK,
} from './lib/constants';
import { MenuItemProps } from './types';
import './style.scss';

const SitesSidebar = ( { path }: { path: string } ) => {
const translate = useTranslate();
Expand Down Expand Up @@ -59,6 +60,7 @@ const SitesSidebar = ( { path }: { path: string } ) => {
return (
<NewSidebar
isJetpackManage
className="sites-dashboard__sidebar"
path={ JETPACK_MANAGE_SITES_LINK }
menuItems={ menuItems }
title={ translate( 'Sites' ) }
Expand Down
9 changes: 9 additions & 0 deletions client/jetpack-cloud/sections/sidebar-navigation/style.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.sites-dashboard__sidebar {
.sidebar-v2__navigator-sub-menu-header {
color: var(--studio-black);
}

.sidebar-v2__navigator-group-description {
font-size: rem(13px);
}
}

0 comments on commit 6c43e14

Please sign in to comment.