You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a positron API to launch and track the response of a modal dialog #668
Extensions may want to prompt the user to make important decisions, so we would like to leverage our own Positron modal dialog to ask the question to the user. We need to add an API to positron that will allow an extension to customize the basic UI elements of the modal dialog, as well as receive the customer selection to a callback.
I don't believe there's a way to test this in a release build (unless there's a way to access Zed in a release build?), but I've tested this on a dev build and confirm that running modal in Zed shows a modal dialogue prompt:
Activity
juliasilge commentedon Nov 17, 2023
This is quite a simple modal for now (true / false) but I believe will fit the bill for what we want to do as of today.
seeM commentedon Nov 22, 2023
I don't believe there's a way to test this in a release build (unless there's a way to access Zed in a release build?), but I've tested this on a dev build and confirm that running
modalin Zed shows a modal dialogue prompt: