agent: Rename @rules to @rule (#29881)

This is purely a cosmetic change, renamed `@rules` to `@rule` which
unifies the @mention experience (for files, threads etc. we also use
`@file`, `@thread` not `@files`, `@thread`). Would also make sense to
rename the rules picker to rule picker, but i do not wanna introduce
conflicts just for the purpose of re-naming.

Release Notes:

- N/A
This commit is contained in:
Bennet Bo Fenner
2025-05-04 16:25:44 +00:00
committed by GitHub
parent cceb13b7cd
commit 3984531a45
3 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -722,7 +722,7 @@ fn open_markdown_link(
}
}),
Some(MentionLink::Fetch(url)) => cx.open_url(&url),
Some(MentionLink::Rules(prompt_id)) => window.dispatch_action(
Some(MentionLink::Rule(prompt_id)) => window.dispatch_action(
Box::new(OpenRulesLibrary {
prompt_to_select: Some(prompt_id.0),
}),