threlte
threlte copied to clipboard
Feedback button & form on a sidebar
Astro has a cool feedback button/form on a sidebar and I think I want to make one. Comment? 😅
https://github.com/threlte/threlte/assets/16734228/9f259206-0e6a-4f72-8896-7b62e93d5f34
I like it, but I'm also a little bit conflicted about the fact we have multiple channels for this (GitHub issues and Discord forums).
If this is implemented in a way that funnels the feedback to the right channel, then I think we can do it immediately.
I like it, but I'm also a little bit conflicted about the fact we have multiple channels for this (GitHub issues and Discord forums).
If this is implemented in a way that funnels the feedback to the right channel, then I think we can do it immediately.
I forgot I've made this issue. I do not expect it to be used very often so it's a low priority but I think it brings good value. In case of discord or github, people have to log in to a third party service to leave us any feedback. Doing so straight from the docs is much more convenient.
I suggest a flow like this, since I implemented a few forms like this and they work very well:
- Website form
- (optional) POST to serverless functions
- post message to a special discord channel (discord webhook)
We can skip the serverless function middleware, but it's a good practice to have to not expose discord webhook directly.
We'd have a team only #docs-feedback channel and messages would be posted by a webhook bot. Here's one I sent just now in my test dev playground