Opened 21 months ago

Closed 21 months ago

Last modified 20 months ago

#3293 closed New feature (fixed)

Individual reloading of dashboard widgets

Reported by: Amenel Owned by: SteveG
Priority: normal Milestone: 1.8.3 - Piwik 1.8.3
Component: UI - UX (AngularJS, twig, less) Keywords: widget reload button
Cc: Sensitive: no

Description

As of version 1.8.2, widgets on the dashboard have three buttons – minimize, maximize and close.

I suggest a fourth button be added. It would implement a "reload this widget" function.

There are several reasons why I am suggesting this additional button be added.

First, I've had times when the page loads but some widgets fail to load (see attached screenshot showing widgets that have failed to load after more than ten minutes).

Second, the "last visits graph" doesn't refresh when we cross the new day boundary. From one day to the next, all it would take to update this widget would be a click on the Reload button.

Of course, one could always reload the page but it feels overkill. Until recently, I was temporarily in a place where the Internet connection was really slow – reloading the whole page took quite some time, which I thought was a shame since I only wanted to refresh that specific widget.

Attachments (1)

MWSnap 2012-07-30, 15_38_34 - Piwik Never loading widgets.png (63.9 KB) - added by Amenel 21 months ago.
Screenshot of widgets that have failed to load after 10+ min

Download all attachments as: .zip

Change History (7)

Changed 21 months ago by Amenel

Screenshot of widgets that have failed to load after 10+ min

comment:1 Changed 21 months ago by SteveG (sgiehl)

  • Component changed from Core to UI - UX (tpl, js, css)
  • Milestone set to 1.8.3 - Piwik 1.8.3
  • Owner set to SteveG

I'll have a look at that within the next few days.

comment:2 Changed 21 months ago by SteveG (sgiehl)

  • Resolution set to fixed
  • Status changed from new to closed

(In [6703]) fixes #3293 add possibility to refresh a single dashboard widget

comment:3 Changed 20 months ago by matt (mattab)

Nice change!

I think this feature is useful, but it shouldn't be too visible because it won't be very often used.

  • The refresh icon could be thinner maybe, or with some opacity maybe 50% opacity by default? but it would be nice to have it thinner like the other icons, what do you think?
  • I notice now that the loading icon is displayed in the widget. I don't think it's necessary when loading all widgets. When reloading it could be nice to display in the top middle of the reloading window rather than top right?

comment:4 Changed 20 months ago by matt (mattab)

(In [6714]) Refs #3293 Do not display loading icon when loading N widgets on dashboard (would be OK displaying it when reloading one widget only though)

comment:5 Changed 20 months ago by SteveG (sgiehl)

(In [6716]) refs #3293 do display loading (icon) only when reloading widget

comment:6 Changed 20 months ago by SteveG (sgiehl)

@matt: please feel free to replace the reload icon. I didn't have a better one...

Note: See TracTickets for help on using tickets.