epacke / BigIPReport

Overview of your loadbalancer configuration
https://loadbalancing.se
8 stars 2 forks source link

Adding unit tests for the monitor send string parsing #206

Closed epacke closed 3 years ago

epacke commented 3 years ago

Refactoring the monitor send string parsing Fixing issue #205

epacke commented 3 years ago

Hey Tim Hope you're doing fine. Any comments on this one?

Kind regards, Patrik

timriker commented 3 years ago

The "Refresh" button coloring is still broken here. We're checking the date on index.html, but that never changes. We need to check a json file. I'd suggest preferences.json in case someone wants to edit it and change preferences on the fly. Not that I'd recommend that... 😃 I remove the global_search 'test' setting which looks like test code. I added the extra statuses from my branch.

timriker commented 3 years ago

I fixed a couple ts warnings. I updated the code to check the date on json/preferences.json every 60 seconds instead of every 3 seconds on the main doc. Now the refresh button gets updated on new builds again. This looks ready to commit to me.