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
-`ui.DialogAlert`, `ui.DialogConfirm`, `ui.DialogPrompt`, `ui.DialogSelect` are built-in dialog components.
215
+
-`ui.Prompt` renders the same prompt component used by the host app.
213
216
-`ui.toast(...)` shows a toast.
214
217
-`ui.dialog` exposes the host dialog stack:
215
218
-`replace(render, onClose?)`
@@ -277,6 +280,7 @@ Current host slot names:
277
280
278
281
-`app`
279
282
-`home_logo`
283
+
-`home_prompt` with props `{ workspace_id? }`
280
284
-`home_bottom`
281
285
-`sidebar_title` with props `{ session_id, title, share_url? }`
282
286
-`sidebar_content` with props `{ session_id }`
@@ -289,7 +293,7 @@ Slot notes:
289
293
-`api.slots.register(plugin)` does not return an unregister function.
290
294
- Returned ids are `pluginId`, `pluginId:1`, `pluginId:2`, and so on.
291
295
- Plugin-provided `id` is not allowed.
292
-
- The current host renders `home_logo` with `replace`, `sidebar_title` and `sidebar_footer` with `single_winner`, and `app`, `home_bottom`, and `sidebar_content` with the slot library default mode.
296
+
- The current host renders `home_logo`and `home_prompt`with `replace`, `sidebar_title` and `sidebar_footer` with `single_winner`, and `app`, `home_bottom`, and `sidebar_content` with the slot library default mode.
293
297
- Plugins cannot define new slot names in this branch.
0 commit comments