From 8e801874d2a2d1ee460156d50f6e781b7febc8a4 Mon Sep 17 00:00:00 2001 From: RomneyDa Date: Sat, 31 Jan 2026 23:07:05 +0000 Subject: [PATCH] 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 Generated with [Continue](https://continue.dev) Co-Authored-By: Continue --- .../mainInput/TipTapEditor/utils/getSuggestion.ts | 6 ++++-- gui/src/pages/config/sections/HelpSection.tsx | 9 --------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/gui/src/components/mainInput/TipTapEditor/utils/getSuggestion.ts b/gui/src/components/mainInput/TipTapEditor/utils/getSuggestion.ts index b078bdbf5..659f6b56f 100644 --- a/gui/src/components/mainInput/TipTapEditor/utils/getSuggestion.ts +++ b/gui/src/components/mainInput/TipTapEditor/utils/getSuggestion.ts @@ -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: "", diff --git a/gui/src/pages/config/sections/HelpSection.tsx b/gui/src/pages/config/sections/HelpSection.tsx index af0380b3b..4e474ec02 100644 --- a/gui/src/pages/config/sections/HelpSection.tsx +++ b/gui/src/pages/config/sections/HelpSection.tsx @@ -179,15 +179,6 @@ export function HelpSection() {

Resources

- - ideMessenger.post("openUrl", "https://continue.dev/") - } - /> -