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

Multiple fixes for 2.18 #13880

Merged
merged 8 commits into from
Apr 10, 2023
Merged

Multiple fixes for 2.18 #13880

merged 8 commits into from
Apr 10, 2023

Conversation

zeusongit
Copy link
Contributor

@zeusongit zeusongit commented Apr 7, 2023

Purpose

DYN-4930 - Update Group Defaults

Screenshot 2023-04-07 at 2 35 40 PM

DYN-5718 - Localize tooltip

Screenshot 2023-04-07 at 2 38 36 PM

DYN-5746 - Remove round edges

Screenshot 2023-04-07 at 2 39 49 PM

DYN-5751 - Format recommendation score

Display 100% properly, Min and Max width adjusted:
Screenshot 2023-04-07 at 4 10 35 PM

Display <1% for scores that are 0 or less than 1:
Screenshot 2023-04-07 at 4 14 32 PM

Unified score display in score tooltip, by using the same converter to format score in code-behind as well:
Screenshot 2023-04-07 at 4 38 05 PM

DYN-5655 - Fix documentation link

Removed an extra function with the same name and added label container:
Screenshot 2023-04-07 at 5 19 15 PM

Declarations

Check these if you believe they are true

  • The codebase is in a better state after this PR
  • Is documented according to the standards
  • The level of testing this PR includes is appropriate
  • User facing strings, if any, are extracted into *.resx files
  • All tests pass using the self-service CI.
  • Snapshot of UI changes, if any.
  • Changes to the API follow Semantic Versioning and are documented in the API Changes document.
  • This PR modifies some build requirements and the readme is updated
  • This PR contains no files larger than 50 MB

Release Notes

  • UI fixes

Reviewers

@DynamoDS/dynamo

@QilongTang QilongTang added this to the 2.18.0 milestone Apr 7, 2023
@@ -1835,7 +1835,7 @@ Do you want to install the latest Dynamo update?</value>
<value>Run started with new working range...</value>
</data>
<data name="GroupDefaultText" xml:space="preserve">
<value>&lt;Double click here to edit group description&gt;</value>
Copy link
Contributor

Choose a reason for hiding this comment

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

Are we using the same resource string in both Core and CoreWpf? Should we get rid of one of them?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, we are using the same resource string in both, but the Wpf resources are unavailable in Core.

@@ -217,7 +217,7 @@
Command="{Binding SignOutCommand}"
Name="logoutOption">
<MenuItem.ToolTip>
<ToolTip Content="Sign Out" Style="{StaticResource GenericToolTipLight}"/>
<ToolTip Content="{x:Static p:Resources.LogoutMenuItemText}" Style="{StaticResource GenericToolTipLight}"/>
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks!

@zeusongit zeusongit marked this pull request as ready for review April 7, 2023 21:22
//private void OnMoreInfoClicked(object sender, MouseButtonEventArgs e)
//{
// dynViewModel.OpenDocumentationLinkCommand.Execute(new OpenDocumentationLinkEventArgs(new Uri(Dynamo.Wpf.Properties.Resources.NodeAutocompleteDocumentationUriString, UriKind.Relative)));
//}
Copy link
Contributor

Choose a reason for hiding this comment

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

@zeusongit Do we need to remove this commented code?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed

@zeusongit zeusongit merged commit 146b6ea into DynamoDS:master Apr 10, 2023
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