Skip to content

Commit 47eacdc

Browse files
pashpashpashCline Evaluation
andauthored
Pashpashpash/rules links (RooCodeInc#3701)
* adding docs links to rules modal * changeset --------- Co-authored-by: Cline Evaluation <[email protected]>
1 parent b669dfb commit 47eacdc

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

.changeset/fast-days-poke.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"claude-dev": patch
3+
---
4+
5+
Added documentation links to rules & workflows UI

webview-ui/src/components/cline-rules/ClineRulesToggleModal.tsx

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { useExtensionState } from "@/context/ExtensionStateContext"
44
import { CODE_BLOCK_BG_COLOR } from "@/components/common/CodeBlock"
55
import { vscode } from "@/utils/vscode"
66
import { FileServiceClient } from "@/services/grpc-client"
7-
import { VSCodeButton } from "@vscode/webview-ui-toolkit/react"
7+
import { VSCodeButton, VSCodeLink } from "@vscode/webview-ui-toolkit/react"
88
import RulesToggleList from "./RulesToggleList"
99
import Tooltip from "@/components/common/Tooltip"
1010
import styled from "styled-components"
@@ -222,7 +222,13 @@ const ClineRulesToggleModal: React.FC = () => {
222222
{currentView === "rules" ? (
223223
<p>
224224
Rules allow you to provide Cline with system-level guidance. Think of them as a persistent way to
225-
include context and preferences for your projects or globally for every conversation.
225+
include context and preferences for your projects or globally for every conversation.{" "}
226+
<VSCodeLink
227+
href="https://docs.cline.bot/features/cline-rules"
228+
style={{ display: "inline" }}
229+
className="text-xs">
230+
Docs
231+
</VSCodeLink>
226232
</p>
227233
) : (
228234
<p>
@@ -233,7 +239,13 @@ const ClineRulesToggleModal: React.FC = () => {
233239
text-[var(--vscode-foreground)] font-bold">
234240
/workflow-name
235241
</span>{" "}
236-
in the chat.
242+
in the chat.{" "}
243+
<VSCodeLink
244+
href="https://docs.cline.bot/features/slash-commands/workflows"
245+
style={{ display: "inline" }}
246+
className="text-xs">
247+
Docs
248+
</VSCodeLink>
237249
</p>
238250
)}
239251
</div>

0 commit comments

Comments
 (0)