Skip to content

Commit cae7608

Browse files
committed
Edit pass
1 parent 9bfb21c commit cae7608

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

release-notes/v1_100.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,18 @@ Also, the `#githubRepo` tool is only for searching for relevant code snippets. T
7373

7474
### Select and attach UI elements to chat (Experimental)
7575

76-
After opening any locally-hosted site via the built-in Simple Browser (you can access the Simple Browser via the `Simple Browser: Show` command in the Command Palette), a new toolbar will be shown where you can click "Start" to select any element in the site that you want. This will attach a screenshot of the selected element, as well as the HTML and CSS of the element.
76+
While you're developing a web application, you might want to ask chat about specific UI elements of a web page. You can now use the built-in Simple Browser to attach UI elements as context to chat.
7777

78-
Configure what is attached to chat with `setting(chat.sendElementsToChat.attachCSS)` which enables/disables matched CSS from the attachment or `setting(chat.sendElementsToChat.attachImages)` which enables/disables attaching the screenshot of the selected element. This experimental feature will be enabled by default for all Simple Browsers, but can be disabled with `setting(chat.sendElementsToChat.enabled)`.
78+
After opening any locally-hosted site via the built-in Simple Browser (launch it with the **Simple Browser: Show** command), a new toolbar is now shown where you can select **Start** to select any element in the site that you want. This attaches a screenshot of the selected element, as well as the HTML and CSS of the element.
7979

8080
<video src="images/1_100/ui-element-selection-demo.mp4" title="A video showing the full flow of the UI element selection experimental feature. In the demo, we attach a hero from a webpage and ask chat to add a background image to that hero." autoplay loop controls muted></video>
8181

82+
Configure what is attached to chat with:
83+
84+
* `setting(chat.sendElementsToChat.attachCSS)`: enable or disable attaching the associated CSS
85+
* `setting(chat.sendElementsToChat.attachImages)`: enable or disable attaching the screenshot of the selected element
86+
87+
This experimental feature is enabled by default for all Simple Browsers, but can be disabled with `setting(chat.sendElementsToChat.enabled)`.
8288

8389
## Accessibility
8490

0 commit comments

Comments
 (0)