Skip to content
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

Ability to share a conversation #34

Open
krschacht opened this issue Jan 8, 2024 · 0 comments
Open

Ability to share a conversation #34

krschacht opened this issue Jan 8, 2024 · 0 comments
Milestone

Comments

@krschacht
Copy link
Contributor

krschacht commented Jan 8, 2024

This might be the last missing feature to reach parity with ChatGPT. Basically, we want this to work how ChatGPT does. Within assistant_header.html there is a share icon already in there, it’s just been commented out. Here’s an idea for an easy v1:

  • We could add another column to each conversation table which is a uuid and maybe call it share_key
  • We should create a new route which mirrors the existing conversations/:id/messages route, maybe we call it share/conversation/:key/messages
  • Clicking the share icon from the menu pops up a modal (we have existing code for popping up a modal, press the keyboard shortcut “?” to see an example, make sure you aren’t focused inside the chat input field)
  • In the modal we just have a static message that something like “here is a publicly shareable URL to this conversation”

Scope which is not included within this:

  • Additional messages added to this conversation would also appear in the share
  • There is no way to expire the share link, although we’ve laid that foundation by having a column that pre-generates the share key upon creation
@krschacht krschacht added this to the 1.0 milestone Jan 8, 2024
@krschacht krschacht modified the milestones: 1.0, 0.7 Mar 17, 2024
@krschacht krschacht modified the milestones: 0.8, 0.7 Apr 17, 2024
@krschacht krschacht modified the milestones: 0.7, 0.8 Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant