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

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

Merged
merged 31 commits into from
Jan 17, 2024

Conversation

zeusongit
Copy link
Contributor

@zeusongit zeusongit commented Jan 11, 2024

Purpose

Add warning text to selection node's ghost warning.
Initially when no element is selected, the node state is in Warning state, but no text was displayed, this PR adds the text Nothing selected to the warning info state.

Revit_arSWxM3B7l

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

  • Add con(text) to selection node initial warning.

Reviewers

@DynamoDS/dynamo

Copy link

UI Smoke Tests

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

@QilongTang
Copy link
Contributor

But somehow warning bubble is still not enabled for selection nodes?

@QilongTang QilongTang added this to the 3.0.2 milestone Jan 11, 2024
@zeusongit
Copy link
Contributor Author

zeusongit commented Jan 12, 2024

But somehow warning bubble is still not enabled for selection nodes?

@QilongTang For the warning bubble to appear we had to set persistent flag as true, or else the bubble is not update and the flow is returned at this line

if (!NodeModel.WasInvolvedInExecution || !hasErrorOrWarning) return;

since the select face node is not involved in execution initially.

But after setting the warning as persistent, the warning is shown even after an element is selected.

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

@zeusongit
Copy link
Contributor Author

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

@zeusongit
Copy link
Contributor Author

Passed, merging!

@zeusongit zeusongit merged commit 2368974 into DynamoDS:master Jan 17, 2024
21 checks passed
@QilongTang
Copy link
Contributor

@zeusongit Please cherry-pick this one to RC3.0.2

zeusongit added a commit to zeusongit/Dynamo that referenced this pull request Jan 17, 2024
…moDS#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 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
* Fix PostDiff job

* Update Selection.cs

* made the warning persistent and then add removal code
@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 <[email protected]>
Co-authored-by: Enzo Batista <[email protected]>
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