WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#36017 closed defect (bug) (fixed)

Add Device Preview to the Theme-install Previewer

Reported by: celloexpressions Owned by: ocean90
Milestone: 4.5 Priority: normal
Severity: normal Version: 4.6
Component: Themes Keywords: has-patch has-screenshots
Focuses: ui Cc:

Description

The theme-install previewer uses the same UI framework as the customizer, and allows themes to be previewed with generic content from wordpress.org. We should bring the device preview buttons in the customizer to this interface as well, so that themes can be easily previewed on various device sizes before being installed.

Attachments (3)

36017.diff (8.3 KB) - added by celloexpressions 3 years ago.
theme-install-device-preview.gif (2.1 MB) - added by celloexpressions 3 years ago.
With 36017.diff.
36017.2.diff (8.9 KB) - added by ocean90 3 years ago.

Change History (6)

#1 @celloexpressions
3 years ago

Note that the patch moves the CSS to themes.css and adjusts selectors so that it can be used for both versions. Also, the available devices are intentionally not customizable in this UI, since plugins are generally restricted from doing much to this interface directly.

#2 @mikeschroder
3 years ago

  • Owner set to ocean90
  • Status changed from new to assigned
  • Type changed from enhancement to defect (bug)

Changing this to bug, since it's something caught that was missed in #31195.

@ocean90
3 years ago

#3 @ocean90
3 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 36858:

Themes: Bring the device preview from [31195] to the theme install previewer.

Props celloexpressions.
Fixes #36017.

Note: See TracTickets for help on using tickets.