[wp-trac] [WordPress Trac] #58370: Add 'Activate' button to View details modal

WordPress Trac noreply at wordpress.org
Sun May 21 20:49:29 UTC 2023


#58370: Add 'Activate' button to View details modal
-----------------------------------------+---------------------
 Reporter:  afragen                      |       Owner:  (none)
     Type:  enhancement                  |      Status:  new
 Priority:  normal                       |   Milestone:  6.3
Component:  Plugins                      |     Version:  trunk
 Severity:  normal                       |  Resolution:
 Keywords:  needs-patch has-screenshots  |     Focuses:  ui
-----------------------------------------+---------------------

Comment (by costdev):

 Notes:
 1. Clicking "Install Now" in the modal will currently close it. This
 closing behaviour would likely need to be removed.
 2. Clicking "Install Now", then re-opening the modal shows that the button
 does not animate during installation. This would need to animate to
 provide feedback to the user once (1) is removed.
   - This is where the button currently used in the plugin card could be
 abstracted for use in the modal too. It has these variations for its
 initial state:
     - Install Now
     - Activate
     - Network Activate
     - Cannot Install
     - Cannot Activate/Active
   - This would also need to account for an installation error notice,
 which currently shows at the bottom of the plugin card, but is placed in
 any `div` with the classname `plugin-card-$slug`.

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


More information about the wp-trac mailing list