-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(productView): issues/524 display satellite (#538)
* locale, satellite strings * productView, basic product display * productViewSatellite, apply satellite to basic display * routerTypes, satellite routing * rhsmApiTypes, satellite products
- Loading branch information
Showing
16 changed files
with
1,363 additions
and
42 deletions.
There are no files selected for viewing
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
76 changes: 76 additions & 0 deletions
76
src/components/productView/__tests__/__snapshots__/productView.test.js.snap
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,76 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`ProductView Component should render a non-connected component: non-connected 1`] = ` | ||
<PageLayout> | ||
<PageHeader | ||
includeTour={true} | ||
productLabel="lorem ipsum" | ||
t={[Function]} | ||
> | ||
t(curiosity-view.title, {"appName":"Subscription Watch","context":"lorem ipsum"}) | ||
</PageHeader> | ||
<PageMessages | ||
className="" | ||
> | ||
<Connect(BannerMessages) | ||
productId="lorem ipsum" | ||
viewId="dolor sit" | ||
/> | ||
</PageMessages> | ||
<PageToolbar | ||
className="" | ||
> | ||
<Connect(Toolbar) | ||
productId="lorem ipsum" | ||
query={Object {}} | ||
viewId="dolor sit" | ||
/> | ||
</PageToolbar> | ||
<PageSection | ||
className="" | ||
> | ||
<Connect(GraphCard) | ||
cardTitle="t(curiosity-graph.socketsHeading)" | ||
key="lorem ipsum" | ||
productId="lorem ipsum" | ||
productLabel="lorem ipsum" | ||
query={Object {}} | ||
viewId="dolor sit" | ||
/> | ||
</PageSection> | ||
<PageSection | ||
className="" | ||
> | ||
<Connect(InventoryTabs) | ||
productId="lorem ipsum" | ||
> | ||
<InventoryTab | ||
active={false} | ||
key="hostsTab" | ||
title="t(curiosity-inventory.tab, {\\"context\\":\\"hosts\\"})" | ||
> | ||
<Connect(InventoryList) | ||
key="lorem ipsum" | ||
productId="lorem ipsum" | ||
query={Object {}} | ||
viewId="dolor sit" | ||
/> | ||
</InventoryTab> | ||
<InventoryTab | ||
active={false} | ||
key="subscriptionsTab" | ||
title="t(curiosity-inventory.tab, {\\"context\\":\\"subscriptions\\"})" | ||
> | ||
<Connect(InventorySubscriptions) | ||
key="lorem ipsum" | ||
productId="lorem ipsum" | ||
query={Object {}} | ||
viewId="dolor sit" | ||
/> | ||
</InventoryTab> | ||
</Connect(InventoryTabs)> | ||
</PageSection> | ||
</PageLayout> | ||
`; | ||
|
||
exports[`ProductView Component should render nothing if path and product parameters are empty: empty 1`] = `""`; |
Oops, something went wrong.