You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improvement: saved prompts get an invisible AI-generated title with no way to see, set, or rename it #2644
"Save prompt" stores the message content and then has an LLM invent the prompt's title (generatePromptTitle), without ever showing it to the user or letting them override it:
The Save prompt dialog has no Title field — only Content, scope, category. The user never sees what their prompt will be called.
The prompt library offers no edit/rename: a card's More-actions menu is Copy / "No previous versions" (permanently disabled — versions can never exist without an edit path) / Delete. A bad or wrong AI title is unfixable short of delete-and-lose.
The title generation is an extra LLM call per save, whose output quality the user can't correct. (In the hermetic mock stack this is vivid: every saved prompt is titled with the canned mock reply text.)
Save a message as a prompt → library lists it under a title you never chose and cannot change. Repro any stack; deterministic on mode A (title = canned mock reply).
Code pointers
app/features/prompts/components/save-prompt-dialog.tsx:122-131 — sends only content, no title
convex/prompts/actions.ts:38,81-90 — title optional; falls back to generatePromptTitle(content)
Library card menu (no edit item): prompt library components under app/features/prompts/
Proposed change
Show an editable Title field in the save dialog (prefill AI suggestion async or on demand); add Rename/Edit to the library card menu (which also makes the version-history item reachable); hide or explain the Team scope when no team exists; show characters, not bytes.
Acceptance criteria
The save dialog exposes the title (editable) before saving
Library prompts can be renamed/edited after saving
Team scope is hidden or explained in teamless orgs (no silent dead Save)
Activity