afragen / wordpress-beta-tester

WordPress Beta Tester plugin

Home Page:https://wordpress.org/plugins/wordpress-beta-tester/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add dashboard widget

afragen opened this issue · comments

Idea from @azaozz, https://wordpress.slack.com/archives/C18723MQ8/p1582501567010100

Widget would display after a new beta/RC with link to what to test, likely form release post from make/core or commit messages from RSS.

First pass is something like the following.

screenshot_57

Simplify message to just call to action for testing. Link is to closed milestoned trac tickets.

screenshot_58

Yeah, thinking the above screenshot makes sense when the plugin is activated but the site is not on a "test" stream.

If it's going to link to https://wordpress.org/news/category/development/ the top line could probably be:

Help test {post_title} released on {post_date}.

Perhaps followed by a short excerpt from the post?

If the site is on a testing stream, perhaps the message should be something like:

Your website was updated to WordPress version {wp_version} on {date/time}. The latest changes are outlined in {post_title}.

(Seems the info can be pulled from https://wordpress.org/news/category/development/feed/ relatively easily).

Yeah, thinking the above screenshot makes sense when the plugin is activated but the site is not on a "test" stream.

If the plugin is active it will always be on a test stream.

wp_widget_rss_output() doesn't provide any parsing. 🙁

@azaozz I've got the following working. It will display the widget if the current WP version is alpha|beta|RC. Ping @pbiron

screenshot_59

just gave this a spin and it's great!!!

It should also add the widget to the Network dashboard in multisite.

In multisite, I think the widget should appear on the network dashboard and each site's dashboard as well, for maximum visibility.