xwp / stream

🗄️ Stream plugin for WordPress

Home Page:https://wordpress.org/plugins/stream/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add live updates to dashboard widget

fjarrett opened this issue · comments

We should allow live updates to occur in the dashboard widget just as we do on the Stream Records screen.

  1. It should bring in new records using the Heartbeat API.
  2. The number of records visible should always match the Records per page value, as new records enter the widget, older ones should move to the next page(s).
  3. It should be enabled by default if there is no value for it found in the DB.

screen shot 2014-03-22 at 1 20 06 pm

screen shot 2014-03-22 at 1 22 23 pm

@fjarrett, do you want a separate Screen Options (text input/checkbox) for this, or just use the value set on the Post List page?

@johnregan3 Not sure what you mean, this is for the Dashboard widget configuration.

@fjarrett Ok. I think you answered my question. You want this set in the Screen Options panel (that slides down from the top of the page, just like on the Stream list page), right?

@johnregan3 No, we want another field added to the Configure section of the widget.

screen_shot_2014-03-28_at_10_47_40_am