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

Pinned Note on Dismissed Warnings #13128

Merged
merged 3 commits into from
Jul 22, 2022

Conversation

dnenov
Copy link
Collaborator

@dnenov dnenov commented Jul 20, 2022

Purpose

The purpose of this PR is to rectify an issue where a pinned Note would remain in the same offset location after a Warning (dialog) has been dismissed. Normally, a Note would correctly get pushed up to provide space for the Warning tooltip dialog. However, when a Warning is dismissed, the space provided is no longer needed. This PR fixes this issue.

A secondary purpose of this PR is to make sure a Warning Dialog is always displayed on top, even in case of a more recent UI element (note). Currently, a note added after a Warning has been registered will appear on top of the Warning, which should not be the case. (Postponed)

A third potential goal is to allow to copy Connector Pins when copying/pasting Nodes with Pinned Connectors. (WIP)

Pin Dismissed Warnings
pin dismissed warnings

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

Release Notes

  • pinned Note correctly aligns to the Node once a Warning is dismissed

Reviewers

@reddyashish
@mjkkirschner

FYIs

@Amoursol

- pinned Note correctly aligns to the Node once a Warning is dismissed
@reddyashish reddyashish marked this pull request as ready for review July 20, 2022 11:22
@reddyashish reddyashish marked this pull request as draft July 20, 2022 11:25
dnenov added 2 commits July 20, 2022 17:34
- for internal review, Commit may be reverted later
- attempts to allow Copy/Paste for Pins (ConnectorPinModel)
- working directly inside the Copy() and Paste() methods of DynamoModel
@reddyashish reddyashish marked this pull request as ready for review July 21, 2022 15:01
Copy link
Contributor

@reddyashish reddyashish left a comment

Choose a reason for hiding this comment

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

After some discussion, we will be addressing the ability to "copy Connector Pins when copying/pasting Nodes with Pinned Connectors" in a different task.

@reddyashish reddyashish merged commit 375351d into DynamoDS:master Jul 22, 2022
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