CARVIEW |
Select Language
HTTP/2 200
date: Tue, 29 Jul 2025 15:16:43 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/DynamoDS/Dynamo.git
etag: W/"91f8f067e4ad4c0da0a7f261609d03fe"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=84Gop2UAAh1Fk%2BezabqvRecaHxEHVH8y1Ve0awg9XoGNdQGAhQMjkWFW4lTW5PVU2Jhp0UH6HSXqBSG7JCdXVmsHbqtcmIhB%2FhTgQGJCgZXskVVjyXZQdRRVZP7Crf%2B4AIt5vrYY%2B3MiUiifxXDiJSV3mO4Zusk%2FCizmq7x2WTPOthha4W7eovJVHKz7V2%2BX%2F7hr9pwRmFH49vI3RJohqg9ysWj97%2BQvYcY41W206aks%2B1CoKCcAgOnH52Wq0dpv5oTD0NA2rgL%2FaObt91N5oA%3D%3D--zFigpXkcyF9Vh6Er--mWMF%2FooP05%2BtQPOHyyRb7A%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1316509768.1753802201; Path=/; Domain=github.com; Expires=Wed, 29 Jul 2026 15:16:41 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 29 Jul 2026 15:16:41 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: C2D4:317B9A:D0B916:F6C9F8:6888E5D9
Dyn 5106 webview2 documentation browser (#13212) · DynamoDS/Dynamo@2686b5d · GitHub
Dismiss banner
Copy file name to clipboardExpand all lines: src/DocumentationBrowserViewExtension/Docs/ArgumentNullException.html
Copy file name to clipboardExpand all lines: src/DocumentationBrowserViewExtension/Docs/CustomNodeNotLoaded.html
Copy file name to clipboardExpand all lines: src/DocumentationBrowserViewExtension/Docs/Deprecated.html
Copy file name to clipboardExpand all lines: src/DocumentationBrowserViewExtension/Docs/DereferencingNonPointer.html
Copy file name to clipboardExpand all lines: src/DocumentationBrowserViewExtension/Docs/ErrorPageTemplate.html
Copy file name to clipboardExpand all lines: src/DocumentationBrowserViewExtension/Docs/ExcelNotInstalled.html
Copy file name to clipboardExpand all lines: src/DocumentationBrowserViewExtension/Docs/FailedToCastFromNull.html
Copy file name to clipboardExpand all lines: src/DocumentationBrowserViewExtension/Docs/FileNotFound.html
Copy file name to clipboardExpand all lines: src/DocumentationBrowserViewExtension/Docs/IntegerOverflow.html
Copy file name to clipboardExpand all lines: src/DocumentationBrowserViewExtension/Docs/InternalError.html
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 658
Commit 2686b5d
Dyn 5106 webview2 documentation browser (#13212)
* DYN-5106-WebView2-DocumentationBrowser
I replaced the WebBrowser component by WebView2 in the file DocumentationBrowserView.xaml, also I added some functions for initializing WebView2,
The method ShouldAllowNavigation was modified due that WebView2 doesn't have the Navigating event and also the event handler receive different parameters then modified the function to implement the same behavior than the previous one.
Also I noticed that WebView2 CORS was blocking to load the jpg images that are shown for several nodes, then I had to create a mapped virtual directory in this way the html will be able to load the images and show them in the web page.
Finally I removed a tag in all the html that was making the web page compatible for IE based browsers (due that now we are using WebView2 a Chromium based browser).
* DYN-5106-WebView2-DocumentationBrowser Code Review
Due that the fallback_doc directory path can change depending if Dynamo is executed as Sandbox or if is over Revit then the path can be different so I added a code that will create the virtual directory depending of the correct fallback_doc directory path.
Also I modified the Md2Html class so now it will be inserting in the image source (<img src) the prefix "https://appassets" so it can be loaded from a virtual directory created by the DocumentationBrowser.
* DYN-5106-WebView2-DocumentationBrowser Code Review
- changing the visibility for the property FallbackDirectoryName
- renaming coreDir by docsDir
* DYN-5106-WebView2-DocumentationBrowser Code Review
Fixing CanCreateNodeDocumenationHtmlFromNodeAnnotationEventArgsWithPackageNodeWithAddtionalDocumentation test due that it was using and old format of the html <img> tab, then I updated the image to use the virtual folder and http.
Co-authored-by: Aaron (Qilong) <173288704@qq.com>1 parent 85a4339 commit 2686b5dCopy full SHA for 2686b5d
File tree
Expand file treeCollapse file tree
41 files changed
+143
-98
lines changedFilter options
- src
- DocumentationBrowserViewExtension
- Docs
- Tools/Md2Html
- test/DynamoCoreWpfTests/ViewExtensions
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Expand file treeCollapse file tree
41 files changed
+143
-98
lines changedsrc/DocumentationBrowserViewExtension/Docs/ArgumentNullException.html
Copy file name to clipboardExpand all lines: src/DocumentationBrowserViewExtension/Docs/ArgumentNullException.html+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
|
src/DocumentationBrowserViewExtension/Docs/CustomNodeNotLoaded.html
Copy file name to clipboardExpand all lines: src/DocumentationBrowserViewExtension/Docs/CustomNodeNotLoaded.html+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
|
src/DocumentationBrowserViewExtension/Docs/Deprecated.html
Copy file name to clipboardExpand all lines: src/DocumentationBrowserViewExtension/Docs/Deprecated.html+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
|
src/DocumentationBrowserViewExtension/Docs/DereferencingNonPointer.html
Copy file name to clipboardExpand all lines: src/DocumentationBrowserViewExtension/Docs/DereferencingNonPointer.html+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
|
src/DocumentationBrowserViewExtension/Docs/ErrorPageTemplate.html
Copy file name to clipboardExpand all lines: src/DocumentationBrowserViewExtension/Docs/ErrorPageTemplate.html+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
|
src/DocumentationBrowserViewExtension/Docs/ExcelNotInstalled.html
Copy file name to clipboardExpand all lines: src/DocumentationBrowserViewExtension/Docs/ExcelNotInstalled.html+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
|
src/DocumentationBrowserViewExtension/Docs/FailedToCastFromNull.html
Copy file name to clipboardExpand all lines: src/DocumentationBrowserViewExtension/Docs/FailedToCastFromNull.html+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
|
src/DocumentationBrowserViewExtension/Docs/FileNotFound.html
Copy file name to clipboardExpand all lines: src/DocumentationBrowserViewExtension/Docs/FileNotFound.html+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
| 3 | + | |
4 | 4 |
| |
5 |
| - | |
| 5 | + | |
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
|
src/DocumentationBrowserViewExtension/Docs/IntegerOverflow.html
Copy file name to clipboardExpand all lines: src/DocumentationBrowserViewExtension/Docs/IntegerOverflow.html+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 |
| - | |
| 3 | + | |
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
|
src/DocumentationBrowserViewExtension/Docs/InternalError.html
Copy file name to clipboardExpand all lines: src/DocumentationBrowserViewExtension/Docs/InternalError.html+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
| 3 | + | |
4 | 4 |
| |
5 |
| - | |
| 5 | + | |
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
|
You can’t perform that action at this time.
0 commit comments