Jason Kulatunga
babd8d3089
trying to fix tests.
2 years ago
Jason Kulatunga
80d72f8a1b
regenerate package-lock with angular 13-lts packages.
2 years ago
adripo
e9cf8a9180
fix: igeneric types
2 years ago
adripo
64ad353628
fix: remove fullcalendar
2 years ago
adripo
5518865bc6
fix: remove outdated option
2 years ago
adripo
50321d897a
fix: prod build command
2 years ago
adripo
e18a7e9ce0
refactor: update dependencies version
2 years ago
adripo
536b590080
feat: dynamic line stroke settings
2 years ago
Jason Kulatunga
15d3206f6f
remove settings dialog from Details page.
2 years ago
Jason Kulatunga
9a4a8de341
make sure the settings dialog width is 600px for readability.
2 years ago
Jason Kulatunga
2d6f60abaa
attrHistory needs to be reversed, so the newest data is on the right
...
fixes #339
2 years ago
Jason Kulatunga
3f272b36d4
adding setting to allow users to customize between binary vs SI/Metric units in UI.
...
fixes #330
2 years ago
Jason Kulatunga
ce2f990eb1
consolidate device status to string logic in DeviceStatusPipe.
...
Ensure device status takes into account new settings.
2 years ago
Jason Kulatunga
2e768fb491
adding tests. Make sure that device status depends on the configured threshold.
2 years ago
Jason Kulatunga
e41ee47371
filter attributes after notify
2 years ago
Jason Kulatunga
7a68a68e76
frontend, determine the device status by checking against the configured thresholds.
2 years ago
Jason Kulatunga
94594db20a
on settings save, return the new settings.
...
update the frontend to persist settings to the database.
Using ScrutinyConfigService instead of TreoConfigService.
Using snake case settings in frontend.
Make sure we're using AppConfig type where possible.
2 years ago
Jason Kulatunga
b71d6660a6
adding typescript interfaces for type hinting and testing
...
some code reformatting
adding tests for services and components.
cleanup of unused dependencies in components.
refactor dashboard service so that wrapper is removed before data is passed to component. (no more this.data.data...).
refactored components so that variable names are consistent (dashboardService vs smartService).
ensure argument and return types are specified everywhere.
adding tests for pipes.
adding ng test to ci steps.
change dir before running npm install.
trying to install nodejs in continer.
test frontend separately.
upload coverage for frontend and backend.
upload coverage for frontend and backend.
testing coverage file locations.
retry file upload.
2 years ago
Jason Kulatunga
0e2fec4e93
adding tests to frontend.
2 years ago
Jason Kulatunga
46f3b1c02c
fix using linter.
2 years ago
Jason Kulatunga
09a8574d83
fixing tooltip theme.
2 years ago
Jason Kulatunga
7695cc185f
color the barchart data in the sparklines, so that we know when a failure/warning was detected (historically)
2 years ago
Jason Kulatunga
fc7208020e
remove status reason click for more details text.
2 years ago
Jason Kulatunga
75d5930835
correctly using the latest data for table.
2 years ago
Jason Kulatunga
3c9e16169e
correctly using the latest data for table.
2 years ago
Jason Kulatunga
9e1076f302
using constants for Attribute status values.
2 years ago
Jason Kulatunga
f57b71ae96
updated tooltips in details page (click for more details).
2 years ago
Jason Kulatunga
769f253e7d
fixing the table header for failures.
2 years ago
Jason Kulatunga
b9eb5687cd
working on expanding row content.
2 years ago
Jason Kulatunga
cbd230a7e0
wip expanding row for more details for attributes.
...
see https://stackblitz.com/angular/eaajjobynjkl?file=src%2Fapp%2Ftable-expandable-rows-example.html
see https://material.angular.io/components/table/examples#table-expandable-rows
2 years ago
Jason Kulatunga
1da07caaa6
fix background color for details page history tooltip.
...
fixes #283
2 years ago
Jason Kulatunga
7287775cca
trying to fix webUI.
2 years ago
Jason Kulatunga
28ac3ac7ec
fix settings persistence.
2 years ago
Jason Kulatunga
2ca44c967e
simplify darkmode ui toggle.
2 years ago
Jason Kulatunga
4b767421f3
change highlight color for dark mode.
2 years ago
Jason Kulatunga
f4f5d16b4a
rename variable to themeUseSystem from darkModeUseSystem.
2 years ago
Jason Kulatunga
9e0ba4d269
Merge branch 'beta' into dark-mode
2 years ago
Jason Kulatunga
d9ecf6c0d3
make sure defaults are available if missing from localStorage
...
fixes #277
2 years ago
Michael Shamoon
8051ad4dde
Tweak / fix some dark mode colors
...
Update styles.scss
3 years ago
Michael Shamoon
165f98dc09
Add settings UI for dark mode
3 years ago
Jason Kulatunga
6e02e4da02
fixing func def.
3 years ago
Jason Kulatunga
9c8498cea7
disable and re-enable bitwise operations
3 years ago
Jason Kulatunga
9aa0e97be0
display the device UUID and device Label in the details page.
...
fixes #265
3 years ago
Jason Kulatunga
488fcfc820
added AttributeStatus bit flag
...
ensure DeviceStatus is a valid bit flag.
[docs] added running tests section to contribution guide.
make sure UI correctly treats scrutiny failures as failed.
3 years ago
Jason Kulatunga
4aa1485246
using device title pipe to consistently set the device name based on configuration setting.
...
adding device status pipe to set the device status in a more readable way.
3 years ago
Jason Kulatunga
e1e1d321dd
fix git.version.sh script.
3 years ago
Jason Kulatunga
3971b37abc
attempting to fix docker image build by generating frontend version information before docker build.
3 years ago
Jason Kulatunga
cf1bd3ea6b
trying to fix docker build, so it includes git sha info.
3 years ago
Jason Kulatunga
c7c55ab95c
trying to fix docker build, so it includes git sha info.
3 years ago
Jason Kulatunga
d93d24b52d
using npm run commands for building angular application (supports `pre` steps).
...
Automatically embed the application version in the UI.
3 years ago