Skip to content

Use new Media UI for variation thumbnail #42

@garyc40

Description

@garyc40

This is a tough one.

If you click on the thumbnail of a variation while editing a product, wpec is still using the old media UI.

After taking a brief look at the code for the new Media UI, it looks like converting that to use new Media UI is really tough (if not possible). The main problem is the javascript for new media UI doesn't allow multi instances of the media manager to be spawned. There are three ways to deal with this:

  • Work with WP.org core team and propose changes to make multi instances work.
  • Devise our own UI for selecting variation thumbnail.
  • Just live with the old media UI, but there's no telling when this will be deprecated. Better prepare for that soon.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions