-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add ability to edit a conversation title #1921
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a few comments, looks generally good but I don't quite understand the comment?
className="w-full rounded-md font-bold" | ||
value={editedTitle} | ||
onChange={(e) => setEditedTitle(e.target.value)} | ||
// this is to make sure the save button click |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments are sentences :) Upper-case and a . at the end
This comment is intriguing. Just enough to hook you up, not enough to understand :p
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clarified
</div> | ||
</div> | ||
) : ( | ||
<IconButton |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The alignment is not perfect here the icon is a bit above the text? Can we tweak it a bit?
Also that gray looks not super sharp maybe we can use the flavour that is darker?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
} | ||
); | ||
await mutate( | ||
`/api/w/${owner.sId}/assistant/conversations/${conversationId}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You want to mutate conversations as well to update the left-hand pane?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed. That's a whole lot of refetching for just a title :(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
06e1ce7
to
f155800
Compare
No description provided.