-
Notifications
You must be signed in to change notification settings - Fork 635
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
DocumentationBrowserViewExtension Upgrade + Insert #13414
Merged
reddyashish
merged 39 commits into
DynamoDS:master
from
dnenov:dnenov-update-documentationbrowser
Nov 1, 2022
Merged
DocumentationBrowserViewExtension Upgrade + Insert #13414
reddyashish
merged 39 commits into
DynamoDS:master
from
dnenov:dnenov-update-documentationbrowser
Nov 1, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- updated the MarkdownStyling.html containing the css for styling the browser - first updates to the NodeDocumentationHtmlGenerator to test the styling
- adopting the components of the new UI design
- location of markdown part of the document moved to the Node Information sections (first expander)
- work on the table containing Inputs and Outputs - css style changes - dpi script change to allow for 100% width
- restyling of inputs and outputs table done
- slight changes to the left/right margin of the body
- added the initial Image navigation implementation in javascript - KNOWN ISSUES - HTML Sanitize will remove 'position: absolute/relative' from CSS code. Current workaround is very patchy and a better solution needs to be found - button restyling WIP - zoom-in/zoom-out recenters image (WIP)
- now reads the layoutspec.json by using the ILayoutSpecSource interface - added a Func to ILayoutSpec to allow for the layoutspec.json to be retrieved after all extensions are loaded - zooming in/out of image in browser javascript implementation - styling WIP - whitelisted CSS position property in Md2HtmlSanitizer
- added icons to image navigation buttons - added an eventhandler to button click handling Insert function
- WIP Insert file from path
- the full workflow now inserts a graph with all the relevant Annotations - the functionality was added in the DynamoModel class
- now tries to find the corresponding Dynamo graph from the MarkDown location (fallback_docks folder)
…BrowserViewExtension - added a command to help 'dissolve' nested group into their parent group - improved the logic when inserting links into file using the DocumentationBrowserViewExtension
- progression work on 'Insert' function
- will only allow for .dyn files to be inserted in HomeWorkspaceModel - will only prompt for .dyf files to be inserted in CustomNodeWorkspaceModel - the *.* option will still allow you to potentially mix-and-match, needs testing
- when inserting no longer prompts the user to save the current progress
- added notifications when flipping RunType to Manual before insertion
- small fix for the location of notes outside group in DocumentaionBrowser routine
- added a test for the new Insert function
…umentationbrowser
reddyashish
reviewed
Oct 25, 2022
reddyashish
reviewed
Oct 25, 2022
reddyashish
reviewed
Oct 25, 2022
reddyashish
reviewed
Oct 25, 2022
src/DocumentationBrowserViewExtension/DocumentationBrowserViewExtension.cs
Show resolved
Hide resolved
reddyashish
reviewed
Oct 25, 2022
src/DocumentationBrowserViewExtension/DocumentationBrowserViewExtension.cs
Outdated
Show resolved
Hide resolved
reddyashish
reviewed
Oct 25, 2022
src/DocumentationBrowserViewExtension/DocumentationBrowserViewExtension.cs
Outdated
Show resolved
Hide resolved
- aligning the style of the image control buttons to the existing workspace visual controls in Dynamo
- changes to existing tooltips regarding RunSettings dropdown - new ? info tooltip added to Preferences panel inline with Default Run Settings
- now raises a toast notification when failing to insert a graph due to nodes already existing in the workspace
@dnenov Looks like there is one test that is failing: CheckThatEmbeddedHtmlContentDoesNotSanitize. |
reddyashish
reviewed
Oct 31, 2022
src/DocumentationBrowserViewExtension/DocumentationBrowserViewExtension.csproj
Outdated
Show resolved
Hide resolved
- added properties used in MarkdownStyling.html - removed unnecessary 'include' statements for the DocumentationBrowser project - cleaned up unused code
reddyashish
reviewed
Oct 31, 2022
reddyashish
reviewed
Oct 31, 2022
reddyashish
reviewed
Oct 31, 2022
reddyashish
reviewed
Oct 31, 2022
reddyashish
reviewed
Oct 31, 2022
reddyashish
reviewed
Oct 31, 2022
src/DocumentationBrowserViewExtension/DocumentationBrowserViewExtension.cs
Outdated
Show resolved
Hide resolved
reddyashish
reviewed
Oct 31, 2022
reddyashish
reviewed
Oct 31, 2022
reddyashish
reviewed
Oct 31, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @dnenov. Looks good with some comments.
reddyashish
reviewed
Oct 31, 2022
src/DocumentationBrowserViewExtension/DocumentationBrowserViewExtension.cs
Outdated
Show resolved
Hide resolved
reddyashish
reviewed
Oct 31, 2022
src/DocumentationBrowserViewExtension/DocumentationBrowserViewExtension.cs
Outdated
Show resolved
Hide resolved
reddyashish
reviewed
Oct 31, 2022
reddyashish
reviewed
Oct 31, 2022
Running the CI job here: https://master-15.jenkins.autodesk.com/view/DYN/job/DYN-DevCI_Self_Service/1099/ |
…ov-update-documentationbrowser
reddyashish
approved these changes
Nov 1, 2022
8 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
This PR covers the work done in two directions:
DocumentationBrowserViewExtension
Insert
Declarations
Check these if you believe they are true
*.resx
filesRelease Notes
(FILL ME IN) Brief description of the fix / enhancement. Mandatory section
Reviewers
@reddyashish
FYIs
@Amoursol