Making WordPress.org


Ignore:
Timestamp:
01/20/2021 04:37:47 PM (3 years ago)
Author:
ryelle
Message:

Plugin Directory: Remove unused React code.

As part of the Plugin Directory refresh #1719, the UI was rewritten into a React app, but currently only the screenshot slider uses React. This removes all the React JS except for the screenshots, and flattens the Sass into less complex files. Additionally it updates the packages and JS build process to use @wordpress/scripts.

Fixes #5431.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/styles/components/_components.scss

    r9248 r10605  
    2020@import "galleries";
    2121@import "media";
    22 @import "../../components/404/style";
    23 @import "../../components/archive/style";
    24 @import "../../components/front-page/plugin-section/style";
    25 @import "../../components/page/style";
    26 @import "../../components/plugin-card/style";
    27 @import "../../components/plugin-icon/style";
    28 @import "../../components/plugin-ratings/stars/style";
    29 @import "../../components/plugin-ratings/style";
    30 @import "../../components/plugin/favorite-button/style";
    31 @import "../../components/plugin/plugin-banner/style";
    32 @import "../../components/plugin/sections/changelog/style";
    33 @import "../../components/plugin/sections/developers/style";
    34 @import "../../components/plugin/sections/faq/style";
    35 @import "../../components/plugin/sections/reviews/style";
    36 @import "../../components/plugin/sections/screenshots/image-gallery/style";
    37 @import "../../components/plugin/sections/screenshots/style";
    38 @import "../../components/plugin/sections/stats/style";
    39 @import "../../components/plugin/sections/style";
     22@import "site-title";
     23@import "../../components/archive";
     24@import "../../components/main-navigation";
     25@import "../../components/page";
     26@import "../../components/plugin-card";
     27@import "../../components/plugin-icon";
     28@import "../../components/plugin-ratings";
     29@import "../../components/plugin-section";
     30@import "../../components/search-form";
     31@import "../../components/search";
     32@import "../../components/site-content";
     33@import "../../components/site-footer";
     34@import "../../components/site-main";
     35@import "../../components/plugin/favorite-button";
     36@import "../../components/plugin/plugin-banner";
     37@import "../../components/plugin/sections-changelog";
     38@import "../../components/plugin/sections-developers";
     39@import "../../components/plugin/sections-faq";
     40@import "../../components/plugin/sections-image-gallery";
     41@import "../../components/plugin/sections-reviews";
     42@import "../../components/plugin/sections-screenshots";
     43@import "../../components/plugin/sections-stats";
     44@import "../../components/plugin/sections";
    4045@import "../../components/plugin/style";
    41 @import "../../components/search-form/style";
    42 @import "../../components/search/style";
    43 @import "../../components/site-content/style";
    44 @import "../../components/site-footer/style";
    45 @import "../../components/site-header/main-navigation/style";
    46 @import "../../components/site-header/site-description/style";
    47 @import "../../components/site-header/site-title/style";
    48 @import "../../components/site-header/style";
    49 @import "../../components/site-main/style";
     46@import "../../components/widget-area/widgets-adopt-me";
     47@import "../../components/widget-area/widgets-committers";
     48@import "../../components/widget-area/widgets-contributors";
     49@import "../../components/widget-area/widgets-meta";
     50@import "../../components/widget-area/widgets-ratings";
     51@import "../../components/widget-area/widgets-support";
     52@import "../../components/widget-area/widgets";
    5053@import "../../components/widget-area/style";
    51 @import "../../components/widget-area/widgets/adopt-me/style";
    52 @import "../../components/widget-area/widgets/committers/style";
    53 @import "../../components/widget-area/widgets/contributors/style";
    54 @import "../../components/widget-area/widgets/meta/style";
    55 @import "../../components/widget-area/widgets/ratings/style";
    56 @import "../../components/widget-area/widgets/style";
    57 @import "../../components/widget-area/widgets/support/style";
Note: See TracChangeset for help on using the changeset viewer.