Start new conversation (URL input → actor-doc preview → implicit-on-send) #11
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
posta/chat#11
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?
Parent
#2
What to build
A "+" affordance in the sidebar header opens an inline URL input. As the user types/blurs a well-formed URL, chat.posta.no fetches the peer's posta actor doc and previews their display name. Clicking "Start" navigates to
/c/<url-encoded-peer>with an empty thread. The contact row is NOT created by chat.posta.no — it's created implicitly on posta-server when the user sends their first message (posta-server inserts the contact row on first send). After the first send, the SSEcontact-changedtrigger from Slice 8 surfaces the new peer in the sidebar.Acceptance criteria
/c/<peer>; thread is empty; composer is focusedcontact-changedevent fires and the peer appears in the contacts listBlocked by