Closed gbowne1 closed 1 year ago
Hi @gbowne1 please assign this issue to me. Also, explain what the expected functionality of this feature is.
@BlackBond06
This feature basically is a help system for users who may be having issues using the app, and may provide the user with contact information. It would describe what to do when users have issues with the app. It may also include some directions/instructions on using the app. It would be available by using the icon in the dropdown menu under the (R) user icon/avatar
@gbowne1 Cool. I'm thinking we can use A.I for this one. Like those automated personal assistants on Web sites. We can give it answers to common problems we think user will come across. But if a user ask a question that isn't covered in the answers we supplied, we can just display an email form and ask that the user describ the problem and mail to the support team. What do you think ?
I think thats a bit beyond the scope just yet. Most problems could be described easily in a page. Could just breadcrumb that page. We don't have users yet, so ideally the best way would be to have a small number of users test the application and describe the problems they had. We will have to collect some data and try and use it ourselves to come up with some good solutions. So, maybe it's best for now to provide just a form email and support team contact. Add Formik and Yup to do all the form and form validation stuff.
I totally agree. I will begin working on it today. Will formik handle the actual email sending or do I have to use nodemailer ?
nodemailer will handle emails just fine. it's already installed. Its handling password reset etc functionality. Formik and Yup handle forms really well.
AI is fine, but it's overkill, at least for now. We need to collect the data on problems people are having.. but also provide adequate documentation on how to use the App. Later on we can write some FAQ's.
https://www.npmjs.com/package/formik https://formik.org
https://www.npmjs.com/package/yup It's a good really object schema validatior..
https://www.youtube.com/watch?v=a94FOvaBomQ&list=PLC3y8-rFHvwiPmFbtzEWjESkqBVDbdgGu
Okay. Thanks for the resources
yvw! I found the videos helpful. I can help with Yup.
Hi @gbowne1 I have been going through the support page for a couple of popular websites for inspiration and a common feature I noticed, is the presence of a search bar just below the top of the support page, where users can enter their query for help. I know at this stage of the app, the search bar may not do anything since we don't have data on the problems user have, but should I include it in the design in addition to the form, since it is a common feature of support pages ?
that is a great idea. I had not thought of that. This is why I started this project. People usually have way better ideas for designs and features than me :-} and I agree this sort of thing would be handy.
Hi @gbowne1, I need clarification about the form in help feature. Should it just have one input element for the user's email and a textarea for the query description ? or is there any other information we might need from the user?
This is what I have so far:
https://github.com/gbowne1/codebooker/assets/100074330/b961e6af-2968-47df-845a-6c906edf7028
@BlackBond06 I would think email, username and a text area would be great. Eventually we can replace with a more robust system with a scenario based help system including all the 'What to do if x or y happens' type system. That looks great.
So I can proceed with what I have so far ?
Yes you can.
Hi @gbowne1, Aside sending the query from the form to the codebooker mail address, should it be saved in the db as well ?
@BlackBond06
Yes at least in my opinion it should be saved in the db.
I thought so. I created a supportModel schema with the following properties (subject to change):
What are your thoughts ? Are there other properties I should add ?
@BlackBond06 I think that is a great start. We can always iterate.
Cool. I should make a PR for this feature by tomorrow. I'm almost done.
Alright, looking forward to the PR.
No rush at all. I am all for quality over quantity.
I will be posting some contributor guidance over in the Discussion tab, now that we have a small number of active contributors and also a couple collaborators as well.
Hi @gbowne1, @LOGESH-B
I have opened a PR for the Help/Support feature, please review.
It has a merge conflict with App.js. @BlackBond06
I will review
Oh, really ?. I await your review.
Yes, it does. It has a merge conflict with App.js. as it is right now would be unable to merge unless App.js is fixed. I will review in a little while. Am currently away from my PC. Thanks.
Add a help feature.
We have a Help button in the (R) user icon button dropdown menu.
It does not have anything associated with it.