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

partially revert #13744 and add comments #14377

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

mjkkirschner
Copy link
Member

@mjkkirschner mjkkirschner commented Sep 6, 2023

Purpose

As a first step toward addressing the bug report here:
#14369

This PR just reverts the initial string preview transformations, we can merge there and then quickly cherry pick to 2.19. Even though I intend to send a proposal for an alternative string format improvement to master, I want to make sure these changes make it to master and 2.19.

strings now stay strings.

Screenshot 2023-09-05 at 8 21 55 PM Screenshot 2023-09-05 at 8 22 17 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

Fix bug with numeric display in preview bubbles.

Reviewers

@@ -260,6 +260,7 @@ private static string GetStringFromObject(object obj)
return ObjectToLabelString(obj);
case TypeCode.Double:
return ((double)obj).ToString(numberFormat, CultureInfo.InvariantCulture);
//!!!!carefully consider the consequences of this change before uncommenting.
Copy link
Contributor

Choose a reason for hiding this comment

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

like what?

Copy link
Member Author

Choose a reason for hiding this comment

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

great question.

@mjkkirschner mjkkirschner merged commit 01c2525 into DynamoDS:master Sep 6, 2023
@mjkkirschner mjkkirschner deleted the revert13744 branch September 6, 2023 04:24
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