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

Use Textarea to gather Custom system message instead of alert modal. #42

Merged
merged 1 commit into from
Mar 31, 2023
Merged

Use Textarea to gather Custom system message instead of alert modal. #42

merged 1 commit into from
Mar 31, 2023

Conversation

jondwillis
Copy link
Contributor

@jondwillis jondwillis commented Mar 31, 2023

From a UX perspective, alert inputs can be all over the place, but in my case, not good! This PR inlines the Custom systemMessage gathering.

  • Use Textarea to gather Custom system message instead of alert modal.
  • Confirm that switching after already having started a chat works correctly for new inline "Custom" behavior.

Preview screenshot:
image

@vercel
Copy link

vercel bot commented Mar 31, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
nextjs-chatgpt-app ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 31, 2023 at 4:44PM (UTC)

@enricoros
Copy link
Owner

Great PR, thanks for contributing this. Much better UX!!!

Once set, the custom prompt can be edited in the conversation ("show system text" in the menu), but edits won't be persisted to disk or reused if you clear the chat. Looking for feedback (#35 ) on how to make any preset editable as well.

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

Successfully merging this pull request may close these issues.

2 participants