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.
2022-07-08 22:21:06 -07:00
Jason Kulatunga
0e2fec4e93
adding tests to frontend.
2022-07-08 22:19:43 -07:00
Jason Kulatunga
46f3b1c02c
fix using linter.
2022-06-14 22:21:00 -07:00
Jason Kulatunga
09a8574d83
fixing tooltip theme.
2022-06-11 15:21:20 -07:00
Jason Kulatunga
7695cc185f
color the barchart data in the sparklines, so that we know when a failure/warning was detected (historically)
2022-06-11 14:43:34 -07:00
Jason Kulatunga
fc7208020e
remove status reason click for more details text.
2022-06-11 12:18:27 -07:00
Jason Kulatunga
75d5930835
correctly using the latest data for table.
2022-06-11 11:00:00 -07:00
Jason Kulatunga
3c9e16169e
correctly using the latest data for table.
2022-06-11 09:28:37 -07:00
Jason Kulatunga
9e1076f302
using constants for Attribute status values.
2022-06-11 09:17:35 -07:00
Jason Kulatunga
f57b71ae96
updated tooltips in details page (click for more details).
2022-06-11 08:05:52 -07:00
Jason Kulatunga
769f253e7d
fixing the table header for failures.
2022-06-09 22:42:21 -07:00
Jason Kulatunga
b9eb5687cd
working on expanding row content.
2022-06-09 22:13:44 -07:00
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
2022-06-09 19:39:46 -07:00
Jason Kulatunga
6e02e4da02
fixing func def.
2022-06-02 12:21:54 -07:00
Jason Kulatunga
9c8498cea7
disable and re-enable bitwise operations
2022-06-02 12:20:50 -07:00
Jason Kulatunga
9aa0e97be0
display the device UUID and device Label in the details page.
...
fixes #265
2022-05-31 13:36:58 -07:00
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.
2022-05-31 13:31:34 -07:00
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.
2022-05-27 16:12:27 -07:00
Jason Kulatunga
21212c0a1d
add setting to change temperature between C and F.
...
fixes #175
2022-05-26 13:04:15 -07:00
Jason Kulatunga
e7801619cd
added additional tests from #187 .
...
Detected that the frontend was incorrectly classifying Scrutiny Failures as Warnings.
Fixed.
2022-05-12 10:04:06 -07:00
Jason Kulatunga
54178eaaf0
Merge branch 'master' into BASEPATH
2022-05-09 14:29:48 -07:00
Jason Kulatunga
786e7d04f2
make sure we print the overall device status in the details page.
2022-05-06 17:25:40 -07:00
Jason Kulatunga
5789c836db
make sure the status is always exposed in the json data. make sure display_name for metadata is included. Update mocked test data for frontend.
2021-10-24 17:09:44 -07:00
Jason Kulatunga
694fc74ca0
fixing history.
2021-06-27 13:44:01 -07:00
Jason Kulatunga
8a46931399
!!!!WIP!!!!
...
adding InfluxDB
- influxdb added to dockerfile
- influxdb s6 service
- influxdb config
- adding defaults to config
- creating a DeviceRepo interface (multiple db backends)
- implemented DeviceRepo interface as ScruitnyRepository
2021-06-27 10:55:18 -07:00
Andrea Spacca
ea3fbc09f1
BASEPATH
2021-05-30 10:14:48 +02:00
Ricardo Gonzalez
13d3d9f64e
Show Host ID
2020-10-18 00:11:30 +01:00
Ricardo Gonzalez
78d0dd8f3b
Use humanizeDuration directly in the template
2020-10-16 21:52:03 +01:00
Ricardo Gonzalez
96534c44b7
Improve humanizeHours
2020-10-11 17:45:10 +01:00
Jason Kulatunga
be378bd147
if attribute Id is unknown (and does not match anything in metadata) the frontend breaks. Added more robust frontend display code to handle this case.
...
fixes #53
2020-09-30 09:10:42 -06:00
Jason Kulatunga
67d1c592a5
include the device type in the title, if it's non-standard.
2020-09-20 17:37:43 -06:00
Jason Kulatunga
e6eeaf7e31
adding mocked detail data for frontend viewing. placeholders for settings panels. Add dialog panel for Details setings.
2020-09-18 10:14:19 -06:00
Jason Kulatunga
5101a37964
adding device protocl and type to the. Adding class for parsing smartctl --scan json output, for device detection. added an example/test file for smartctl -x -j added a placeholder settings panel. moved dashboard & details compoonent out of "Admin" directory.
2020-09-18 10:14:19 -06:00