[wp-trac] Re: [WordPress Trac] #5750: New Dashboard Interface
WordPress Trac
wp-trac at lists.automattic.com
Thu Feb 21 21:13:37 GMT 2008
#5750: New Dashboard Interface
-------------------------------------+--------------------------------------
Reporter: mdawaffe | Owner: mdawaffe
Type: enhancement | Status: assigned
Priority: normal | Milestone: 2.5
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+--------------------------------------
Comment (by mdawaffe):
Many of these new widgets are based on RSS feeds. We know when a feed is
cached.
It's silly to always do another HTTP request (via AJAX) just to load some
content we already have stored in the cache.
Further more, the widgets are just big white boxes until they get AJAX
populated. A "Loading..." message would be nice so that people know
what's up.
Attached:
1. If the all the feeds for a widget are cached and not stale, just
output the content.
2. If feeds are not cached or cache is stale, output "Loading..." message
(yes, Matt, with an ellipsis entity :) ), and AJAX load feed.
3. light docs for dashboard widgets.
Accomplished via:
1. {{{wp_dashboard_cached_rss_widget()}}}
2. A bunch of per-widget callback functions.
--
Ticket URL: <http://trac.wordpress.org/ticket/5750#comment:15>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list