mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-28 05:46:58 +02:00
* feat(comments): skip agent triggering on /note-prefixed comments A comment whose first token is the reserved /note prefix (case-insensitive) is stored like any other comment but never wakes an agent. The guard sits at the top of triggerTasksForComment, the single chokepoint, so it covers all three trigger paths — assignee, squad leader, and @mentioned agents. Gating only shouldEnqueueOnComment (as originally proposed) would still let "/note @agent ..." through the mention path. Lets members leave human-only tips/notes on agent-assigned issues without burning an agent run. MUL-3115, closes #3649. Co-authored-by: multica-agent <github@multica.ai> * feat(editor): add /note built-in slash command to comment composer Enable the `/` menu in the issue comment and reply composers in a new "command" mode that lists fixed built-in commands instead of the chat skill picker. Currently one command, /note, which marks a comment as a human-only note that won't trigger the assigned agent. Selecting it inserts the plain-text "/note " prefix (not a rich node), so a menu pick and a hand-typed command are byte-identical and the backend detects either with a simple prefix match. The command menu renders nothing on a non-matching `/` (hideOnEmpty) so typing a date like 6/8 isn't noisy. The chat skill picker is unchanged. MUL-3115. Co-authored-by: multica-agent <github@multica.ai> * refactor(editor): match /note by label prefix and localize its description Address PR review feedback: - buildBuiltinCommandItems now matches the command label as a prefix only, dropping the description substring match copied from the skill picker. With one command this keeps the menu predictable (/no surfaces note; /deploy or a description word like /agent shows nothing) and avoids Enter selecting note unexpectedly. - The command description is now a localized UI string: added slash_command.commands.note to all four editor locales (en/ja/ko/zh-Hans) and the menu renders it via the typed translator. The /label itself stays literal since it's the typed token the backend matches. MUL-3115. Co-authored-by: multica-agent <github@multica.ai> * fix(editor): shorten /note command description to avoid truncation The slash menu item is single-line (truncate, w-72), so the longer copy was cut off. Shorten to "won't trigger any agents" across all four locales — also more accurate, since /note skips assignee, squad leader, and @mentioned agents, not just the assigned one. MUL-3115. Co-authored-by: multica-agent <github@multica.ai> --------- Co-authored-by: J <j@multica.ai> Co-authored-by: multica-agent <github@multica.ai>
89 lines
3.0 KiB
JSON
89 lines
3.0 KiB
JSON
{
|
|
"bubble_menu": {
|
|
"bold": "太字",
|
|
"italic": "斜体",
|
|
"strikethrough": "取り消し線",
|
|
"code": "コード",
|
|
"highlight": "ハイライト",
|
|
"link": "リンク",
|
|
"list": "リスト",
|
|
"quote": "引用",
|
|
"url_aria_label": "URL",
|
|
"heading_dropdown": {
|
|
"text": "テキスト",
|
|
"normal_text": "標準テキスト",
|
|
"heading_1": "見出し 1",
|
|
"heading_2": "見出し 2",
|
|
"heading_3": "見出し 3"
|
|
},
|
|
"list_dropdown": {
|
|
"bullet_list": "箇条書きリスト",
|
|
"ordered_list": "番号付きリスト",
|
|
"task_list": "タスクリスト"
|
|
},
|
|
"sub_issue": {
|
|
"tooltip": "選択範囲からサブイシューを作成",
|
|
"created": "{{identifier}} を作成しました",
|
|
"create_failed": "サブイシューを作成できませんでした"
|
|
}
|
|
},
|
|
"image": {
|
|
"view": "画像を表示",
|
|
"download": "ダウンロード",
|
|
"copy_link": "リンクをコピー",
|
|
"delete": "削除",
|
|
"link_copied": "リンクをコピーしました",
|
|
"copy_link_failed": "リンクをコピーできませんでした"
|
|
},
|
|
"attachment": {
|
|
"download_failed": "ダウンロードリンクを取得できませんでした。しばらくしてからもう一度お試しください。",
|
|
"preview": "プレビュー",
|
|
"preview_loading": "プレビューを読み込み中…",
|
|
"preview_failed": "プレビューを読み込めませんでした",
|
|
"preview_too_large": "ファイルが大きすぎてプレビューできません。ダウンロードしてください。",
|
|
"preview_unsupported": "このファイル形式はプレビューできません。",
|
|
"close": "閉じる",
|
|
"open_in_new_tab": "新しいタブで開く",
|
|
"remove": "添付ファイルを削除"
|
|
},
|
|
"link_hover": {
|
|
"copy_link": "リンクをコピー",
|
|
"open_link": "リンクを開く",
|
|
"link_copied": "リンクをコピーしました",
|
|
"copy_failed": "コピーできませんでした"
|
|
},
|
|
"mention": {
|
|
"group_users": "ユーザー",
|
|
"group_issues": "イシュー",
|
|
"all_members": "すべてのメンバー",
|
|
"searching": "検索中...",
|
|
"no_results": "結果なし",
|
|
"group_current": "現在のページ",
|
|
"group_recent": "最近見た項目",
|
|
"group_search": "検索結果"
|
|
},
|
|
"code_block": {
|
|
"copy_code": "コードをコピー",
|
|
"show_preview": "プレビューを表示",
|
|
"show_source": "ソースを表示",
|
|
"fullscreen": "全画面"
|
|
},
|
|
"file_card": {
|
|
"uploading": "{{filename}} をアップロード中"
|
|
},
|
|
"title_editor": {
|
|
"title_aria_label": "タイトル"
|
|
},
|
|
"mermaid": {
|
|
"render_error": "Mermaid ダイアグラムを描画できません。",
|
|
"rendering": "ダイアグラムを描画中…"
|
|
},
|
|
"slash_command": {
|
|
"no_skills_configured": "設定済みスキルなし",
|
|
"no_results": "一致するスキルなし",
|
|
"commands": {
|
|
"note": "メモを追加 — エージェントをトリガーしません"
|
|
}
|
|
}
|
|
}
|