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

replace Xceed.Wpf.Toolkit with DotNetProjects.Extended.Wpf.Toolkit #14129

Merged
merged 6 commits into from
Jul 12, 2023

Conversation

pinzart90
Copy link
Contributor

@pinzart90 pinzart90 commented Jul 6, 2023

License info:
Xceed introduced the non-commercial license on https://github.com/xceedsoftware/wpftoolkit/releases/tag/3.7.0
DotNetProjects.Extended.Wpf.Toolkit : last merge from xceed was from release 3.6.0 (dotnetprojects/WpfExtendedToolkit@66438b1)

@@ -1114,7 +1114,7 @@ public bool NodeAutocompleteMachineLearningIsBeta
{
get
{
return DynamoModel.FeatureFlags.CheckFeatureFlag("NodeAutocompleteMachineLearningIsBeta", false);
return DynamoModel.FeatureFlags?.CheckFeatureFlag("NodeAutocompleteMachineLearningIsBeta", false) ?? false;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this causes an exception and makes it harder to debug

Copy link
Member

Choose a reason for hiding this comment

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

@pinzart90 what do you think about forcing this member to be nullable? It seems like the API change is worth the wasted dev and user crash time.

Copy link
Contributor Author

@pinzart90 pinzart90 Jul 11, 2023

Choose a reason for hiding this comment

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

This API is only used in binding to a UI element. The binding is handled by a BooleanConverter which handles nullables the same way the function is written now (at least that what the decompiler shows me)
I can convert it if you want to, it is a breaking change (I think) ...maybe it does not matter for view models.

Copy link
Member

Choose a reason for hiding this comment

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

Let's leave it out of this PR.

@@ -5,7 +5,6 @@
using LiveCharts.Wpf;
using System.ComponentModel;
using System.Windows;
using System.Web.ModelBinding;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this was causing an issue on dotnet6 (it is not really needed)

@pinzart90 pinzart90 marked this pull request as ready for review July 6, 2023 13:28
@mjkkirschner
Copy link
Member

@pinzart90 Do we need to make changes to the license.txt, about box and third party wiki with the link to the license in the new repo?

Copy link
Contributor

@sm6srw sm6srw left a comment

Choose a reason for hiding this comment

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

LGTM!

@pinzart90 pinzart90 mentioned this pull request Jul 11, 2023
9 tasks
@github-actions
Copy link

github-actions bot commented Jul 11, 2023

⚠️ [run-bin-diff] - Files Added/Deleted::1 new file(s) have been added

(Updated: 2023-07-11-17:27:17)

@mjkkirschner
Copy link
Member

mjkkirschner commented Jul 11, 2023

@pinzart90
Screenshot 2023-07-11 at 11 48 09 AM

This doesn't look correct? Also strangely there is no change to the net6 build?

@pinzart90 pinzart90 merged commit e7804d3 into master Jul 12, 2023
33 checks passed
@pinzart90 pinzart90 deleted the exceed_net6 branch July 12, 2023 04:15
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.

5 participants