[wp-trac] [WordPress Trac] #27440: Improvements to Plugin Installer modals

WordPress Trac noreply at wordpress.org
Fri Jul 4 13:35:40 UTC 2014


#27440: Improvements to Plugin Installer modals
----------------------------+---------------------------------
 Reporter:  paulwilde       |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  4.0
Component:  Plugins         |     Version:  3.8
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  ui, administration
----------------------------+---------------------------------

Comment (by stephdau):

 Replying to [comment:33 avryl]:
 > The donate button maybe?

 Yup, good idea, and we have the donate_link as part of the API response
 already.

 {{{
  ["donate_link"]=>
   string(38) "http://wordpressfoundation.org/donate/"
 }}}

 ----

 FYI: here's an example of a full response, here for the Press This plugin:
 {{{
 object(stdClass)#241 (21) {
   ["name"]=>
   string(10) "Press This"
   ["slug"]=>
   string(10) "press-this"
   ["version"]=>
   string(7) "0.0.4.3"
   ["author"]=>
   string(66) "<a href="https://corepressthis.wordpress.com/">Press This
 Team</a>"
   ["author_profile"]=>
   string(33) "//profiles.wordpress.org/stephdau"
   ["contributors"]=>
   array(5) {
     ["michael-arestad"]=>
     string(0) ""
     ["stephdau"]=>
     string(33) "//profiles.wordpress.org/stephdau"
     ["georgestephanis"]=>
     string(40) "//profiles.wordpress.org/georgestephanis"
     ["folletto"]=>
     string(33) "//profiles.wordpress.org/folletto"
     ["melchoyce"]=>
     string(34) "//profiles.wordpress.org/melchoyce"
   }
   ["requires"]=>
   string(3) "3.9"
   ["tested"]=>
   string(3) "4.0"
   ["compatibility"]=>
   array(1) {
     ["3.9.1"]=>
     array(1) {
       ["0.0.1a"]=>
       array(3) {
         [0]=>
         int(100)
         [1]=>
         int(1)
         [2]=>
         int(1)
       }
     }
   }
   ["rating"]=>
   int(0)
   ["num_ratings"]=>
   int(0)
   ["ratings"]=>
   array(5) {
     [5]=>
     int(0)
     [4]=>
     int(0)
     [3]=>
     int(0)
     [2]=>
     int(0)
     [1]=>
     int(0)
   }
   ["downloaded"]=>
   int(299)
   ["last_updated"]=>
   string(10) "2014-06-20"
   ["added"]=>
   string(10) "2014-06-04"
   ["homepage"]=>
   string(47) "http://wordpress.org/extend/plugins/press-this/"
   ["sections"]=>
   array(4) {
     ["description"]=>
     string(318) "<p>Press This is a redesign of the Press This bookmarklet
 with a focus on automation and speed. It will have a simplified interface,
 efficient media upload, content scraping, and site switching.</p>

 <p><strong>CAUTION:</strong> This is in super early development. Don't use
 on a production site. There be dragons!</p>"
     ["screenshots"]=>
     string(1358) "<ol>
         <li>
                 <a href='//ps.w.org/press-
 this/assets/screenshot-1.png?rev=926709' title='Click to view full-size
 screenshot 1'>                        <img class='screenshot'
 src='//ps.w.org/press-this/assets/screenshot-1.png?rev=926709' alt='press-
 this screenshot 1' />
                 </a>            <p>Get and activate the plugin (see <a
 href="https://make.wordpress.org/ui/2014/06/04/press-this/)"
 rel="nofollow">https://make.wordpress.org/ui/2014/06/04/press-
 this/)</a></p>
         </li>
         <li>
                 <a href='//ps.w.org/press-
 this/assets/screenshot-2.png?rev=926709' title='Click to view full-size
 screenshot 2'>                        <img class='screenshot'
 src='//ps.w.org/press-this/assets/screenshot-2.png?rev=926709' alt='press-
 this screenshot 2' />
                 </a>            <p>Install the bookmarklet to your
 browser's bookmark toolbar</p>
         </li>
         <li>
                 <a href='//ps.w.org/press-
 this/assets/screenshot-3.png?rev=926709' title='Click to view full-size
 screenshot 3'>                        <img class='screenshot'
 src='//ps.w.org/press-this/assets/screenshot-3.png?rev=926709' alt='press-
 this screenshot 3' />
                 </a>            <p>Use the bookmarklet on any web page</p>
         </li>
         <li>
                 <a href='//ps.w.org/press-
 this/assets/screenshot-4.png?rev=926709' title='Click to view full-size
 screenshot 4'>                        <img class='screenshot'
 src='//ps.w.org/press-this/assets/screenshot-4.png?rev=926709' alt='press-
 this screenshot 4' />
                 </a>            <p>Publish in 2 steps! :)</p>
         </li>
 </ol>"
     ["changelog"]=>
     string(3152) "<h4>0.0.1a</h4>

 <ul>
 <li>Core architecture of the plugin/tools is an as-pure-Javascript app as
 possible</li>
 <li>Currently AJAX driven, but ready to be switched to using the WP-API
 endpoints as they become available</li>
 <li>Is backward compatible with the current version of the Press This
 bookmarklet as bundled in WP, but also bring its own, more powerful one
 with it</li>
 <li>Can blog any web page found online, blockquoting an excerpt, including
 a selection of in-page images to choose from. Said images are augmented
 with meta data to sort them in the order the site advertises to be
 best</li>
 <li>Overrides /wp-admin/press-this.php and its behavior, so that
 we’re 100% backward compatible</li>
 <li>Overrides the bookmarklet JS code provided in /wp-admin/tools.php</li>
 <li>Quick featured image switching</li>
 <li>Saving draft and publishing</li>
 <li>Image side-loading</li>
 <li><strong>3 modes</strong>:

 <ul>
 <li>Direct access: quick post of sort, more to come with media and
 formatting tools</li>
 <li>Modal: when accessed via new bookmarklet code: will show in an iframe
 within the visited page itself</li>
 <li>Popup: if the currently visited page is SSL but the target install is
 not, we open Press This in a popup instead. We also do that if
 the”legacy” bookmarklet code is used. It’s pretty
 awesome for pressing from your sweet smartphone.</li>
 <li>Alpha level code</li>
 </ul></li>
 </ul>

 <h4>0.0.2</h4>

 <ul>
 <li>Added the start of an admin bar</li>
 <li>Major code refactoring for easier code reuse and better
 performance/stability</li>
 <li>Started backend work on Chrome extension, not functional, but a
 start</li>
 <li>Started work on adding/editing/removing a user's different Press This
 instances</li>
 <li>Still alpha level code</li>
 </ul>

 <h4>0.0.3</h4>

 <ul>
 <li>Photo upload (without page reload, and with preview), take 1!</li>
 <li>Handy field for users to enter a URL to scan for media, if accessed
 without providing one.</li>
 <li>Refined algorithm that selects what picts to present as
 interesting/worthy to the user.</li>
 <li>Continued work on adding/editing/removing a user's different Press
 This instances.</li>
 <li>Major UI/UX improvements.</li>
 <li>Major backend improvements.</li>
 <li>Still alpha level code.</li>
 </ul>

 <h4>0.0.4</h4>

 <ul>
 <li>Dropped the iframe mode to an experimental file devs can play with,
 now defaulting to popup for better security and less fighting browsers on
 sameorigin policies.</li>
 <li>Improved UI/UX: new icons and related behaviors, etc.</li>
 <li>Better photo selection experience, including when uploading.</li>
 <li>Ability to dismiss having a photo.</li>
 <li>Lots of backend work to start moving towards multiple media types and
 selection.</li>
 <li>Still alpha level code.</li>
 </ul>

 <h4>0.0.4.1</h4>

 <ul>
 <li>PHP compatibility updates: some of our syntax could error on some PP
 versions.</li>
 <li>Still alpha level code.</li>
 </ul>

 <h4>0.0.4.2</h4>

 <ul>
 <li>Added  to make it extra responsive on mobile.</li>
 <li>Still alpha level code.</li>
 </ul>

 <h4>0.0.4.3</h4>

 <ul>
 <li>Improving our github to svn tool flow</li>
 <li>Still alpha level code.</li>
 </ul>"
     ["other_notes"]=>
     string(274) "<h3>Contributing</h3>
 <p>You can see discussion and progress at <a
 href="corepressthis.wordpress.com">corepressthis.wordpress.com</a>.</p>

 <p>Development of this plugin is done on <a
 href="https://github.com/MichaelArestad/Press-This">Github</a>. Pull
 requests welcome.</p>"
   }
   ["download_link"]=>
   string(61) "https://downloads.wordpress.org/plugin/press-
 this.0.0.4.3.zip"
   ["tags"]=>
   array(3) {
     ["photo-post"]=>
     string(10) "photo post"
     ["post"]=>
     string(4) "Post"
     ["quick-post"]=>
     string(10) "quick post"
   }
   ["donate_link"]=>
   string(38) "http://wordpressfoundation.org/donate/"
   ["banners"]=>
   array(2) {
     ["low"]=>
     string(58) "//ps.w.org/press-this/assets/banner-
 772x250.jpg?rev=926709"
     ["high"]=>
     string(59) "//ps.w.org/press-this/assets/banner-
 1544x500.jpg?rev=926709"
   }
 }
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27440#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list