mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4782] [Feature]: /title command and Rename label for Professor Mari workspace chats #2635
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#2635
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @xDanteMD on GitHub (Aug 9, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4782
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Professor Mari workspace chats default to
"Professor Mari"while active, then get renamed to"Chat from YYYY-MM-DD HH:MM"when archived via restart. After a few sessions, the chat list becomes a wall of identical timestamps.The Edit button in the chat history panel already allows manual renaming, but:
Proposed solution
1.
/titleslash command (client-side)Add a
/title <name>command that renames the current chat from within the conversation. The client intercepts the command before it reaches the workspace agent and calls the existingPATCH /internal/professor-mari/chats/:idendpoint.Usage:
The command should:
/titleas the new name/Title,/TITLEshould also work)The slash command infrastructure already has 19 commands (
slash-commands.ts). This follows the established pattern.Strictly speaking, this is just about extending the rename functionality to within the chat, to avoid the necessity to restart -> edit every time.
2. Rename button label (UI)
Rename the "Edit" button in the Professor Mari chat history panel to "Rename" for clarity. The button already opens an inline rename form — the label just doesn't say so. This is a localization string change.
Alternatives considered
chat.updatetoapp_dataso Mari renames the chat in her response. Unnecessary complexity for a simple rename operation that the client can handle directly.ChatNameSectionexists in the settings drawer for regular chats, but it's not accessible during an active conversation./titlefills this gap.Additional context
Existing infrastructure:
PATCH /internal/professor-mari/chats/:idalready accepts{ name }and works (chats.routes.ts:814-824)handleRenameProfessorChatclient function already calls this endpoint (HomeProfessorMariChat.tsx:3275-3293)slash-commands.ts) already handles 19 commands — adding one more follows the established patternPreviously discussed: Auto-title generation was requested in #4353 and not implemented. This FR focuses on manual rename capability, which is the more immediately useful half.