Skip to content

Conversation

@zeusongit
Copy link
Contributor

@zeusongit zeusongit commented Jan 10, 2024

Purpose

Using double has caused problems while calculating percentages from decimal scores received from the API calls.
See here: https://stackoverflow.com/questions/7568245/multiplying-a-double-by-100-in-c-sharp-leads-to-unexpected-answer
To not make a breaking change the PR is rounding up the calculated value.

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

(FILL ME IN) Brief description of the fix / enhancement. Mandatory section

Reviewers

@QilongTang

@zeusongit zeusongit requested a review from QilongTang January 10, 2024 23:09
@zeusongit zeusongit requested a review from reddyashish January 10, 2024 23:09
@github-actions
Copy link

UI Smoke Tests

Test: success. 2 passed, 0 failed.
TestComplete Test Result
Workflow Run: UI Smoke Tests
Check: UI Smoke Tests - net8.0

@QilongTang
Copy link
Contributor

Somehow self serve did not trigger, I created a job covering this PR at https://master-5.jenkins.autodesk.com/job/Dynamo/job/DynamoSelfServe/job/pullRequestValidation/13691/

@QilongTang
Copy link
Contributor

passed

@QilongTang QilongTang merged commit 973769a into DynamoDS:master Jan 11, 2024
zeusongit added a commit to zeusongit/Dynamo that referenced this pull request Jan 11, 2024
…ynamoDS#14829)

* Fix PostDiff job

* Update NodeAutoCompleteSearchViewModel.cs
QilongTang pushed a commit that referenced this pull request Jan 11, 2024
…14829) (#14834)

* Fix PostDiff job

* Update NodeAutoCompleteSearchViewModel.cs
QilongTang pushed a commit that referenced this pull request Jan 17, 2024
…s initial warning (#14833)  (#14856)

* [DYN-6354] Fix incorrect confidence score display in ML suggestions (#14829)

* Fix PostDiff job

* Update NodeAutoCompleteSearchViewModel.cs

* [DYN-6455] Add warning text to selection node's initial warning (#14833)

* Fix PostDiff job

* Update Selection.cs

* made the warning persistent and then add removal code
QilongTang pushed a commit that referenced this pull request Feb 29, 2024
…14829)

* Fix PostDiff job

* Update NodeAutoCompleteSearchViewModel.cs
@QilongTang QilongTang mentioned this pull request Feb 29, 2024
9 tasks
QilongTang added a commit that referenced this pull request Mar 1, 2024
* Re-work watch node display logic (#14841)

* improvements (#14497)

* [DYN-6455] Add warning text to selection node's initial warning (#14833)

* Fix PostDiff job

* Update Selection.cs

* made the warning persistent and then add removal code

* [DYN-6585] Fix Export workspace as Image option from Menu Item (#14809)

* Fix PostDiff job

* Update DynamoView.xaml

* Revert UI Blocking Function calls (#14766)

* [DYN-6354] Fix incorrect confidence score display in ML suggestions (#14829)

* Fix PostDiff job

* Update NodeAutoCompleteSearchViewModel.cs

* Update

* DYN-5745 re enable copy/paste capabilities for library searchBar (#14492)

* feat(library): keydown events binding and copy/paste for clipboard management

* refactor(library): OnPasteFromClipboard function for clipboard management including comments

* DYN-6364 Skip Lucene indexing process in UIless mode (#14523)

* skip Lucene indexing process in UIless mode

* Update comments

---------

Co-authored-by: Ashish Aggarwal <ashish.aggarwal@autodesk.com>
Co-authored-by: Enzo Batista <111511512+Enzo707@users.noreply.github.com>
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