loading the dashboard calls to our update servers

Description

Anytime a user browses to the dashboard, a request is made to our update servers.

1. this is bad design
2. this is contradictory with the "Check for Updates" button

We should not be making external network calls any time the dashboard is loaded. That doesn't make any sense, especially since we have a button that the end-user can click called
"Check for Updates".

If the user clicks "Check for Updates", then making an external network call makes sense. Otherwise, we shouldn't do that.

Problem/Justification

None

Impact

None

Activity

Show:

Damian Szidiropulosz December 16, 2021 at 2:41 PM
Edited

SCALE now has a configuration form for the dashboard.
What if we made this a dashboard configuration option?
If it was configurable, we would have the flexibility of turning it off for customers that need it that way.

It could read something like...

[] "Show update availability in System Information"

Caleb December 16, 2021 at 1:43 AM

Furthermore, our enterprise customers don't typically run out and download the latest update. They tend to wait. If a compromise must be made, then I like Damian's suggestion.

Caleb December 16, 2021 at 1:41 AM

Please try to remember that our product is used by enterprises and not just home users. So "a network request" to a homer user is much less of a problem for a paying enterprise customer that wants to know why when they log into their TrueNAS, it tries to make an outbound network connection.

Ievgen Stepanovych December 15, 2021 at 5:06 PM

I agree with Damian. Should have paid more attention to the ticket when it appeared on the queue.
We want users to update. I'll take a network request over users updating less frequently.

Damian Szidiropulosz December 15, 2021 at 4:52 PM

Considering that the dashboard is there to give the user an overview of the system’s state, I would argue there is utility in letting the user know an update is available.

With that said, I agree we don't need to check every time the dashboard is pulled up. Maybe a good compromise might be to fetch and cache update availability once on initial page load, and only do subsequent calls if the user navigates to System Settings > Update.

Complete

Details

Assignee

Reporter

Labels

Time remaining

0m

Components

Affects versions

Priority

Katalon Platform

Created August 24, 2021 at 12:48 PM
Updated July 1, 2022 at 5:28 PM
Resolved December 23, 2021 at 11:55 AM