Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V8/feature/ab4550 segments ui variant picker #7614

Conversation

PerplexDaniel
Copy link
Contributor

Description

@nielslyngsoe Amazing work already, looks great! I was checking it for a bit and in the process already made some fixes for stuff I ran into hope that's OK. Sending you these as a PR so you can easily view / test them yourself.

The fixes are mainly for situations where "Vary by culture" is not enabled on property-level or on content-type level. With certain combinations the UI regarding "Inherited by " was not correct and fields were not properly disabled. In addition, in splitview mode where multiple variants are saved/published a variant with culture null and some segment s was not being saved at all.

There are probably some more things that need to be refined, for example the getVariantDisplayName function in Angular might be removed if we introduce a DisplayName (or similar) property on the ContentVariantDisplay class in C# instead. This saves binding to functions in AngularJS which isn't great for performance.

@nielslyngsoe
Copy link
Member

@PerplexDaniel Looks good, I'm merging. :-)

@nielslyngsoe nielslyngsoe merged commit 124bc27 into umbraco:v8/feature/AB4550-segments-ui-variant-picker Feb 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants