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

Show user feedback on admin panel #197

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Pranshu1902
Copy link
Contributor

@Pranshu1902 Pranshu1902 commented Apr 25, 2024

Fixes #195
Show the feedback along with the chats on the admin panel
Backend PR: #512
Screenshot from 2024-04-25 13-59-31

Copy link

vercel bot commented Apr 25, 2024

@Pranshu1902 is attempting to deploy a commit to the Open Healthcare Network Team on Vercel.

A member of the Team first needs to authorize it.

Comment on lines +31 to +34
const feedbackQuery = useQuery({
queryKey: ["project", project_id, "chat", chat_id],
queryFn: () => API.feedback.list(project_id, chat_id),
});
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add the expected type of data here? useQuery<DataType>({...

Copy link
Contributor Author

@Pranshu1902 Pranshu1902 May 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@skks1212 there is no existing DataType declared for useQuery response, right? Should I just declare a new one? Also, the backend PR was merged but the staging hasn't been updated, could you redeploy that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Feedback Section to Admin Panel for Viewing and Acting on User Feedback
2 participants