#5431 closed task (blessed) (fixed)
Plugin Directory: Remove unused React code
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Plugin Directory | Keywords: | has-patch |
Cc: |
Description
As part of the Plugin Directory theme refresh #1719, the theme UI was rewritten into a React app. It was disabled, and has been unused waiting to be re-enabled. This would need some investment to get it to a launchable state (best practices have changed, packages would need updating, etc). Since development time is better spent on other features, this code should be removed.
Change History (3)
Note: See
TracTickets for help on using
tickets.
Remove the react theme code, leaving only the screenshot component (the only part of the app currently in use). This leaves most of the CSS in place, but collapses it down into fewer folders. This also updates the build process to use
wp-scripts
for the JS, so we can get the dependency extraction code.npm run build
ornpm run watch
can be used to build the CSS and JS.https://meta.trac.wordpress.org/ticket/5431