wp-calypso icon indicating copy to clipboard operation
wp-calypso copied to clipboard

Plugin Management: Implement multi-site(small screen) view for the plugin management

Open yashwin opened this issue 3 years ago • 2 comments

Proposed Changes

This PR implements the small screen view(<1080px) for multi-site plugin management.

Testing Instructions

Prerequisites

Since this change is made specifically for agencies, you must set yourself(partner) as an agency - 2c49b-pb. Make sure to switch it back to the previous type.

Instructions

  1. Run git checkout add/plugin-management-multi-site-small-screen-view and yarn start-jetpack-cloud-p
  2. Open http://jetpack.cloud.localhost:3001/, and you'll be redirected to the /dashboard.
  3. Switch to any width <1080px using the dev tool.
  4. Click on Plugins in the sidebar -> Verify that the new card UI for the plugin is shown as below.

320px

Screenshot 2022-08-10 at 3 22 34 PM

768px

Screenshot 2022-08-10 at 3 22 46 PM

<1080px

Screenshot 2022-08-10 at 3 23 18 PM
  1. Clicking on the Plugin name & Update text should redirect the user to the plugin details page.
  2. Verify search works as expected.
  3. Click on all the tabs - All, Active, Inactive & Updates and verify the plugins are shown as per the filter and the URL changes accordingly.
  4. Verify these changes have not affected anything in Calypso Blue.

NOTE: The more actions icon(...) is just a placeholder and will be updated later in a different PR, and the single-site card view will be implemented in the upcoming PR.

Pre-merge Checklist

Complete applicable items on this checklist before merging into the trunk. Inapplicable items can be left unchecked.

The PR author and reviewer are responsible for completing the checklist.

Related to 1202518759611394-as-1202673439327767

yashwin avatar Aug 10 '22 10:08 yashwin

Here is how your PR affects size of JS and CSS bundles shipped to the user's browser:

Sections (~415 bytes added 📈 [gzipped])

name                             parsed_size           gzip_size
plugins                              +1928 B  (+0.2%)     +415 B  (+0.2%)
jetpack-cloud-plugin-management      +1928 B  (+0.3%)     +415 B  (+0.2%)

Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to.

Legend

What is parsed and gzip size?

Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory. Gzip Size: Compressed size of the JS and CSS files. This much data needs to be downloaded over network.

Generated by performance advisor bot at iscalypsofastyet.com.

matticbot avatar Aug 11 '22 09:08 matticbot

This Pull Request is now available for translation here: https://translate.wordpress.com/deliverables/7472446

Thank you @yashwin for including a screenshot in the description! This is really helpful for our translators.

a8ci18n avatar Aug 12 '22 08:08 a8ci18n

Translation for this Pull Request has now been finished.

a8ci18n avatar Aug 18 '22 18:08 a8ci18n