Jason Kulatunga
3f272b36d4
adding setting to allow users to customize between binary vs SI/Metric units in UI.
...
fixes #330
2022-07-30 08:50:23 -07:00
Jason Kulatunga
ce2f990eb1
consolidate device status to string logic in DeviceStatusPipe.
...
Ensure device status takes into account new settings.
2022-07-29 07:11:57 -07:00
Jason Kulatunga
2e768fb491
adding tests. Make sure that device status depends on the configured threshold.
2022-07-25 07:46:44 -07:00
Jason Kulatunga
e41ee47371
filter attributes after notify
2022-07-23 16:21:53 -07:00
Jason Kulatunga
7a68a68e76
frontend, determine the device status by checking against the configured thresholds.
2022-07-23 16:11:49 -07:00
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.
2022-07-23 14:36:32 -07:00
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
46f3b1c02c
fix using linter.
2022-06-14 22:21:00 -07:00
Jason Kulatunga
2ca44c967e
simplify darkmode ui toggle.
2022-06-04 20:32:12 -07:00
Jason Kulatunga
f4f5d16b4a
rename variable to themeUseSystem from darkModeUseSystem.
2022-06-04 08:18:40 -07:00
Michael Shamoon
8051ad4dde
Tweak / fix some dark mode colors
...
Update styles.scss
2022-06-03 00:50:17 -07:00
Michael Shamoon
165f98dc09
Add settings UI for dark mode
2022-06-03 00:50:17 -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
c7c55ab95c
trying to fix docker build, so it includes git sha info.
2022-05-26 23:44:13 -07:00
Jason Kulatunga
d93d24b52d
using npm run commands for building angular application (supports pre steps).
...
Automatically embed the application version in the UI.
2022-05-26 22:37:45 -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
7d2daf4f6a
add ability to sort devices by age (powered-on-hours)
...
fixes #100
2022-05-26 08:33:30 -07:00
Jason Kulatunga
da4562d308
fixed UI issues related to deleting (component is now correctly removed from the dashboard device list).
...
fixes #69
2022-05-26 00:16:13 -07:00
Jason Kulatunga
f51de52ff7
hide device dashboard component if deletion finishes successfully.
2022-05-25 19:19:11 -07:00
Jason Kulatunga
28a3c3e53f
[WIP] Delete button for devices.
2022-05-25 17:55:23 -07:00
Jason Kulatunga
1bd86f5abd
[WIP] Delete button for devices.
2022-05-25 14:59:55 -07:00
Jason Kulatunga
8c07e91f39
grey out and mark thresholds as not yet implemented.
2022-05-23 09:23:22 -07:00
Jason Kulatunga
7979950c3b
fixing device sort and display title.
...
fixes #194
2022-05-23 08:49:51 -07:00
Jason Kulatunga
85fa3b1f8f
moved device summary info panel into isolated component.
2022-05-20 21:55:40 -07:00
Jason Kulatunga
0aeb13c181
support custom display of devices by UUID/ID/Label & Scrutiny Name. (Does not persist).
...
Related #225
2022-05-20 20:59:29 -07:00
Jason Kulatunga
5899bf2026
started working on Dashboard UI sorting and naming
2022-05-20 20:59:29 -07:00
Andrea Spacca
ea3fbc09f1
BASEPATH
2021-05-30 10:14:48 +02: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
Jason Kulatunga
8482272d45
init
2020-08-19 16:04:21 -07:00