Граф коммитов

65 Коммитов

Автор SHA1 Сообщение Дата
Isaac 95a4936e5b Miscellaneous bug fixes (#1231) 2019-03-05 14:48:11 -08:00
Isaac f0c0f29518 Logo color and Company Name Fix (#1226) 2019-02-28 17:01:21 -08:00
Isaac 32f9be68d9
Updating AzureMaps version to fix accessibility errors (#1219) 2019-02-14 17:07:38 -08:00
Isaac 029f8669e0
link explorer aria-label (#1215) 2019-02-08 10:07:41 -08:00
Isaac 936f6f2162
Accessibility fix (#1214)
* commit 1

* Flyout CLose button

* Toggle and Select

* Delete Modal

* review fix

* remove componentarray

* Update deploymentNew.js
2019-02-05 13:41:35 -08:00
Vishwam Subramanyam 6398ccc375 Align RM to the new Fluent Design (#1210)
* Add Fluent CSS and Controls library (#1)

1. Added Azure IoT Fluent CSS and Controls library
2. Ran into compile errors with sass, so updated to latest version of node-sass, react-scripts and a few other packages to more closely align with baseline.
3. Turns out the JS files require the css file directly (instead of the scss), so had to update node-sass-chokidar and add a new importer to map ~ to node_modules. We should eventually remove the direct css import because react-scripts has built-in support for sass, but that requires touching >100 files so leaving that for a different PR.
4. Updated _themes.scss to import and extend the CSS library's colors, so we can start using its @themify mixin and color variables everywhere.
5. Updated the RM Shell component to use the Fluent Shell (which specifies a common way to support themes and RTL) as an example, and change some of its styling to use the fluent colors.

* Change _themes to use fluent colors

* Added more color fixes

* fix (#3)

* consolidate position of refresh bar
removed scrollbar customization
fix position of link on tiles
removed multiple loading on dashboard

* addressed PR comment

* Change select to fluent control (#5)

1. Change the RM Select component to use the fluent Select component.
2. Change the device group and time window dropdowns in the RM subheader to use the fluent 3. Select control instead of a custom dropdown.
4. Update to the latest fluent controls and css
5. Change the RM button component to match fluent css (migrating to the fluent controls caused too many breaks).
6. Change the input and button width+height to match the fluent size.
7. Remove the _normalize.scss import from index.scss - the fluent shell control supplies the same normalize file with some overrides to match the fluent styling, and importing it directly reverts some of them.

* migrate tooltip to consume Balloon Fluent Control

* Update refreshBar.scss

removed font-size

* migrate pivot to fluent controls

* added missing rem size

* updated the width

* Replace toggleBtn with fluent toggle control (#7)

* Change PCS Grid to match Fluent Management list (#6)

1. Change PCS Grid to match Fluent Management List
2. Change the device group and time select dropdown background colors to match that of the underlying panel, per Arturo.
3. Fix the text colors for the masthead in light theme.

*     updated color on popup map panel

* Fix errors found in bugbash (#9)

1. Fix radio button group styling
2. Fix edit button position in rules edit panel
3. Fix tabIndex react error in packageNew component

* Migrate to Fluent Global Nav  (#10)

* Change Flyout to use the Fluent Context Panel (#12)

* Change to use Fluent masthead (#13)

* Fix addNewFlyout.md

* Revert some unneeded changes to make the review easier

* Lock package versions and remove unused packages

* Align globalnav initialization to baseline to get a11y fixes

* Fix verticial alignment in grid

* Update to fluent controls v10

* Address review comments

* scss
2019-01-30 15:41:58 -08:00
Mary Ellen Chaffin 1b4a82da4e
Fix up styles with ellipsis & add tooltips for deployment columns (#1197) 2018-12-07 15:58:02 -08:00
Sang Hyun Kim 0ab8694ca2
Add Diagnostics Events for Device, Maintenance, and Settings (#1196)
* Initial implementation

* remove debug logs

* minor fixes

* fix tests

* merge to head

* remove debug logs

* minor fixes

* fix tests

* Implement nav item click event handler

* Add theme metadata

* revert some diag event names
2018-12-07 15:20:39 -08:00
Isaac f72b4395df
ADM UI features [Hold Merge for services] (#1175)
* ADM packageNew

* reducer updates

* Packages complete

* deploymentNew

* deploymentNew

* deploymentDetails

* packageType

* remove firmwareUpdate

* self-review

* fix for package fetch issue

* Fix for Mary-Ellen's comments

* nits

* ToolTip

* ToolTip fix

* id

* Configuration Type

* pendingCount

* PACKAGES_

* wrap

* Fix for MaryEllen's comments

* remove fetch Devices

* getDeviceStatusTranslation

* renderUndefined

* FirmwareUpdate

* _BY_CONDITION

* bug fix 1

* BugBash fixes

* custom

* blank customMetrics

* customConfigName

* currentFwVersion
2018-11-28 14:09:15 -08:00
Mary Ellen Chaffin 7e7e9fd81b Fix rules grid sorting for object fields (#1183)
* Fix rules grid sorting for object fields

* Update app.config.js
2018-11-27 19:06:54 -08:00
Mary Ellen Chaffin 7fcc768fe1
Make the operator dropdowns consistent (#1179) 2018-11-21 11:16:37 -08:00
Mary Ellen Chaffin 5afe92b48e Correct the dimentions for the favicon (#1176) 2018-11-19 14:03:37 -08:00
Mary Ellen Chaffin 7bfcd1d53b
Time Series Insights link component and analytics (#1170)
* Time Series Insights link component and analytics

* fix indent
2018-11-19 13:32:20 -08:00
Mary Ellen Chaffin 922a6cd876
User Profile flyout to show roles & permissions (#1168)
* User Profile flyout to show roles & permissions

* review feedback
2018-11-19 11:56:46 -08:00
Elvin Morales bb0427a5ed Re adding Handle new ReadAll permission & deny access when not granted (#1174) 2018-11-19 11:55:49 -08:00
Elvin Morales a5ef7f5795
Revert "Handle new ReadAll permission & deny access when not granted … (#1171)
* Revert "Handle new ReadAll permission & deny access when not granted (#1167)"

This reverts commit a715e73c9f.

* Build trigger
2018-11-15 20:02:54 -05:00
Jill Bender 0a91ae21f9
Merge Actions feature branch with Master (#1169)
Add Actions to Rules
2018-11-14 18:43:38 -08:00
Mary Ellen Chaffin a715e73c9f
Handle new ReadAll permission & deny access when not granted (#1167)
* Handle new ReadAll permission & deny access when not granted

* ux feedback
2018-11-14 11:19:10 -08:00
Isaac e672140479
Add New Edge device (#1135)
* Add New Edge device

* indentation
2018-10-19 14:54:44 -07:00
Isaac 944be6ed4a
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 9de75d0e60.

* 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 9de75d0e60.

* readme merge

* Revert "Revert "8 13 localhost""

This reverts commit 2b42e8c8ca.

* 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)
2018-10-16 15:12:51 -07:00
Mary Ellen Chaffin ce32dd2876
Update section decriptions to be more actionable on Device Details (#1110) 2018-09-26 13:36:29 -07:00
Jill Bender 773b993ff3
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
2018-09-07 17:33:26 -07:00
Mary Ellen Chaffin 388ccad3c5 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
2018-08-30 16:00:53 -07:00
Mary Ellen Chaffin 27eb27edec 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
2018-08-15 15:50:48 -07:00
Mary Ellen Chaffin ecb66346da Dev Walkthrough: Adding a Service, & Grid, & Flyout (#1060)
* add walkthru for adding a new page to the app

* update main readme to point to walkthrus

* review feedback

* fix test

* remove connect from the example page container

* add walkthrus for adding a service and a grid

* data loads into the new grid

* some extra cleanup

* fix test

* flyout example working code, but no doc yet

* add walkthrus for adding a service and a grid

* data loads into the new grid

* some extra cleanup

* fix test

* flyout example working code, but no doc yet

* move walkthroughs under a docs folder

* add hard and soft select info for grids

* add a new flyout md file

* review feedback
2018-08-14 10:27:55 -07:00
Mary Ellen Chaffin 5051a48e07 Walkthrough: Add a New Page (#1050)
* add walkthru for adding a new page to the app

* update main readme to point to walkthrus

* review feedback

* fix test

* remove connect from the example page container

* fix spelling of SVG
2018-08-09 12:29:35 -07:00
Isaac 9dcc7b03aa Adding Diagnostics service to log rule creation (#1051)
* commit 1

* commit 2

* commit 3

* commit 4

* commit 5

* commit 6

* commit 7

* commit 8

* commit 9

* commit 10

* remove comment

* diagnostics

* Fix for MaryEllen's Comments

* Update ruleEditor.container.js

* commit 2 for ME's comments

* temp commit

* Add comment for theme URL in config service

* arguments order change
2018-08-06 15:16:09 -07:00
Mary Ellen Chaffin 8a5a37102e Implement view for read only rules (#1047)
* Implement view for read only rules; move propertyGrid to shared; show device group friendly name in RulesGrids

* fix component keys
2018-07-26 14:55:52 -07:00
Mary Ellen Chaffin 5f784514e0 User Permissions - initial implementation (#1046)
* initial checkin of component permissions

* initial implementaiton of user permissions for devices, device groups, rules, jobs, and alarms

* review feedback

* fix nit in readme
2018-07-18 14:14:43 -07:00
Molly Moen 3a4c5bb933 Delete Rules and Alarms (#1043)
* Delete Rules

Add functionality to delete rules and alarms via the ui.

* Minor fixes

Fix delete rule to refresh page on delete/disable since modify is broken. Also do some style fixes

* Minor fixes

removed unused svg file. Hide delete/disable/edit buttons on maintenance page if rule is deleted.

* Remove unused colors

Remove unused colors from variables and themes

* Addressed comments, fixed bug

Addressed Stephen's comments (mainly spacing/style). Also fixed bug when deleting rule from maintenance page--refresh was failing because it was not passed in as a prop.

* Minor fixes

address comments

* Fix spacing

small change to scss file
2018-07-10 11:04:29 -07:00
Stephen Pryor be94c74b10
Add device and rule grid filter inputs (#1025)
* Add device and rule grid filter inputs

also fix incorrect rem-fallback definitions

* Fix some dashboard panel colors

* Fix alert panel data replication
2018-05-31 16:50:52 -07:00
Mary Ellen Chaffin 937a628548 Modify interaction model for device and rule flyouts (#1024)
* Modify interaction model for device and rule flyouts

* review feedback

* review feedback
2018-05-31 15:52:09 -07:00
Stephen Pryor 0b330e79c0
Add question icon on the header (#1013)
* Add question icon on the header

* Increase padding on the dropdown

* Address PR comments
2018-05-16 15:16:52 -07:00
Mary Ellen Chaffin 2e060875e7 Make SummarySection more declarative (#1004)
* Make SummarySection more declarative

* more consistent use of SummarySection, also select control hover color for light theme

* review feedback; also cleaned up some lingering old files
2018-05-11 10:50:25 -07:00
Molly Moen c0bfa4d901 Change chart title (#998)
Change analytics chart title from "Top rules triggered" to "Top rules with active alerts" because the chart only shows rules with open or acked alerts
2018-05-09 12:06:33 -07:00
Zhang Hua eb9ceb34fb Remove condition operators which are not supported by backend api (#989)
* Remove operators '[] in', '[ starts with' and '] ends with' from
frontend since backend doesn't support them for now.
2018-05-03 13:37:37 -07:00
Isaac 19925ee4b6 Fix for - Field Missing and Value no validation (#981)
* Fix for - Field Missing and Value no validation

* fieldQueryPending

* map(({ value })

* map

* selectedType

* nit
2018-05-03 11:39:47 -07:00
Molly Moen d05449bc0e Add error checking for large logo files (#987)
* Add error checking for large logo files

Max logo size (in java) is 300 KB. Have UI reject any logo > 300 kb, and include information on this limit.

* Addressed comments

renaming/editing messages
2018-05-03 11:06:09 -07:00
Stephen Pryor 492d677334 Update azure maps messaging (#983)
* Update azure maps messaging

* Rename translation string key
2018-05-02 18:00:47 -07:00
Francisco M. Jimenez Montilla 6e13fd73df New sim management flyout (#932)
* Add new Sim Managemente Flyout

* add clickable link

* Review fix

* Added a dropdown to select providers

* Review fix

* Update code styling

* Change some styling in the JSX

* Update to use flyout section component
2018-05-02 15:50:59 -07:00
Mary Ellen Chaffin 0ac828b31c Device Jobs Flyout - Properties (#955)
* Device Jobs Flyout - Properties

* review feedback

* remove multiple every calls in populateState

* merge imports
2018-04-30 16:54:26 -07:00
Jill Bender 7a9da0f881 change content from settings to system settings (#961) 2018-04-30 14:46:12 -07:00
Stephen Pryor f414aec272 Add no data message to alerts panel and telemetry panel (#958) 2018-04-30 14:38:46 -07:00
Isaac e4704e09dd Disable-rules flyout (#952)
* rule Status commit 1

* second checkin

* commit 2

* commit

* formatting

* closeFlyout

* review comments

* edit

* oneLIne

* setSelectedRules

* review comments

* s

* newLine

* ruleStatus
2018-04-30 14:31:20 -07:00
Molly Moen 4d4c3b2b4c Fix logo upload (#960)
* Fix Logo Upload to be case insensitive

Logo upload was not case insensitive. Also added .JPG to text for valid extensions (was already being checked, but was not in description)

* Fix casing from merge conflict
2018-04-30 10:17:50 -07:00
Stephen Pryor d96f88554c Add close acknowledge button functionality to the maintenance page (#956)
* Add close and ack alert buttons

* Connect local state changes for closed and ack alerts

* Enable the close/ack call for the rule details page

* Remove references to alarms

* Add some TODOs

* Add another todo

* Remove old code

* Fix the build error and add translation file
2018-04-28 14:53:44 -07:00
Jill Bender 43f42ce180 Content changes to align with Central and fix format and content errors (#953)
* String updates for GA, Alerts, Analytics, Device Groups etc...

* Use sentence casing for strings

* rename translations.json keys to match strings

* rename files to match new terminology changes

* fix merge conflicts
2018-04-27 14:12:54 -07:00
Mary Ellen Chaffin f149cb7df4 Device jobs flyout - Methods (#944)
* Device Tags Flyout - mostly working

* fix deviceGrid hard selections when tags are updated

* Remove bogus foo state update

* Device Jobs Flyout - Methods

* review feedback; use AjaxError instead of ErrorMsg on all device flyouts

* merge tags changes & apply similar feedback

* update poulating state to Stephen's version

* fix unused imports

* fix unused imports

* nit

* review feedback

* review feedback

* camel casing

* update pcsGrid to not use anon funct for hard selects
2018-04-26 12:48:26 -07:00
Stephen Pryor be22a33a16
Manage device groups flyout services (#946)
* Add simulation base arch (#875)

* Add simulation base arch

* Remove form replicator

* Remove formReplicator reference

* Rename to camelCase svgs

* Delete Contoso.svg

* Delete X.svg

* Delete Trash.svg

* Delete Hamburger.svg

* Delete ErrorAsterisk.svg

* Simple listing of device ids on the device page (#876)

* Simple listing of device ids on the device page, utilizing layers of the UI infrastructure: Service, Store, Reducer, Epic.

* Fix devices component test

* Reverting appReducer

* Localized strings in devices.js

* Code review cleanup

* Small fixes for code review

* Aggrid (#877)

* Add PCSGrid

* Migrate PCSGrid v1

* Update device page

* Add DeviceGrid component and configs

* Address PR comments

* Fetch and error reducers (#878)

* Add PCSGrid

* Migrate PCSGrid v1

* Update device page

* Add DeviceGrid component and configs

* Address PR comments

* Prototype using a single reducer for loading status and errors

* Refactor isFetching and error code

* Minor clean up

* Change device grid loading state

* Remove unused import

* Add normalization, camelCase enforcement, and better local models

* Use reselector in the device reducer

* Rename isFetching to pending

* Remove console.log

* Translate cell renderers

* Translate device grid

* Remove base app url

* Rename responseToModel to reshape

* Fix outline in PcsGrid cell selection

* rename isFetching to pending

* Simplify device selectors

* Simplify device reducer entity schema

* Add rules page (#879)

* Add PCSGrid

* Migrate PCSGrid v1

* Update device page

* Add DeviceGrid component and configs

* Address PR comments

* Prototype using a single reducer for loading status and errors

* Refactor isFetching and error code

* Minor clean up

* Change device grid loading state

* Remove unused import

* Add normalization, camelCase enforcement, and better local models

* Use reselector in the device reducer

* Rename isFetching to pending

* Remove console.log

* Translate cell renderers

* Translate device grid

* Remove base app url

* Rename responseToModel to reshape

* Fix outline in PcsGrid cell selection

* rename isFetching to pending

* Simplify device selectors

* Simplify device reducer entity schema

* Add rules and actions page

* Add refresh bar component

* Minor fixes

* Add translated error messages

* Rename last updated to include devices and rules names

* Address PR comments

* Translate devices and rules (#881)

* Add PCSGrid

* Migrate PCSGrid v1

* Update device page

* Add DeviceGrid component and configs

* Address PR comments

* Prototype using a single reducer for loading status and errors

* Refactor isFetching and error code

* Minor clean up

* Change device grid loading state

* Remove unused import

* Add normalization, camelCase enforcement, and better local models

* Use reselector in the device reducer

* Rename isFetching to pending

* Remove console.log

* Translate cell renderers

* Translate device grid

* Remove base app url

* Rename responseToModel to reshape

* Fix outline in PcsGrid cell selection

* rename isFetching to pending

* Simplify device selectors

* Simplify device reducer entity schema

* Add rules and actions page

* Add refresh bar component

* Minor fixes

* Add translated error messages

* Translate strings, themify new components, add jsconfig to make intellisense work correctly in vscode

* Add missing translation

* Move counts and last triggerered into cell renderers

* Fix tests and address PR comments

* Add flyout (#884)

* Add initial flyout

* Add flyout and preliminary devices and rules flyout components

* Add route scaffolding for maintenance page and app breadcrumbs (#885)

* Add initial flyout

* Add flyout and preliminary devices and rules flyout components

* Add prototype routing for maintenance page

* Add shell pages for maintenance

* Add breadcrumbs and settings flyout

* Fix some styling issues

* Remove old breadcrumbs component

* Remove font size that isn't needed

* Merge Imports

* Add copyright comment

* Add todo comment

* Add dashboard grid and dashboard alarms panel (#886)

* Add initial flyout

* Add flyout and preliminary devices and rules flyout components

* Add prototype routing for maintenance page

* Add shell pages for maintenance

* Add breadcrumbs and settings flyout

* Fix some styling issues

* Remove old breadcrumbs component

* Remove font size that isn't needed

* Add initial grid for the dashboard

* More prototyping of the dashboard grid

* Handle overflow in the widgets

* Split widget components into seperate files

* Add alarms widget on the dashboard

* Add elipsis svg and enable routing in the alarms widget

* Add indicators to dashboard widgets

* Remove overlay from alarms panel

* Fix typo

* Remove console.logs

* Initial device details (#883)

* Initial device details: tags, methods, properties; displayed inline until flyout is ready

* Second pass at device details

* Device details on the flyout.

* Review Feedback. Still need to refactor PropertyList.

* Device details with header. Still need to do rules and diagnostics.

* Device Details - with alarms and cell renderer for links

* Some styling updates.

* code review feedback & accordion, but property grid is broken

* code review feedback, moved/renamed accordion, fixed property grid flex stuff

* address feedback

* better styling, fix accordion descriptions, remove headers when no tags or properties

* fix test

* add MockApp to dashboard and maintenance tests to fix them

* use env vars for base service url; gitignore .env files

* Telemetry panel (#888)

* Add initial flyout

* Add flyout and preliminary devices and rules flyout components

* Add prototype routing for maintenance page

* Add shell pages for maintenance

* Add breadcrumbs and settings flyout

* Fix some styling issues

* Remove old breadcrumbs component

* Remove font size that isn't needed

* Add initial grid for the dashboard

* More prototyping of the dashboard grid

* Handle overflow in the widgets

* Split widget components into seperate files

* Add alarms widget on the dashboard

* Add elipsis svg and enable routing in the alarms widget

* Add indicators to dashboard widgets

* Remove overlay from alarms panel

* Fix typo

* Remove console.logs

* Add charts to the telemetry panel

* Fix some issues with the chart

* Add better legend

* Update npm version of tsiclient

* Minor update

* Use tsichart styles from the npm package

* Add messages model

* Fix merge bug for telemetry service

* Kpi panel (#893)

* Add initial flyout

* Add flyout and preliminary devices and rules flyout components

* Add prototype routing for maintenance page

* Add shell pages for maintenance

* Add breadcrumbs and settings flyout

* Fix some styling issues

* Remove old breadcrumbs component

* Remove font size that isn't needed

* Add initial grid for the dashboard

* More prototyping of the dashboard grid

* Handle overflow in the widgets

* Split widget components into seperate files

* Add alarms widget on the dashboard

* Add elipsis svg and enable routing in the alarms widget

* Add indicators to dashboard widgets

* Remove overlay from alarms panel

* Fix typo

* Remove console.logs

* Add charts to the telemetry panel

* Fix some issues with the chart

* Add better legend

* Update npm version of tsiclient

* Minor update

* Use tsichart styles from the npm package

* Add messages model

* Add bar charts to kpis panel

* Complete merge from archMigration

* Minor changes to the kpi chart calls

* Add pie chart to kpi panel

* Fix typo

* Remove baseUrl from PR

* Device details - small fixes and styling (#892)

* Device Details Flyout. Minor fixes and styling changes.

* Fix hover on flyout close button

* review feedback

* simplify code for tag and property looping

* more refactoring for adding none-of-those-exist messages

* remove unneeded div in accordion

* removing more divs

* Unify dashboard (#894)

* Add initial flyout

* Add flyout and preliminary devices and rules flyout components

* Add prototype routing for maintenance page

* Add shell pages for maintenance

* Add breadcrumbs and settings flyout

* Fix some styling issues

* Remove old breadcrumbs component

* Remove font size that isn't needed

* Add initial grid for the dashboard

* More prototyping of the dashboard grid

* Handle overflow in the widgets

* Split widget components into seperate files

* Add alarms widget on the dashboard

* Add elipsis svg and enable routing in the alarms widget

* Add indicators to dashboard widgets

* Remove overlay from alarms panel

* Fix typo

* Remove console.logs

* Add charts to the telemetry panel

* Fix some issues with the chart

* Add better legend

* Update npm version of tsiclient

* Minor update

* Use tsichart styles from the npm package

* Add messages model

* Add bar charts to kpis panel

* Complete merge from archMigration

* Minor changes to the kpi chart calls

* Add pie chart to kpi panel

* Move telemetry polling and kpi calls to the dashboard parent component

* Merge kpis and telemetry into dashboard

* Start polling all panels

* Remove console log

* Move all calls into dashboard component

* Fix bar chart issue

* Stop rendering graphs if the window is not in focus

* Move theme class inside the app, add device and rules pending status and errors

* Pull out maps into seperate panel, add theme into redux store

* Rename the map panel to overview and make a new map panel

* Bump tsiClient version

* Fix incorrect css file name

* Translate dashboard components

* Prevent the panel header from shrinking

* Redo styling of device stats

* Handle smaller screens better in the overview panel

* Fix issue with the overview panel showing data too soon

* Remove test delay on devices API

* Address PR comments

* Remove svg ids (#898)

* Add initial flyout

* Add flyout and preliminary devices and rules flyout components

* Add prototype routing for maintenance page

* Add shell pages for maintenance

* Add breadcrumbs and settings flyout

* Fix some styling issues

* Remove old breadcrumbs component

* Remove font size that isn't needed

* Add initial grid for the dashboard

* More prototyping of the dashboard grid

* Handle overflow in the widgets

* Split widget components into seperate files

* Add alarms widget on the dashboard

* Add elipsis svg and enable routing in the alarms widget

* Add indicators to dashboard widgets

* Remove overlay from alarms panel

* Fix typo

* Remove console.logs

* Add charts to the telemetry panel

* Fix some issues with the chart

* Add better legend

* Update npm version of tsiclient

* Minor update

* Use tsichart styles from the npm package

* Add messages model

* Add bar charts to kpis panel

* Complete merge from archMigration

* Minor changes to the kpi chart calls

* Add pie chart to kpi panel

* Move telemetry polling and kpi calls to the dashboard parent component

* Merge kpis and telemetry into dashboard

* Start polling all panels

* Remove console log

* Move all calls into dashboard component

* Fix bar chart issue

* Stop rendering graphs if the window is not in focus

* Move theme class inside the app, add device and rules pending status and errors

* Pull out maps into seperate panel, add theme into redux store

* Rename the map panel to overview and make a new map panel

* Bump tsiClient version

* Fix incorrect css file name

* Translate dashboard components

* Prevent the panel header from shrinking

* Redo styling of device stats

* Handle smaller screens better in the overview panel

* Remove all Ids from the svgs

* Flyout section (#899)

* Add initial flyout

* Add flyout and preliminary devices and rules flyout components

* Add prototype routing for maintenance page

* Add shell pages for maintenance

* Add breadcrumbs and settings flyout

* Fix some styling issues

* Remove old breadcrumbs component

* Remove font size that isn't needed

* Add initial grid for the dashboard

* More prototyping of the dashboard grid

* Handle overflow in the widgets

* Split widget components into seperate files

* Add alarms widget on the dashboard

* Add elipsis svg and enable routing in the alarms widget

* Add indicators to dashboard widgets

* Remove overlay from alarms panel

* Fix typo

* Remove console.logs

* Add charts to the telemetry panel

* Fix some issues with the chart

* Add better legend

* Update npm version of tsiclient

* Minor update

* Use tsichart styles from the npm package

* Add messages model

* Add bar charts to kpis panel

* Complete merge from archMigration

* Minor changes to the kpi chart calls

* Add pie chart to kpi panel

* Move telemetry polling and kpi calls to the dashboard parent component

* Merge kpis and telemetry into dashboard

* Start polling all panels

* Remove console log

* Move all calls into dashboard component

* Fix bar chart issue

* Stop rendering graphs if the window is not in focus

* Move theme class inside the app, add device and rules pending status and errors

* Pull out maps into seperate panel, add theme into redux store

* Rename the map panel to overview and make a new map panel

* Bump tsiClient version

* Fix incorrect css file name

* Translate dashboard components

* Prevent the panel header from shrinking

* Redo styling of device stats

* Handle smaller screens better in the overview panel

* Fix issue with the overview panel showing data too soon

* Remove test delay on devices API

* Refactor flyout section

* Update exports for flyoutSection

* Upgrade settings to control the theme

* Update chevron

* Remove changeTheme from app container

* Move flyout section code the shared folder

* Remove unnecessary prop

* Translate settings flyout

* Fix indentation

* Minor enhancement

* Get version from the redux store

* Refactor the telemetry chart so it is easier to reuse (#900)

* Refactor the telemetry chart so it is easier to reuse

* Add some comments and make the chart Id for the telemetry chart safer

* Make the pie chart a full circle

* Add banner role to header

* Handler errors on the dashboard panel (#901)

* Add context menu container (#902)

* First cut of the context menu container

* Remove default exports for shared app files

* Translate 404 page

* Update each maintenance page to have its own contextMenu

* Move buttons to the right of the context menu

* Remove unused imports

* Add example context menu updates for devices and rules

* Add stream to refresh the dashboard

* Add todo comment

* Make a nicer background hover color for buttons in the contextMenu

* Add keys to array jsx for contextMenus

* Add keys to button arrays

* Device Delete Flyout, Btn styling. (#897)

* Device Delete Flyout, Btn styling.

* reverting to details flyout on soft select

* Hook up delete context button; implement review feedback

* review feedback

* fix btn.scss to unse single line in 2 places

* review feedback

* Maintenance pages (#904)

* First cut maintenance page and rule details page

* Paginate device grid

* Add jobs call

* Add jobs

* Add device grids to job details and alert details

* Start to add telemetry to alarm details

* Enable telemetry chart in the rule detail

* Enable telemetry chart in maintenance

* Fix bug in the telemetry chart

* Simplify some pcsGrid props

* Add a takeUnil in the rulesReducer

* Add stats to the top of the maintenance page

* Fix line-height

* Add stat summary to maintenance

* Refactor grids into reusable components

* Add refactored grid

* Fix issue with refresh button background color

* Add headers to devices and telemetry chart in the rules details page

* Add todo comment

* Handle subscription in the job details page

* Remove rulesColumnsDefs imports

* Remove old method

* Rename rest to props

* Add better no data handling

* Address PR comments

* Translate maintenance page (#906)

* Translate maintenance page

* Minor refactoring

* Remove endpoint

* Remove comment

* Rule flyout (#909)

* Start the new rule flyout

* Complete new rule flyout scaffolding

* Fix two lint errors

* Add todo comment

* Azure maps (#911)

* Azure Maps First Cut

* Move the map to center on Seattle

* Add support for showing devices on the page.

* Add basic device points

* Remove unused imports

* Fix bug where the devices would not rerender after navigation

* Remove the azure maps key

* Translate string

* Settings flyout update (#907)

* Settings Flyout Work

Includes simulation toggle, name and logo

* Settings Flyout

Config upload, device simulation working properly and in line with mocks. Start of get version/release notes api call

* Version and Release Notes

Added functionality for version and release notes. Cleaned up code

* Clean up svgs

Removed id, extra space

* Fix file name casing

File name casing change was not previously picked up, causing a build error.

* Addressed Comments--Minor Fixes

Renamed platformSettings->applicationSettings. Fixed some styling (spacing, added a couple constants, removed unnecessary return)

* More fixes per comments

Missed some comments earlier. Fixed some variable names, ternary statement format, spacing.

* Addressed Parvez's comments

Moved settings index to inside settings folder. Removed unused variable. Added TODO for retrieving dotnet or java version of repo data (currently assumes dotnet)

* Addressed Stephen's Comments

Added device simulation calls to epics/reducers. Fixed various spacing/style issues. Added state linking to application name input. Removed some unnecessary code

* Addressed Mary Ellen's Comments

Minor style fixes (spacing, fix import)

* New Device Flyout - Physical Devices Only (#905)

* Device Delete Flyout, Btn styling.

* reverting to details flyout on soft select

* Hook up delete context button; implement review feedback

* New Device Flyout

* rebased for updates from Stephen, hooked up new device button

* review feedback, plus more implementation - inputs, but no request to server

* add flyouts layer to the devices translations

* create new physical device working

* create new physical device working

* small fixes after rebasing

* review feedback

* review feedback

* Add map alerts (#913)

* Show the devices in alert

* Add fake call to get Azure Maps key

* Fix bug in layers

* Add error checking for showing the panel overlay

* Add a todo

* Some style fixes

* Address PR comments

* Add service call to load azure map key (#914)

* Add service call to load azure map key

* Remove log

* Add missing copyright to svg

* Some small style fixes

* Fix with the router problem in the left nav

* Device details properties & styling (#908)

* Device Details Flyout - Fix up Properties & Restyle

* rebase; add copy button for properties

* mroe styling updates, including the gradient

* review feedback

* refactored property grid gradient, a bunch of small fixes for things broken in merging branches

* refactor property grid gradient, again

* Update the telemetry data to use immutability helper (#917)

* New Rules Flyout, toggle btn and isRequired field for formLable (#915)

* local changes

* rule UI changes

* polishing UI

* Revert "local changes"

This reverts commit 12942e4d3c.

# Conflicts:
#	src/app.config.js

* Translations

* fix for review comments

* >=

* Fix failing build (#920)

* Fix export naming errors

* Fix build issues

* Remove unused value

* Remove newline in flyout section

* Settings improvements--Address PR 907 (#916)

* Settings Flyout--Addressed Comments from PR 907

Cleaned up http client. Added error handling and form tag to settings. Fixed up git hub model. Moved function to utilities.

* Addressed comments

Use translate function for company name. Show default logo or previously received logo if logo call failed. Fixed some style issues.

* Fixed Indentation

* Device Details - Telemetry & Diagnostics (#921)

* New Device Flyout - Simulated Devices (#919)

* Device Delete Flyout, Btn styling.

* reverting to details flyout on soft select

* Hook up delete context button; implement review feedback

* New Device Flyout

* review feedback, plus more implementation - inputs, but no request to server

* create new physical device working

* create new physical device working

* small fixes after rebasing

* review feedback

* review feedback

* new simulated devices, work in progress

* new simulated device, validation

* fix toggleSimulation to use patch; minor review feedback fixes

* review fix

* fix validation translations in case language changes

* move loading device models to the reducer, review fixes

* fix build break; minor review feedback

* Add manage device group flyout

* Add translations for manage device group flyout

* Move delete button to section header

* Add reducer for device groups

* Add manage filter button to open flyout

* Fetch device group filters

* Add calls to create, delete, and edit device groups

* Add basic error handling and pending status handling, fix bug in device group drop down

* Remove unused apis

* Delete all files under flyout

* Unsubscribe from service calls

* Polish some stuff up

* Fix bug when no entitites are returned

* Fix translation bug
2018-04-25 16:22:39 -07:00
Isaac 68637a272c Rule model changes (#939)
* RulesFlyout Edit Scenario

* reshape

* Rule Model Change

* review comments

* review comments

# Conflicts:
#	src/services/models/telemetryModels.js

* duration isRequierd

* second review commit

* removing {}

* openEditFlyout {}

* validation

* timePeriod

* formData

* requestProps
2018-04-23 12:29:55 -07:00