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

Shows a warning for people tempted to switch from the Obsolete to the new MediaPicker(v3) #10334

Merged
merged 1 commit into from
May 27, 2021

Conversation

nul800sebastiaan
Copy link
Member

@nul800sebastiaan nul800sebastiaan commented May 26, 2021

This is in relation to #10308, please read that first.

Which looks like this:

image

@@ -8,6 +8,9 @@ namespace Umbraco.Web.PropertyEditors
/// </summary>
public class MediaPickerConfiguration : IIgnoreUserStartNodesConfig
{
[ConfigurationField("notice", "You can NOT change the property editor", "obsoletemediapickernotice")]
public bool Notice { get; set; }

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nul800sebastiaan I think this should be defined as string.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure but it doesn't really matter, it's not a REAL prevalue, just a hack to show a warning for now while we think of a betters solution. 😄

@skttl
Copy link
Contributor

skttl commented May 26, 2021

I see the good intention, but isn't this the case for most data editors already?

@nathanwoulfe
Copy link
Contributor

I think it's valuable since previous obsolete editors can be swapped out - ContentPicker for ContentPicker2, for example, works fine.
Probably a good pattern to adopt for all obsolete/superseded patterns, so users can make changes knowing they're not going to lose 1500 images from their site...

@nul800sebastiaan
Copy link
Member Author

I see the good intention, but isn't this the case for most data editors already?

@skttl yes of course, this is just a first step since we already KNOW that people will try it and get burned: #10308

We need to expand this somehow but we don't have the bandwith before release.

@nul800sebastiaan nul800sebastiaan merged commit a845d2b into v8/8.14 May 27, 2021
@nul800sebastiaan nul800sebastiaan deleted the v8/new-media-picker-warning branch May 27, 2021 08:41
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.

8.14-RC Make it possible to switch between Media Picker 2 and Media Picker 3
4 participants