diff --git a/channel/web/chat.html b/channel/web/chat.html index b7a92492..964c95be 100644 --- a/channel/web/chat.html +++ b/channel/web/chat.html @@ -1100,7 +1100,7 @@
{t('knowledge_drop_hint')}
+{t('knowledge_category_subtitle')}
+ + setCategoryInput(e.target.value)} + onKeyDown={(e) => e.key === 'Enter' && submit()} + placeholder="research/ai" + className="w-full px-3 py-2 rounded-btn border border-strong bg-inset text-sm text-content placeholder:text-content-tertiary focus:outline-none focus:border-accent transition-colors" + /> +{t('knowledge_category_hint')}
+ > + )} + + {state.kind === 'doc-pick-category' && ( + <> +{t('knowledge_doc_choose_category')}
+ ++ {tf('knowledge_doc_save_to', { category: state.category || '' })} +
+ + setFilename(e.target.value)} + placeholder="my-note.md" + className="w-full px-3 py-2 rounded-btn border border-strong bg-inset text-sm text-content placeholder:text-content-tertiary focus:outline-none focus:border-accent transition-colors mb-3" + /> +