WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 11 months ago

#40278 new task (blessed)

Customizer: Introduce theme uploading

Reported by: melchoyce Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Customize Keywords: needs-patch ux-feedback
Focuses: ui, administration Cc:

Description

This is an offshoot of #37661. Please note: this ticket only addresses uploading themes to the Customizer. It does not touch on browsing and discovering new themes.

Theme switching in the Customizer was introduced in 4.2. Within the Customizer, you can preview any theme you currently have installed on your site. This feature would allow you to upload new themes directly from the Customizer, so you can preview them immediately without having to jump back into your themes admin screen.

Additionally, this introduces a new header for the Themes section, which was initially mocked up in #21666. This header will hopefully clarify some of the confusion between going in and out of the Themes section, by adapting the back arrow the other Customizer panels use.

See mockups for specific details and interactions.

Attachments (2)

customizer-theme-uploads-i1.png (1.5 MB) - added by melchoyce 2 years ago.
customizer-theme-showcase-i5.png (1.1 MB) - added by melchoyce 23 months ago.

Change History (22)

#1 @lukecavanagh
2 years ago

@melchoyce

The mock-ups for the theme uploader in the Customizer, seems very clear on flow.

#2 @karmatosed
2 years ago

+1 this is something people have been asking for. I look forward to running some tests once we have this coded.

#3 follow-up: @westonruter
2 years ago

Minor note: I believe the Undo/Redo/History controls in customizer-theme-uploads-i1.png are not intended to be part of the proposed design for the feature here.

#4 in reply to: ↑ 3 @melchoyce
2 years ago

Replying to westonruter:

Minor note: I believe the Undo/Redo/History controls in customizer-theme-uploads-i1.png are not intended to be part of the proposed design for the feature here.

True, that's leftover from #21666 :)

#5 @celloexpressions
2 years ago

This would be most appropriate as part of #37661. As I mentioned in Slack, upload support without the ability to install themes directly undermines the WordPress.org repository and promotes a poor user experience. Additionally, #37661 integrates shiny updates/installs into the customizer and provides a much more robust themes framework than what currently exists; there are significant technical advantages to building this as a part of that project or following its inclusion in core. The next step is to build out the shiny upload functionality and implement the previously-approved theme uploads design in #37661.

#6 @westonruter
2 years ago

In 41368:

Customize: Add rightward-facing back button to Themes section header to improve navigation (since the section slides in from the left).

Also serves to prototype for an upward-facing arrow in this location for a Publish Settings section.

Props melchoyce, westonruter.
See #39896, #40278, #21666.

#7 @celloexpressions
2 years ago

If anyone would still like to tackle this for 4.9, the first step is to implement the server-side support for shiny uploads. Then, that can be amended to #37661 with the UI as designed in the mockups on that ticket. The framework for shiny install + upload + preview is already present there. Not sure why we would step back to something like customizer-theme-uploads-i1.png, which de-emphasizes existing themes and undermines official avenues for finding themes as noted above.

This ticket was mentioned in Slack in #core-customize by celloexpressions. View the logs.


2 years ago

This ticket was mentioned in Slack in #core-customize by celloexpressions. View the logs.


23 months ago

#10 @melchoyce
23 months ago

Latest mockup, taken from #37661: customizer-theme-showcase-i5.png. Designs by @folletto.

#11 follow-up: @melchoyce
23 months ago

Worth maybe just adding a link to upload themes so it exists for 4.9?

#12 in reply to: ↑ 11 @celloexpressions
23 months ago

Replying to melchoyce:

Worth maybe just adding a link to upload themes so it exists for 4.9?

This is a similar idea to the 4.2 proposal to link to adding themes in the customizer. It's a similar problem of lost context here, and the question is whether that's worth the lack of discovery of not having it.

If someone has time to flesh out an implementation for theme uploading, maybe it could be added during beta? Or, this could be a good minor release feature candidate for 4.9.1. I think the first thing to do is to finish the design for uploading in the preview area, off of the upload theme section heading.

#13 @melchoyce
22 months ago

  • Milestone changed from Future Release to 4.9.1
  • Type changed from feature request to task (blessed)

#14 @johnbillion
21 months ago

  • Keywords needs-patch ux-feedback added
  • Milestone changed from 4.9.1 to 5.0

This isn't something to go into a minor release.

This ticket was mentioned in Slack in #core by melchoyce. View the logs.


21 months ago

#16 @philclothier
20 months ago

How would this interact with theme's which require specific plugins after installing? For example, many themes require plugins via a notification that appears after the theme has been activated - https://github.com/TGMPA/TGM-Plugin-Activation.

If less experienced users start to install themes via the Customizer, they may find that the theme does not work correctly, yet have no idea that this is due to a missing plugin.

Would it be possible to display a notification within the Customizer in this case?

Last edited 20 months ago by philclothier (previous) (diff)

#17 @melchoyce
20 months ago

Good point, @philclothier, and one that folks are probably already encountering. I think it would be reasonable to display those notifications within the Customizer, maybe with an additional caveat that to finish setting up the necessary plugins, you need to exit the Customizer.

This ticket was mentioned in Slack in #design by boemedia. View the logs.


11 months ago

#19 @boemedia
11 months ago

We discussed this in our weekly design ticket triage. Being able to install new themes from the customizer seems to avoid unnecessary movement between the customizer and the WP dashboard. As for the additional installation of plugins: it would be wise to add a notification within the Customizer. But in the old situation (present), you have to move away from themes to plugin installation too. So that's not really changing, is it?

Is there a possibility to add install possibilities within the notification, like it sometimes occurs in the dashboard as well?

Saying something like: this theme requires the xx-plugin <install now> / <ignore> / <dismiss>

We're also curious to see where this goes after WP5.0 and what the Gutenberg effect on this would be.

Last edited 11 months ago by boemedia (previous) (diff)

#20 @melchoyce
11 months ago

  • Milestone changed from 5.0 to Future Release

Punting to Future Release; don't see this coming in 5.0.

Note: See TracTickets for help on using tickets.