-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A4A: Sites Dashboard - Update and adds some improvements to the route…
…s code (#88800) * constants.js rename by constants.ts * Remove the A4A_SITES_DASHBOARD_DEFAULT_FEATURE constant * Add the missing key prop to NavITem * Move out the component the filtersMap constant * setSelectedSiteFeature method should accept undefined * Improve the Jetpack Preview Pane. Set Boost as the default selected tab * Move the Activity Preview Pane code to its own folder with the style.scss file * Add the missing siteId prop to the ActivityCardList We were getting a Warning in the console.
- Loading branch information
Showing
11 changed files
with
56 additions
and
77 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 @@ | ||
export const A4A_SITES_DASHBOARD_DEFAULT_CATEGORY = 'overview'; |
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
13 changes: 13 additions & 0 deletions
13
...k-cloud/sections/agency-dashboard/sites-overview/site-feature-previews/activity/index.tsx
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,13 @@ | ||
import ActivityLogV2 from 'calypso/my-sites/activity/activity-log-v2'; | ||
import SitePreviewPaneContent from '../../site-preview-pane/site-preview-pane-content'; | ||
|
||
import 'calypso/my-sites/activity/activity-log-v2/style.scss'; | ||
import './style.scss'; | ||
|
||
export function JetpackActivityPreview() { | ||
return ( | ||
<SitePreviewPaneContent> | ||
<ActivityLogV2 /> | ||
</SitePreviewPaneContent> | ||
); | ||
} |
3 changes: 3 additions & 0 deletions
3
...-cloud/sections/agency-dashboard/sites-overview/site-feature-previews/activity/style.scss
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,3 @@ | ||
.activity-log-v2 { | ||
text-align: left; | ||
} |
20 changes: 0 additions & 20 deletions
20
...cloud/sections/agency-dashboard/sites-overview/site-feature-previews/jetpack-activity.tsx
This file was deleted.
Oops, something went wrong.
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