Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
Merge master into actions feature branch (#1152)
Browse files Browse the repository at this point in the history
* Add tags to embed snippets in docs (#1123)

* Add tags to basic page

* Add tags for doc embedding

* npm audit fix (#1121)

* Merge Edge Feature Branch into Master (#1127)

* Add scaffolding for packages page (#1063)

* pakages tab

* Packages Folder

* Reusable Header Components

* package svg

* fix for mary ellen's comments

* Fix for Stephen's comments

* README update 1

* oneProperty declarations

* Fix 2 for MaryEllen's comments

* 8/8 EOD commit

* 8/9 SOD

* configModels

* isaac-d-t

* 8 13 localhost

* remove package title and header

* complete reducer

* crazy translation error

* scafolding bug fixes

* Revert "8 13 localhost"

This reverts commit 9de75d0.

* readme merge

* fix for mary ellen's cooments 1

* remove css from svg

* removing warnings

* copy right and spacing

* work in progress

* Display content in packages grid (#1068)

* pakages tab

* Packages Folder

* Reusable Header Components

* package svg

* fix for mary ellen's comments

* Fix for Stephen's comments

* README update 1

* oneProperty declarations

* Fix 2 for MaryEllen's comments

* 8/8 EOD commit

* 8/9 SOD

* configModels

* isaac-d-t

* 8 13 localhost

* remove package title and header

* complete reducer

* crazy translation error

* scafolding bug fixes

* Revert "8 13 localhost"

This reverts commit 9de75d0.

* readme merge

* Revert "Revert "8 13 localhost""

This reverts commit 2b42e8c.

* fix for mary ellen's cooments 1

* remove css from svg

* removing warnings

* packagesColumnDefs

* copy right and spacing

* work in progress

* Display data in grid

* reset app.config

* fix for mary ellen's comments

* Merge Master into Edge Feature Branch (#1073)

* Dev Walkthru: add a new Panel to the Dashboard (#1062)

* Dev Walkthru: add a new Panel to the Dashboard

* small tweaks, review feedback

* fix bad code end marker

* Diagnostics bugFix (#1065)

* flatMap

* Dummy comment to retrigger build

* Add Rule Diagnostics (#1064)

Add diagnostics logging for rule create/update events. Added the following metrics:
Rule_NewClick
Rule_EditClick
Rule_DeviceGroupClick
Rule_CalculationClick
Rule_FieldClick
Rule_OperatorClick
Rule_AddConditionClick
Rule_SeverityLevelClick
Rule_StatusToggle
Rule_ApplyClick
Rule_CancelClick
Rule_TopXCloseClick

Also includes new "sessionid" sections of diagnostics call, which logs the time in ms since Jan 1, 1970 when the page was loaded (amplitude expects session id in this format). This fields will be added by diagnostics to enable logging of session id to amplitude--until those changes go in it will be ignored by the backend.

* Add newPackage Flyout (#1070)

* newPackage commit 1

* onChange

* upload successful

* add new package to grid

* newPackage complete

* alignment

* remove color inside theme

* combine

* .new-package-header combine

* error message

* single delete

* Delete package (#1076)

* newPackage commit 1

* onChange

* upload successful

* add new package to grid

* newPackage complete

* alignment

* remove color inside theme

* combine

* .new-package-header combine

* error message

* single delete

* deletePackage commit 1

* deletePackage commit 2

* delete commit 3

* delete commit 4

* README.md

* ME's review comments fix

* Fix for Elvin's Comments

* fix for stephen's comments

* Merge Master into Edge feature branch (#1083)

* Dev Walkthru: add a new Panel to the Dashboard (#1062)

* Dev Walkthru: add a new Panel to the Dashboard

* small tweaks, review feedback

* fix bad code end marker

* Diagnostics bugFix (#1065)

* flatMap

* Dummy comment to retrigger build

* Add Rule Diagnostics (#1064)

Add diagnostics logging for rule create/update events. Added the following metrics:
Rule_NewClick
Rule_EditClick
Rule_DeviceGroupClick
Rule_CalculationClick
Rule_FieldClick
Rule_OperatorClick
Rule_AddConditionClick
Rule_SeverityLevelClick
Rule_StatusToggle
Rule_ApplyClick
Rule_CancelClick
Rule_TopXCloseClick

Also includes new "sessionid" sections of diagnostics call, which logs the time in ms since Jan 1, 1970 when the page was loaded (amplitude expects session id in this format). This fields will be added by diagnostics to enable logging of session id to amplitude--until those changes go in it will be ignored by the backend.

* Delete .travis.yml (#1066)

* Delete .travis.yml

* Update README.md

* Add diagnostics for new device funnel (#1075)

* Add device metrics

Add metrics for new device flyout

* Add device created metric

Add metric on device create so we can log device id for physical devices

* Fix rule apply event

Rule apply click event was only emitted for new rules. Move call so it is emitted if a rule is added or edited.

* Address comments and align metric names

Address comments. Update metric names to be in same format as rule metrics

* fix insertion when entities are null for devices and rules (#1078)

* Refactor to make walkthrough code less intrusive (#1069)

* refactor to make walkthrough code less intrusive

* refactor after meeting with team

* update MD files, move httpClient

* review feedback

* fix nit

* update breadcrumbs to use isDef instead of checking undefined

* example

* add packages

* Deployments page scaffolding (#1088)

* Merge Master into Edge Feature Branch to keep it up to date (#1091)

* Dev Walkthru: add a new Panel to the Dashboard (#1062)

* Dev Walkthru: add a new Panel to the Dashboard

* small tweaks, review feedback

* fix bad code end marker

* Diagnostics bugFix (#1065)

* flatMap

* Dummy comment to retrigger build

* Add Rule Diagnostics (#1064)

Add diagnostics logging for rule create/update events. Added the following metrics:
Rule_NewClick
Rule_EditClick
Rule_DeviceGroupClick
Rule_CalculationClick
Rule_FieldClick
Rule_OperatorClick
Rule_AddConditionClick
Rule_SeverityLevelClick
Rule_StatusToggle
Rule_ApplyClick
Rule_CancelClick
Rule_TopXCloseClick

Also includes new "sessionid" sections of diagnostics call, which logs the time in ms since Jan 1, 1970 when the page was loaded (amplitude expects session id in this format). This fields will be added by diagnostics to enable logging of session id to amplitude--until those changes go in it will be ignored by the backend.

* Delete .travis.yml (#1066)

* Delete .travis.yml

* Update README.md

* Add diagnostics for new device funnel (#1075)

* Add device metrics

Add metrics for new device flyout

* Add device created metric

Add metric on device create so we can log device id for physical devices

* Fix rule apply event

Rule apply click event was only emitted for new rules. Move call so it is emitted if a rule is added or edited.

* Address comments and align metric names

Address comments. Update metric names to be in same format as rule metrics

* fix insertion when entities are null for devices and rules (#1078)

* Refactor to make walkthrough code less intrusive (#1069)

* refactor to make walkthrough code less intrusive

* refactor after meeting with team

* update MD files, move httpClient

* review feedback

* fix nit

* update breadcrumbs to use isDef instead of checking undefined

* Treat text and number correctly in device jobs (#1082)

* treat text and number correctly in device jobs

* fix formatting nit

* Rule updates need to send ETag (#1084)

UI needs to send the ETag when updating rules.

* Rule enable/disable needs to update ETag in redux store (#1086)

* Small updates for the add page walkthrough (#1089)

* Making cloudToDeviceMethod to empty an string (#1090)

* Rename Package Flyouts to be consistent with rest of UI (#1087)

* Rename Package Flyouts to be consistent with rest of UI

* rename path

* Add glimmer icon to newly added grid items (#1095)

* Add glimmer icon to newly added grid items

* Add new Deployment (#1096)

* Add new Deployment

* Fix for ME's review coments

* DevicesByCondition

* undefined

* Fix for ME's 2nd comments

* alphabetical order

* Merge Master into Edge Feature Branch (#1100)

* Merge Master into Feature branch for Edge

* nits

* Add glimmer icon for newly added deployments (#1101)

* More context bar arrangement; also page titles (#1104)

* More context bar arrangement; also page titles

* format per vscode auto formatting

* implement new ComponentArray and change existing code to use it (#1108)

* Followup to remove more keys for ComponentArray usage (#1109)

* Merge Master with Feature Branch (#1111)

* Dev Walkthru: add a new Panel to the Dashboard (#1062)

* Dev Walkthru: add a new Panel to the Dashboard

* small tweaks, review feedback

* fix bad code end marker

* Diagnostics bugFix (#1065)

* flatMap

* Dummy comment to retrigger build

* Add Rule Diagnostics (#1064)

Add diagnostics logging for rule create/update events. Added the following metrics:
Rule_NewClick
Rule_EditClick
Rule_DeviceGroupClick
Rule_CalculationClick
Rule_FieldClick
Rule_OperatorClick
Rule_AddConditionClick
Rule_SeverityLevelClick
Rule_StatusToggle
Rule_ApplyClick
Rule_CancelClick
Rule_TopXCloseClick

Also includes new "sessionid" sections of diagnostics call, which logs the time in ms since Jan 1, 1970 when the page was loaded (amplitude expects session id in this format). This fields will be added by diagnostics to enable logging of session id to amplitude--until those changes go in it will be ignored by the backend.

* Delete .travis.yml (#1066)

* Delete .travis.yml

* Update README.md

* Add diagnostics for new device funnel (#1075)

* Add device metrics

Add metrics for new device flyout

* Add device created metric

Add metric on device create so we can log device id for physical devices

* Fix rule apply event

Rule apply click event was only emitted for new rules. Move call so it is emitted if a rule is added or edited.

* Address comments and align metric names

Address comments. Update metric names to be in same format as rule metrics

* fix insertion when entities are null for devices and rules (#1078)

* Refactor to make walkthrough code less intrusive (#1069)

* refactor to make walkthrough code less intrusive

* refactor after meeting with team

* update MD files, move httpClient

* review feedback

* fix nit

* update breadcrumbs to use isDef instead of checking undefined

* Treat text and number correctly in device jobs (#1082)

* treat text and number correctly in device jobs

* fix formatting nit

* Rule updates need to send ETag (#1084)

UI needs to send the ETag when updating rules.

* Rule enable/disable needs to update ETag in redux store (#1086)

* Small updates for the add page walkthrough (#1089)

* Making cloudToDeviceMethod to empty an string (#1090)

* rearrange controls on context menus (#1093)

* Add links to Time Series Insights from Dashboard and Device Details Page (#1085)

Add a Hyperlink shared component
Fetch the Time Series Explorer URL from Telemetry
Add link to dashboard and device details

* Adding curly brackets in json Payload (#1094)

* Fix alignment of stats on dashbaord (quick fix) (#1097)

* Move Add Condition button below the rule conditions (#1103)

* Update section decriptions to be more actionable on Device Details (#1110)

* Fix device insert reducer function so the id in the items list is a string (not an array) (#1114)

* Adding Deployment Details Page (#1112)

* Squash DeploymentDetails commits

* initial review fixes

* review comments fix part 2

* fix for Stephen's review comments

* adding test page and minor fixes

* ByQuery

* fix deployments tests

* Delete Modal for Packages and Deployments Page (#1115)

* delete Packages and delete Deployments

* remove deleteDeployment.container

* remove componentArray from deploymentDetailsGrid

* remove payload

* onrowclicked and softselected for deviceDetails

* remove comment

* id = ''

* Adding Deployment message details formatting and removing onRowClick (#1117)

* Deployment message details formatting and removing onRowClick

* fix for stephen's comments

* minimize setState calls

* refactoring componentWillReceiveProps

* semicolon and single line

* Replacing ids with Names and removing IOThubmanager's dependency on c… (#1120)

* replacing ids with Names and removing IOThubmanager's dependency on config service

* type

* Adding In-porduct telemetry for Packages and Deployments (#1122)

* Adding In-porduct telemetry for Packages and Deployments

* remove unused model

* Styling update (#1124)

* Styling update

* red *

* new line

* Merge master into Edge Feature branch (#1125)

* Dev Walkthru: add a new Panel to the Dashboard (#1062)

* Dev Walkthru: add a new Panel to the Dashboard

* small tweaks, review feedback

* fix bad code end marker

* Diagnostics bugFix (#1065)

* flatMap

* Dummy comment to retrigger build

* Add Rule Diagnostics (#1064)

Add diagnostics logging for rule create/update events. Added the following metrics:
Rule_NewClick
Rule_EditClick
Rule_DeviceGroupClick
Rule_CalculationClick
Rule_FieldClick
Rule_OperatorClick
Rule_AddConditionClick
Rule_SeverityLevelClick
Rule_StatusToggle
Rule_ApplyClick
Rule_CancelClick
Rule_TopXCloseClick

Also includes new "sessionid" sections of diagnostics call, which logs the time in ms since Jan 1, 1970 when the page was loaded (amplitude expects session id in this format). This fields will be added by diagnostics to enable logging of session id to amplitude--until those changes go in it will be ignored by the backend.

* Delete .travis.yml (#1066)

* Delete .travis.yml

* Update README.md

* Add diagnostics for new device funnel (#1075)

* Add device metrics

Add metrics for new device flyout

* Add device created metric

Add metric on device create so we can log device id for physical devices

* Fix rule apply event

Rule apply click event was only emitted for new rules. Move call so it is emitted if a rule is added or edited.

* Address comments and align metric names

Address comments. Update metric names to be in same format as rule metrics

* fix insertion when entities are null for devices and rules (#1078)

* Refactor to make walkthrough code less intrusive (#1069)

* refactor to make walkthrough code less intrusive

* refactor after meeting with team

* update MD files, move httpClient

* review feedback

* fix nit

* update breadcrumbs to use isDef instead of checking undefined

* Treat text and number correctly in device jobs (#1082)

* treat text and number correctly in device jobs

* fix formatting nit

* Rule updates need to send ETag (#1084)

UI needs to send the ETag when updating rules.

* Rule enable/disable needs to update ETag in redux store (#1086)

* Small updates for the add page walkthrough (#1089)

* Making cloudToDeviceMethod to empty an string (#1090)

* rearrange controls on context menus (#1093)

* Add links to Time Series Insights from Dashboard and Device Details Page (#1085)

Add a Hyperlink shared component
Fetch the Time Series Explorer URL from Telemetry
Add link to dashboard and device details

* Adding curly brackets in json Payload (#1094)

* Fix alignment of stats on dashbaord (quick fix) (#1097)

* Move Add Condition button below the rule conditions (#1103)

* Update section decriptions to be more actionable on Device Details (#1110)

* fix shell.test.js (#1116)

* unit Test fix

* entities length > 0

* Fix for bugBash bugs (#1130)

# Conflicts:
#	src/store/reducers/deploymentsReducer.js

* keyboard accessibility fix (#1131)

* Update User Voice Link (#1136)

Update the user voice link to point to our new Solution Accelerators User Voice.

* Add New Edge device (#1135)

* Add New Edge device

* indentation

* Get Auth Token in an Async way to resolve dashboard Oops error when idle (#1147)
  • Loading branch information
Molly Moen authored Nov 5, 2018
1 parent 3e78be2 commit 20f2500
Show file tree
Hide file tree
Showing 128 changed files with 4,305 additions and 718 deletions.
166 changes: 158 additions & 8 deletions public/locales/en/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,20 @@
"dashboard": "Dashboard",
"devices": "Devices",
"rules": "Rules",
"maintenance": "Maintenance"
"maintenance": "Maintenance",
"packages": "Packages",
"deployments": "Deployments"
},
"errorFormat": "Error: {{message}}",
"edgeAgentStatus": {
"200": "OK.",
"400": "The deployment configuration is malformed or invalid.",
"406": "The device is offline or not sending status reports.",
"412": "The deployment configuration schema version is invalid.",
"417": "The device's deployment configuration is not set.",
"500": "An error occurred in the IoT Edge runtime.",
"unknown": "An unknown code received."
},
"errorCode": {
"noResponse": "Oops, there was no response from the server.",
"notLoggedIn": "You need to login to call the service.",
Expand Down Expand Up @@ -166,6 +177,7 @@
"lastRefreshed": "Last refreshed"
},
"devices": {
"title": "Devices",
"searchPlaceholder": "Search devices...",
"noneFound": "No devices found.",
"refresh": "Refresh",
Expand Down Expand Up @@ -206,6 +218,11 @@
"description": "To run a method on one or more devices, close this pane, select the checkbox for the device(s), click <1><0>{{jobs}}</0></1>, and then select <3><0>{{methods}}</0></3>.",
"noneExist": "No methods found for this device."
},
"modules": {
"title": "Deployment messages",
"description": "Edge module messages on the device",
"noneExist": "No messages found for this device"
},
"properties": {
"title": "Properties",
"description": "To change a property on one or more devices, close this pane, select the checkbox for the device(s), click <1><0>{{jobs}}</0></1>, and then select <3><0>{{properties}}</0></3>.",
Expand Down Expand Up @@ -315,10 +332,15 @@
"count": {
"label": "Number of devices"
},
"device": {
"label": "Device",
"device": "IoT device",
"edgeDevice": "IoT Edge device"
},
"deviceType": {
"label": "Device type",
"label": "Type",
"simulated": "Simulated",
"physical": "Physical"
"physical": "Real"
},
"deviceId": {
"label": "Device ID",
Expand Down Expand Up @@ -354,22 +376,24 @@
},
"SIMManagement": {
"title": "SIM Management",
"provider" : "Provider",
"provider": "Provider",
"summaryHeader": "Summary and instructions",
"here": "here",
"select": "Select...",
"header":{
"telefonica": "As a Telefónica IoT customer you have the advantage of adding this feature to enrich automatically your Azure Remote Monitoring Solution with the connectivity data available in Telefónica IoT Connectivity Platform (Network Information, Data Consumption & Network Based Location)." },
"header": {
"telefonica": "As a Telefónica IoT customer you have the advantage of adding this feature to enrich automatically your Azure Remote Monitoring Solution with the connectivity data available in Telefónica IoT Connectivity Platform (Network Information, Data Consumption & Network Based Location)."
},
"description": {
"telefonica": "This feature is in Preview. In order to sync your connectivity data into Azure Remote Monitoring Solution, please fill a request <1><0>url</0></1>, select the option “Azure Remote Monitoring” and include your contact data and we will automatically activate your account. \n\nIf you are not a Telefónica client yet and you want to enjoy this or other IoT Connectivity Cloud Ready services, you can contact us <1><0>url</0></1> and select the option “Connectivity”; we will be glad to help you."
},
"operator":{
"operator": {
"telefonica": "Telefónica"
}
}
}
},
"rules": {
"title": "Rules",
"searchPlaceholder": "Search rules...",
"severity": {
"info": "Info",
Expand Down Expand Up @@ -563,6 +587,128 @@
"P7D": "Last week",
"P1M": "Last month"
},
"deployments": {
"title": "Deployments",
"flyouts": {
"new": {
"contextMenuName": "New deployment",
"title": "New deployment",
"apply": "Apply",
"cancel": "Cancel",
"close": "Close",
"type": "Package type",
"deviceGroup": "Device Group",
"name": "Name",
"priority": "Priority",
"package": "Package",
"typePlaceHolder": "Select package type",
"packagePlaceHolder": "Select package",
"deviceGroupPlaceHolder": "Select device group",
"priorityPlaceHolder": "Enter priority",
"namePlaceHolder": "Enter name",
"targetText": "targeted devices",
"infoText": "This deployment runs continuously. Every edge device (and any you add in the future) in the selected device group will receive this package.",
"successText": "View your deployment status detail for <1><0>{{deploymentName}}</0></1>.",
"creating": "Creating deployment",
"validation": {
"required": "Is required",
"positiveInteger": "Must be a positive integer less than 2147483648"
}
}
},
"details": {
"deploymentName": "Deployment name",
"deviceGroup": "Device group",
"start": "Start",
"packageType": "Package type",
"package": "Package",
"priority": "Priority",
"applied": "Applied",
"targeted": "Targeted",
"failed": "Failed",
"succeeded": "Succeeded",
"pending": "Pending",
"devicesAffected": "Devices Affected",
"grid": {
"name": "Name",
"deploymentStatus": "Deployment Status",
"firmware": "Firmware",
"lastMessage": "Last Message",
"start": "Start",
"end": "End"
}
},
"modals": {
"delete": {
"contextMenuName": "Delete",
"title": "Delete Deployment?",
"info": "Deleting '{{deploymentName}}' will stop this deployment from being applied to these devices. It may result in a lower priority edge manifest being applied."
}
},
"typeOptions": {
"edgemanifest": "Edge Manifest",
"unknown": "Unknown"
},
"grid": {
"name": "Name",
"package": "Package",
"deviceGroup": "Device group",
"priority": "Priority",
"type": "Package Type",
"targeted": "Targeted",
"applied": "Applied",
"failed": "Failed",
"succeeded": "Succeeded",
"dateCreated": "Created On"
}
},
"packages": {
"searchPlaceholder": "Search packages...",
"noneFound": "No packages found.",
"title": "Packages",
"total": "total packages",
"new": "New Package",
"delete": "Delete",
"grid": {
"name": "Name",
"type": "Type",
"dateCreated": "Date Created"
},
"flyouts": {
"new": {
"title": "New Package",
"header": "Upload a package",
"description": "Add a package to your solution",
"upload": "Upload",
"cancel": "Cancel",
"close": "Close",
"type": "Package type",
"browse": "Browse",
"browseText": "for a package file",
"placeHolder": "Select package type",
"package": "Package",
"deploymentsPage": "Deployments page",
"newDeployment": "+ New Deployment",
"deploymentText": "To deploy packages, go to the <1>Deployments page</1>, and then click <3>+ New Deployment</3> button.",
"validation": {
"required": "Is required"
}
}
},
"modals": {
"delete": {
"title": "Delete Package?",
"info": "Deleting selected package will remove it. It will not impact any of the deployments of this package."
}
},
"typeOptions": {
"edgemanifest": "Edge Manifest"
}
},
"modal": {
"delete": "Delete",
"cancel": "Cancel"
},
"walkthrough": {
"tabs": {
"dashboard": "Dashboard",
Expand All @@ -578,7 +724,7 @@
"pageBody": "Click the context button above to open a flyout.",
"open": "Open Flyout",
"flyouts": {
"example" : {
"example": {
"header": "Example Flyout",
"description": "This example flyout contains a simple form with action buttons.",
"insertFormHere": "Insert form controls here. See 'src/components/shared/forms' for form specific shared controls you might leverage.",
Expand Down Expand Up @@ -607,6 +753,10 @@
"panelBody": "This is a new panel."
}
}
},
"panel": {
"header": "Example Panel",
"panelBody": "This is a new panel."
}
}
}
6 changes: 5 additions & 1 deletion src/app.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,13 @@ const Config = {
acknowledged: 'acknowledged'
},
maxLogoFileSizeInBytes: 307200,
device: {
device: 'IoT device',
edgeDevice: 'IoT Edge device'
},
deviceType: {
simulated: 'Simulated',
physical: 'Physical'
physical: 'Real'
}
};

Expand Down
11 changes: 11 additions & 0 deletions src/assets/icons/failed.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/assets/icons/glimmer.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/assets/icons/packages.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/assets/icons/tabDeployments.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 38 additions & 1 deletion src/components/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@ import React, { Component } from 'react';
import { svgs } from 'utilities';
import Shell from "components/shell/shell";
import { ManageDeviceGroupsContainer, SettingsContainer } from 'components/shell/flyouts';
import { DashboardContainer, DevicesContainer, RulesContainer, MaintenanceContainer } from './pages';
import {
DashboardContainer,
DevicesContainer,
RulesContainer,
MaintenanceContainer,
PackagesContainer,
DeploymentsRouter
} from './pages';

class App extends Component {

Expand Down Expand Up @@ -45,6 +52,20 @@ class App extends Component {
labelId: 'tabs.rules',
component: RulesContainer
},
{
to: '/packages',
exact: true,
svg: svgs.tabs.packages,
labelId: 'tabs.packages',
component: PackagesContainer
},
{
to: '/deployments',
exact: false,
svg: svgs.tabs.deployments,
labelId: 'tabs.deployments',
component: DeploymentsRouter
},
{
to: '/maintenance',
exact: false,
Expand All @@ -70,6 +91,22 @@ class App extends Component {
{ to: '/rules', labelId: 'tabs.rules' }
]
},
{
path: '/packages', crumbs: [
{ to: '/packages', labelId: 'tabs.packages' }
]
},
{
path: '/deployments', crumbs: [
{ to: '/deployments', labelId: 'tabs.deployments' }
]
},
{
path: '/deployments/:id', crumbs: [
{ to: '/deployments', labelId: 'tabs.deployments' },
{ to: '/deployments/:id', matchParam: 'id' },
]
},
{
path: '/maintenance', crumbs: [
{ to: '/maintenance', labelId: 'tabs.maintenance' }
Expand Down
Loading

0 comments on commit 20f2500

Please sign in to comment.