Skip to content

Style Variations: Add warning when custom styles will be lost #40561

Closed

Description

@clubkert

What problem does this address?

If a user creates a custom style and then switches to another style variation, the previous customizations are lost.

In the below video, I switch the background color to a gradient. However, if I then try out different style variations, my previous settings are lost with no warning.

Screen.Recording.2022-04-22.at.3.51.20.PM.mov

What is your proposed solution?

If I've made changes to my style settings, I'd expect a warning before switching to another variation letting me know that I'll lose my changes if I don't save the page first.

This might be related to saving style variations (#38333)

Activity

  1. added
    Global Styles
    [Feature] Site Editor
    on Apr 25, 2022
  2. added
    Needs Design
    on Apr 28, 2023
  3. moved this to 🎨 Needs design in Polishon Apr 28, 2023
  4. added
    [Type] Enhancement
    on Sep 14, 2023
  5. changed the title [-]Add warning when custom styles will be lost[/-] [+]Style Variations: Add warning when custom styles will be lost[/+] on Sep 14, 2023
  6. added
    [Feature] Theme Style Variations
    and removed
    [Feature] Site Editor
    on Sep 14, 2023
  7. annezazu commented on Dec 5, 2023

    @annezazu
    Contributor

    Closing this out in favor of this overall issue that references this problem as something to solve: #45371 Thank you for opening this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Global StylesNeeds Design[Feature] Theme Style Variations[Type] Enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions