-
Bug
-
Resolution: Released
-
Should have
-
None
-
4
-
Campaigns
-
Sprint #129, Sprint #130, Sprint #131
-
pandora
NOTE: The description of this ticket changed because it was too broad, the code is done and already up in a test environment.
Some options in the Campaign Sidebar are different depending on the theme, for example, the available colors for the Minimal navigation bar are mostly green in Forest, and mostly Blue in Antarctic or Arctic.
So, for example: if you selected Minimal navigation, and a green color navbar from the Forest theme, when you change the theme to Antarctic, a different color gets selected by default in the Sidebar (which is the desired behavior), but the preview will still show the old navbar color from Forests (green).
This ticket mainly addresses issues when switching to a different theme and not clicking any options, for example:
- Go into this page: https://k8s.p4.greenpeace.org/test-pandora/wp-admin/post.php?post=28937&action=edit
- Click in Preview, it will open the Preview in a new tab: you should see the campaign, it is a Forest theme, so the Navbar is green
- Keep the preview open and go back to the Campaign editor
- Change the theme using the Theme dropdown (only the theme!) to one with different navbar color options, for example, the Arctic or Antarctic theme. You'll notice the new color for the navbar is automatically selected and it's now blue.
- Click on "Preview" again, the Preview tab should refresh and the navbar should now be blue instead of Green.
- relates to
-
PLANET-4901 P4CG Campaign Sidebar: Ensure fields with dependencies get the right defaults
- CLOSED
-
PLANET-5005 Issues remaining with campaign variables on sidebar
- CLOSED
-
PLANET-4820 P4CG - Footer color should not be applied when "Main website navigation" is selected
- CLOSED
-
PLANET-4896 P4CG - body font options don't work
- CLOSED