WordPress.org

Making WordPress.org

Opened 6 weeks ago

Last modified 6 weeks ago

#5431 assigned task

Plugin Directory: Remove unused React code

Reported by: ryelle Owned by: ryelle
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 (1)

This ticket was mentioned in PR #19 on WordPress/wordpress.org by ryelle.


6 weeks ago

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 or npm run watch can be used to build the CSS and JS.

https://meta.trac.wordpress.org/ticket/5431

Note: See TracTickets for help on using tickets.