CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 10:33:51 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/"cebbdb4b2028a8c5c8797940122a3637"
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=U%2BCn6mPxTzYo8qlWZvPFT93OdfP6zXXrA9VDar%2BjM40UvCx5EsjBUF4%2Fpq3UKwchEkq3n7oGn9BsAer2PeJJagkfKohXde5o5E2F3Bm4tIOVDUqmCN4zxjzUlcWrp4vv%2FDoIQnKrRAfrMHH%2F0uuWsTZlg0xPwH4mWPXv2CmdezqOuIZxtwQxar%2FY6W8xC3OkjjbqZi6RbwwTqY0KrAh1qvMD4L47pB70rh2nEaQ65gGGw4UOKyg8QUGmCbKnn1GQtnLXlraqR%2BS0DoeY6weuCw%3D%3D--%2B%2FAVur3yUlKfVqu3--jkTAprD5vNTmzxRUmb%2FFEA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.93068614.1753612431; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 10:33:51 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 10:33:51 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9574:242CC6:D3FE89:118348F:6886008E
Dyn 5118 webview2 library (#13330) · DynamoDS/Dynamo@0bb974b · GitHub
Dismiss banner
Copy file name to clipboardExpand all lines: src/DynamoCore/Properties/AssemblyInfo.cs
Copy file name to clipboardExpand all lines: src/DynamoCoreWpf/UI/GuidedTour/GuidesManager.cs
Copy file name to clipboardExpand all lines: src/DynamoCoreWpf/UI/GuidedTour/GuidesValidationMethods.cs
Copy file name to clipboardExpand all lines: src/DynamoCoreWpf/Utilities/ResourceUtilities.cs
Copy file name to clipboardExpand all lines: src/LibraryViewExtensionMSWebBrowser/LibraryViewExtensionMSWebBrowser.csproj
Copy file name to clipboard
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 658
Commit 0bb974b
authored
Dyn 5118 webview2 library (#13330)
* DYN-5118-WebView2-Library
I did the next changes for replacing the WebBrowser component in Library by WebView2:
- I added a new .NET 4.8 VS Library Project that will display the Library using WebView2
- All the files from "LibraryViewExtensionMSWebBrowser\Handlers" were copied to "LibraryViewExtensionWebView2\Handlers" without modifications.
- All the files from "LibraryViewExtensionMSWebBrowser\ViewModels" were copied to "LibraryViewExtensionWebView2\ViewModels" without modifications.
- All the files from"LibraryViewExtension\web\library\resources" were copied to "LibraryViewExtensionWebView2\web\library\resources" without modifications.
- The next files were copied from "LibraryViewExtensionMSWebBrowser" without modifications: EventObserver.cs, LibraryViewCustomization.cs, LibraryViewToolTip.cs
- The files that were mainly modified/created are: LibraryViewController.cs, LibraryViewExtensionWebView2.csproj, ScriptingObject.cs, ViewExtension.cs, library.html, LibraryView.xaml
* DYN-5118-WebView2-Library Code Review
Fixing tests that were failing related to the change from WebBrowser to WebView2.
Also addressing some comments that Aaron suggested.
* DYN-5118-WebView2-Library Fixing Test
Fixing missing test
* YN-5118-WebView2-Library Fixing interaction with Packages guide
Some functionalities when interacting with the packages guide were broken like:
- highlight installed package (with glow animation).
- scrolldown automatically.
- show/hide dark overlay over Library
- show/hide Library when is not needed.
- Locate the Guide popup in the right place vertically next to Library
Basically the changes are to now use the WebView2.ExecuteScriptAsync() method and passing the parameters correctly, additionally some methods were converted so async for supporting ExecuteScriptAsync() method.
Also I noticed that an extra argument for the js method findPackageDiv was added but not all the methods were updated so some functionalities were invalidated due to that.
Finally for scrolling down automatically the Library I had to find a specific section of the Library and then scrolling down, because otherwise was not working.1 parent f7808a4 commit 0bb974bCopy full SHA for 0bb974b
File tree
Expand file treeCollapse file tree
106 files changed
+8250
-30
lines changedFilter options
- src
- DynamoCoreWpf
- UI/GuidedTour
- Utilities
- DynamoCore/Properties
- LibraryViewExtensionMSWebBrowser
- LibraryViewExtensionWebView2
- Handlers
- Properties
- ViewModels
- Views
- web/library
- resources
- test
- DynamoCoreWpfTests
- Tools/NodeDocumentationMarkdownGeneratorTests
- ViewExtensionLibraryTests
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
106 files changed
+8250
-30
lines changed+11Lines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
245 | 245 |
| |
246 | 246 |
| |
247 | 247 |
| |
| 248 | + | |
| 249 | + | |
248 | 250 |
| |
249 | 251 |
| |
250 | 252 |
| |
| |||
929 | 931 |
| |
930 | 932 |
| |
931 | 933 |
| |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
932 | 942 |
| |
933 | 943 |
| |
934 | 944 |
| |
| |||
1016 | 1026 |
| |
1017 | 1027 |
| |
1018 | 1028 |
| |
| 1029 | + | |
1019 | 1030 |
| |
1020 | 1031 |
| |
1021 | 1032 |
| |
|
src/DynamoCore/Properties/AssemblyInfo.cs
Copy file name to clipboardExpand all lines: src/DynamoCore/Properties/AssemblyInfo.cs+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
| 38 | + | |
38 | 39 |
| |
39 | 40 |
| |
40 | 41 |
| |
|
src/DynamoCoreWpf/UI/GuidedTour/GuidesManager.cs
Copy file name to clipboardExpand all lines: src/DynamoCoreWpf/UI/GuidedTour/GuidesManager.cs+6-2Lines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| 10 | + | |
10 | 11 |
| |
11 | 12 |
| |
12 | 13 |
| |
| |||
193 | 194 |
| |
194 | 195 |
| |
195 | 196 |
| |
196 |
| - | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
197 | 201 |
| |
198 | 202 |
| |
199 | 203 |
| |
|
src/DynamoCoreWpf/UI/GuidedTour/GuidesValidationMethods.cs
Copy file name to clipboardExpand all lines: src/DynamoCoreWpf/UI/GuidedTour/GuidesValidationMethods.cs+5-4Lines changed: 5 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
593 | 593 |
| |
594 | 594 |
| |
595 | 595 |
| |
596 |
| - | |
| 596 | + | |
597 | 597 |
| |
598 | 598 |
| |
599 | 599 |
| |
| |||
602 | 602 |
| |
603 | 603 |
| |
604 | 604 |
| |
605 |
| - | |
| 605 | + | |
606 | 606 |
| |
607 | 607 |
| |
608 |
| - | |
| 608 | + | |
| 609 | + | |
609 | 610 |
| |
610 | 611 |
| |
611 | 612 |
| |
|
src/DynamoCoreWpf/Utilities/ResourceUtilities.cs
Copy file name to clipboardExpand all lines: src/DynamoCoreWpf/Utilities/ResourceUtilities.cs+32-10Lines changed: 32 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
| 12 | + | |
12 | 13 |
| |
13 | 14 |
| |
14 | 15 |
| |
| |||
291 | 292 |
| |
292 | 293 |
| |
293 | 294 |
| |
294 |
| - | |
| 295 | + | |
295 | 296 |
| |
296 |
| - | |
297 |
| - | |
| 297 | + | |
298 | 298 |
| |
| 299 | + | |
299 | 300 |
| |
300 | 301 |
| |
301 | 302 |
| |
302 | 303 |
| |
303 | 304 |
| |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
304 | 323 |
| |
305 | 324 |
| |
306 | 325 |
| |
| |||
309 | 328 |
| |
310 | 329 |
| |
311 | 330 |
| |
312 |
| - | |
| 331 | + | |
313 | 332 |
| |
314 |
| - | |
315 | 333 |
| |
316 |
| - | |
317 |
| - | |
318 |
| - | |
319 |
| - | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
320 | 342 |
| |
321 | 343 |
| |
322 | 344 |
| |
|
src/LibraryViewExtensionMSWebBrowser/LibraryViewExtensionMSWebBrowser.csproj
Copy file name to clipboardExpand all lines: src/LibraryViewExtensionMSWebBrowser/LibraryViewExtensionMSWebBrowser.csproj+6-7Lines changed: 6 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
12 | 18 |
| |
13 | 19 |
| |
14 | 20 |
| |
| |||
285 | 291 |
| |
286 | 292 |
| |
287 | 293 |
| |
288 |
| - | |
289 |
| - | |
290 |
| - | |
291 |
| - | |
292 |
| - | |
293 |
| - | |
294 |
| - | |
295 | 294 |
|
src/LibraryViewExtensionWebView2/EventObserver.cs
Copy file name to clipboard+167Lines changed: 167 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + |
You can’t perform that action at this time.
0 commit comments