Repository navigation
Let's do it opens a new chat with the idea in its message box - #1035
TeddOravec wants to merge 1 commit into
Conversation
On an idea, Let's do it sent the message at once into the bot's own Bot Chat, the one on screen: no chance to add notes, and no new session for what is a new job. Ideas now open a NEW chat with that bot, the text in its message box unsent, so notes go on before it is sent. The yes is still recorded by the idea's ID first, and older plugins still go straight to the chat. A Feed post's Do it is unchanged.
|
This will not be worked. You are able to select Discuss on an item to do exactly what you have described. |
|
One correction to the reason above, then I'll drop it. There is no Discuss on an idea. Both controls a person can actually reach on an idea end in That is the part this PR was about: an idea said yes to is a job of its own, and for a person who treats every job as its own conversation there is no configuration in the app that starts one. Discuss fixes the "let me add notes before it goes" half and not that one. The branch |
What happened
On an idea, Let's do it sends the message at once, into the bot's own Bot Chat — the one already on screen. Two changes stacked into that:
onAsk).agentID, andAppState.takeComposerTextroutes an agent-named handoff to that bot's own Bot Chat, never a new chat.So an idea is started with no chance to write anything before it goes, in the chat the person is already in. For a workflow where an idea becoming work is the start of a new session, both halves are wrong.
The fix
Ideas now open a new chat with that bot, with the text sitting in the message box unsent, so notes go on before it is sent.
AgentBoardContextgainsonAskNewChat(falls back toonAsk, so fixtures and older call sites behave as before);RootShellView.startNewChat(withBot:text:)leaves the text for the new chat and starts it on that bot.The yes is still recorded by the idea's ID before the chat opens, and an older plugin still goes straight to the chat.
A Feed post's Do it is unchanged: a post is a message, not a job.
Test
Built for the iPhone Duo simulator.
Let's do it→ a new chat opens on that bot with the idea in the message box, nothing sent; the idea moves to Completed as before.