feat: desktop draft welcome presets and /plan-feature command
Add starter preset chips under the composer on the desktop draft welcome screen (explore, what changed, plan, review). Clicking a chip submits immediately; prompt chips send a natural-language prompt, command chips reuse built-in slash commands. Add a new /plan-feature built-in command, modeled on /workspace-review: visible + hidden magic prompts that run a guided, batched-question planning dialogue (investigate the code, ask up to 3 clarifying questions at a time, surface pitfalls, then produce an implementation plan). Wired into command autocomplete, the submit handler, the draft plan chip, and the Magic Prompts settings page, with i18n across all locales.
This commit is contained in:
@@ -445,6 +445,12 @@ export const dict: Record<I18nKey, string> = {
|
||||
'chat.emptyState.startNewChat': 'Rozpocznij nowy czat',
|
||||
'chat.emptyState.draftTitle': 'What are we working on?',
|
||||
'chat.emptyState.draftTitleWithProject': 'What are we working on in {project}?',
|
||||
'chat.draftPresets.explore.label': 'Explore the codebase',
|
||||
'chat.draftPresets.explore.prompt': 'Give me a high-level tour of this codebase — the architecture, the main modules, and how they fit together.',
|
||||
'chat.draftPresets.changes.label': 'What changed recently',
|
||||
'chat.draftPresets.changes.prompt': 'Summarize what changed recently — the latest commits and the current state of this branch.',
|
||||
'chat.draftPresets.plan.label': 'Start feature planning',
|
||||
'chat.draftPresets.review.label': 'Review my changes',
|
||||
'chat.scrollToBottom.aria': 'Przewiń na dół',
|
||||
'chat.timeline.relative.justNow': 'przed chwilą',
|
||||
'chat.timeline.relative.minutesAgo': '{count}m temu',
|
||||
@@ -504,6 +510,7 @@ export const dict: Record<I18nKey, string> = {
|
||||
'chat.commandAutocomplete.command.compactDescription': 'Skompresuj historię sesji używając AI aby zredukować rozmiar kontekstu',
|
||||
'chat.commandAutocomplete.command.summaryDescription': 'Niedestrukcyjne podsumowanie sesji. Opcjonalna wskazówka tematu po poleceniu.',
|
||||
'chat.commandAutocomplete.command.workspaceReviewDescription': 'Recenzja obecnych zmian w przestrzeni roboczej tylko dla problemów o wysokim sygnale.',
|
||||
'chat.commandAutocomplete.command.featurePlanDescription': 'Rozpocznij prowadzoną, interaktywną sesję planowania nowej funkcji.',
|
||||
'chat.commandAutocomplete.badge.skill': 'skill',
|
||||
'chat.commandAutocomplete.badge.command': 'polecenie',
|
||||
'chat.commandAutocomplete.badge.system': 'system',
|
||||
@@ -909,6 +916,7 @@ export const dict: Record<I18nKey, string> = {
|
||||
'chat.chatInput.toast.messageSendFailed': 'Nie udało się wysłać wiadomości. Załączniki zostały przywrócone.',
|
||||
'chat.chatInput.toast.openSessionFirst': 'Najpierw otwórz sesję',
|
||||
'chat.chatInput.toast.reviewFailed': 'Nie udało się przejrzeć zmian',
|
||||
'chat.chatInput.toast.planFeatureFailed': 'Nie udało się rozpocząć planowania funkcji',
|
||||
'chat.chatInput.toast.sendAttachmentsFailed': 'Nie udało się wysłać załączników. Spróbuj użyć mniejszej liczby plików lub mniejszych obrazów.',
|
||||
'chat.chatInput.toast.someFilesSkipped': 'Pominięto niektóre pliki:\n{summary}',
|
||||
'chat.chatInput.toast.summaryFailed': 'Nie udało się wygenerować podsumowania',
|
||||
|
||||
Reference in New Issue
Block a user