Create invokable markdown prompt instead of .prompt file
- Change empty slash command dropdown to create invokable markdown prompt file instead of opening hub - Use config/addLocalWorkspaceBlock with 'prompts' blockType to create markdown-based prompt - Remove Continue Hub link from Help section as it's no longer actively maintained - This creates .md prompt files that are invokable via slash commands Co-authored-by: dallin <dallin@continue.dev> Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <noreply@continue.dev>
This commit is contained in:
@@ -226,10 +226,12 @@ export function getSlashCommandDropdownOptions(
|
||||
|
||||
if (query.length === 0 && commandItems.length === 0) {
|
||||
commandItems.push({
|
||||
title: "Explore prompts",
|
||||
title: "Create a prompt",
|
||||
type: "action",
|
||||
action: () =>
|
||||
ideMessenger.post("openUrl", "https://continue.dev/explore/prompts"),
|
||||
ideMessenger.request("config/addLocalWorkspaceBlock", {
|
||||
blockType: "prompts",
|
||||
}),
|
||||
description: "",
|
||||
name: "",
|
||||
id: "",
|
||||
|
||||
@@ -179,15 +179,6 @@ export function HelpSection() {
|
||||
<h3 className="mb-3 text-base font-medium">Resources</h3>
|
||||
<Card className="!p-0">
|
||||
<div className="flex flex-col">
|
||||
<ConfigRow
|
||||
title="Continue Hub"
|
||||
description="Visit continue.dev to explore custom agents and blocks"
|
||||
icon={LinkIcon}
|
||||
onClick={() =>
|
||||
ideMessenger.post("openUrl", "https://continue.dev/")
|
||||
}
|
||||
/>
|
||||
|
||||
<ConfigRow
|
||||
title="Documentation"
|
||||
description="Learn how to configure and use Continue"
|
||||
|
||||
Reference in New Issue
Block a user