Files
Mikołaj Kondratek 9098d603cc feat(webview): name the host editor in Cloud sessions copy (#15133)
* feat(webview): name the host editor in Cloud sessions copy

The Cloud sessions copy said "your editor". Name the editor the user is
actually in instead: "VS Code", "Cursor", "PyCharm" and so on.

The extension already gets the product name from the host bridge
(getHostVersion's platform); fetch it once and pass it to the webview as
hostName. The webview shortens it the way users say it (drops the
JetBrains edition, "Visual Studio Code" -> "VS Code") and falls back to
"your editor" when the host is unknown.

* fix: read the host name from HostRegistryInfo instead of a bridge call

HostRegistryInfo already holds getHostVersion's platform from startup, so
building webview state no longer waits on the host bridge. The tooltip
test now asserts the visible text instead of reusing the function it tests.

* fix(webview): fall back to "your IDE" when the host is unknown
2026-10-16 08:06:59 +02:00
..
2026-05-25 21:35:59 +02:00
2026-05-25 21:35:59 +02:00
2026-05-25 21:35:59 +02:00
2026-05-25 21:35:59 +02:00