Skip to content

Commit

Permalink
refactor(config): sw-933 activate instances for satellite (#1067)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcabrera authored Feb 23, 2023
1 parent 809425a commit 79fbda6
Show file tree
Hide file tree
Showing 6 changed files with 352 additions and 410 deletions.
1 change: 1 addition & 0 deletions public/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@
"tabHosts_OpenShift-dedicated-metrics_other": "{{count}} instances",
"tabInstances": "Current monthly instances",
"tabInstances_RHEL": "Current systems",
"tabInstances_Satellite": "Current systems",
"tabSubscriptions": "Current subscriptions",
"tab_disabled": "The inventory display is currently disabled.",
"tableAriaLabel": "{{appName}} systems inventory table.",
Expand Down
14 changes: 7 additions & 7 deletions src/components/i18n/__tests__/__snapshots__/i18n.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -744,15 +744,11 @@ exports[`I18n Component should generate a predictable locale key output snapshot
},
{
"key": "curiosity-inventory.label",
"match": "translate('curiosity-inventory.label', { context: 'numberOfGuests', count: numberOfGuests.value }, [ <PfLabel color="blue" /> ])",
},
{
"key": "curiosity-inventory.measurementType",
"match": "translate('curiosity-inventory.measurementType', { context: measurementType?.value })",
"match": "translate('curiosity-inventory.label', { context: [INVENTORY_TYPES.CATEGORY, category?.value] })",
},
{
"key": "curiosity-inventory.cloudProvider",
"match": "translate('curiosity-inventory.cloudProvider', { context: cloudProvider?.value })",
"key": "curiosity-inventory.label",
"match": "translate('curiosity-inventory.label', { context: [INVENTORY_TYPES.CLOUD_PROVIDER, cloudProvider?.value] })",
},
],
},
Expand Down Expand Up @@ -954,6 +950,10 @@ exports[`I18n Component should have locale keys that exist in the default langua
"file": "./src/config/product.satellite.js",
"key": "curiosity-inventory.label",
},
{
"file": "./src/config/product.satellite.js",
"key": "curiosity-inventory.label",
},
]
`;

Expand Down
14 changes: 11 additions & 3 deletions src/components/router/__tests__/__snapshots__/router.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2374,15 +2374,23 @@ exports[`Router Component should render a basic component: basic 1`] = `
"id": "display_name",
"isSortable": true,
},
{
"cell": [Function],
"cellWidth": 15,
"id": "number_of_guests",
"isSortable": true,
"isWrappable": true,
},
{
"cell": [Function],
"cellWidth": 20,
"id": "measurement_type",
"id": "category",
"isSortable": true,
},
{
"cell": [Function],
"cellWidth": 15,
"id": "sockets",
"id": "Sockets",
"isSortable": true,
"isWrappable": true,
},
Expand Down Expand Up @@ -2422,7 +2430,7 @@ exports[`Router Component should render a basic component: basic 1`] = `
"offset": 0,
"sort": "next_event_date",
},
"productDisplay": "partial",
"productDisplay": "capacity",
"productGroup": "Satellite",
"productId": "Satellite",
"productLabel": "Satellite",
Expand Down
Loading

0 comments on commit 79fbda6

Please sign in to comment.