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

Visual Restyle Update #13133

Merged

Conversation

dnenov
Copy link
Collaborator

@dnenov dnenov commented Jul 25, 2022

Purpose

This is a follow-up PR to the Visual Restyle with a few minor tweaks, updates, and improvements.

  • high-density design applied to various dialog windows
  • various dialog windows can now allow resizing to accommodate for long text displays
  • placement of buttons on the default Dynamo Message Box changed
  • added TitleBarButton icons for dark and light theme
  • light/dark theme for textboxes
  • quality of life improvement - minimum grip height to scroll bars

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

  • high-density design applied to various dialog windows
  • various dialog windows can now allow resizing to accommodate for long text displays
  • placement of buttons on the default Dynamo Message Box changed
  • added TitleBarButton icons for dark and light theme
  • light/dark theme for textboxes
  • quality of life improvement - minimum grip height to scroll bars

Reviewers

@reddyashish

FYIs

@Amoursol

dnenov added 12 commits July 21, 2022 14:34
- reduced margins and paddings to PackageTermsOfUse and UsageReportingAgreement dialogs
- added an icon set for dark and light theme for the maximize, minimize, close and restore buttons
- button resource named 'Normalize' changed to 'Restore'
- all references to that resource have been renamed to match the new version
- old icons replaced with new for the CloseButtonStyle, MinimizeButtonStyle, MaximizeButtonStyle, and RestoreButtonStyle
- minor typo in one of the image resources fixed
- created a base button style to contain all the base properties of both Light and Dark theme styles
- created a derived Dark theme style
- changed the Edit Name dialog to use the new Dark Theme Style
- aligned light theme styles to also derive from the basebuttonstyle
- introduced ZoomDirectEditThreshold as a Configuration variable to control both Notes and Nodes rename zoom level
- fixed the mouseover and focus style for the HintingTextBox Style, which is used for the Edit Name (Node + Note) dialog
- added minimum height value for the Terms of Use dialog window
- added a minimum height to the scrollbar grip, so regardless of the amount of scrollable area, the decent grip height will be available
- change the color to the selected text when editing Node's name
- added a new resource in the DynamoColorsAndBrushes dictionary file for future use
- changes to the Crash dialog window to make it resizable
- swapped the position of the 'Yes' and 'No' button so the blue 'continue' button is always at the right-hand side of the dialog
@Amoursol
Copy link
Contributor

@dnenov would it be possible to please edit the PR submission and add in a description of what was improved? It helps with future referral when we look back :)

- shifted the 'Cancel' button to the left-hand side of the dialog
@dnenov dnenov marked this pull request as ready for review July 25, 2022 16:01
- 'Up to date' text now fixed to the Dynamo logo when resizing the window
@reddyashish
Copy link
Contributor

reddyashish commented Jul 28, 2022

Thanks @dnenov, Also can we delete the old images if no component is using it.

dnenov added 4 commits July 30, 2022 11:04
- fixed an issue where renaming a Node directly would not mark the Graph as changed
- fixed issue where Graph wouldn't get marked as changed after editing a Note
- changed the shade of selection color for the Node to comply with contrast standards
- remove old png resources and replaced with new ones
@reddyashish reddyashish merged commit a450f7a into DynamoDS:master Aug 1, 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.

3 participants