Open swyxio opened 1 year ago
@moismat thoughts?
interesting! sounds easy to do. prompts are just strings that can be injected before what already gets injected now
ux can be: icon in superprompt area, hover/click -> shows popup with list of prompts and a link/icon that sends to preferences where you can edit prompts
https://github.com/smol-ai/menubar/assets/90765930/3adf4181-8677-49ce-9338-d9c8ce0b768d
click one of them -> gets inserted have to click to insert it, no toggle inserted into textarea as normal text, everything is editable pro: no magic. user can edit/sort everything in the textarea
every prompt has a toggle currently active prompts are displayed in the superprompt area with a special style, greyed out, readonly, then the text the user types
to think about:
edit: it might be a good idea to stop and think what's the path forward for this project. is the goal to keep it as a very simple menu bar app for "quick access to chatgpt for one-off questions", or is the goal to transition into a fully fledged wrapper with more features like prompts, more models, etc?
For the latter, a few exist already with great UX for prompts (slash commands with a popup to pick a profile + load from central repo for prompts)
https://github.com/lencx/ChatGPT
https://github.com/mckaywrigley/chatbot-ui
https://github.com/Bin-Huang/chatbox
https://github.com/chathub-dev/chathub
we probably don't want to reimplement the same thing but with a smaller window. so we need to figure out what's the niche for this project
@moismat the vision is definitely to keep it smol :)
very interesting implementation:
most chat ux is just one textbox.
but actually it's useful to have little toggles or dropdowns that set the chatapps to respond in certain useful ways:
etc
questions