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

Usability issue in feedback functionality for anonymous user #3132

Closed
Nazarah opened this issue Nov 14, 2017 · 9 comments
Closed

Usability issue in feedback functionality for anonymous user #3132

Nazarah opened this issue Nov 14, 2017 · 9 comments

Comments

@Nazarah
Copy link
Contributor

Nazarah commented Nov 14, 2017

Description:

Right now, on browsing feedback tab in an API profile, an anonymous user (not logged into the platform) doesn't get to see any option to add Feedback for an API.
This is crucial if an API developer is requesting from her/his potential consumers for backlog requirements or feedback about the documentation on an API s/he is designing.
1st time visitors would leave without giving any feedback, unless they see a feedback button or hint for signing in/up in order to add feedback to an API.
So some action prompt is needed from the platform to encourage users add their feedback.

Another possible case could be that, user might be reluctant to provide their feedback and avoid the hassle if registration/signing in the platform is mandatory to add feedback to an API.

Feedback view in non-logged in session
image

Feedback view in logged in session
image

User Story:

"As an API owner, I need options to prompt 1st time visitors to add feedback to my API so that I can collect backlog requirements and improvement suggestions"

Possible Solutions

  1. Show Add Feedback button also for people not signed in into the platform.
    On clicking the button a dialog would appear prompting the user to sign in/up to give feedback.

  2. Providing a simple email address field and text box to provide feedback in case users don't wish to sign in or register to the platform.
    Only API owner would be able to know the email address, so that s/he can further contact the person.
    Providing an email address won't sign up the user in the platform.

@55
Copy link
Contributor

55 commented Nov 16, 2017

@Nazarah please check the latest develop (nightly.apinf.io) for the new look of feedbacks.
Update description's screenshot or close this issue if necessary.

@Nazarah
Copy link
Contributor Author

Nazarah commented Nov 17, 2017

@55 I am changing the screenshots in the issue, but the task description would remain pretty much the same. The quick fix could be to simply make the Send Feedback button even if user is not logged in to the platform. On clicking, a simple dialog would appear to sign in/sign up to the platform to provide feedback to the API.

@saransh-dev
Copy link
Contributor

@Nazarah can we use same layout of feedback form after signin with extra email field (if user don't want to siginin) and above of the form, we can provide a button for signin and signup. Please advice

@Nazarah
Copy link
Contributor Author

Nazarah commented Nov 27, 2017

@saransh-dev I'd come up with it tomorrow.

@krashna-deligence
Copy link
Contributor

Hi @Nazarah
i am facing some issues while submiting feedback without login. It throws error on browser console can't read property 'username' of undefined because without login we don't have "author Id" and we are not providing edit functionality for those feedback which are posted by anonymous user. So i have 2 options to implement this:-
1- We have to make some changes in the permission.js file of feedback collection and we have to allow all the users either user is login or not for insert like below: -

  insert (userId) {
    return true;
  },
  update (userId, feedback) {
    // Check if user is allowed to edit feedback
    return (feedback && feedback.currentUserCanEdit());
  },
  remove (userId, feedback) {
    // Check if user is allowed to edit feedback
    return (feedback && feedback.currentUserCanEdit());
  },
});

2- We can create a seprate collection where anonymous user's feedbacks store and API user can see the feedback .
Please advice.

@Nazarah
Copy link
Contributor Author

Nazarah commented Nov 28, 2017

@saransh-dev can we simply show Add Feedback button in the feedback page in non-logged in session?
When Anonymous user clicks on the button, a pop-up appears and asks user to register or login to APInf to provide feedback.
@55 do you propose any suggestion for this?

@55
Copy link
Contributor

55 commented Nov 28, 2017

@krashna-deligence @Nazarah a redirect to /sign-in is enough.

@krashna-deligence
Copy link
Contributor

@Nazarah Yes we can show Add Feedback button in the feedback page in non-logged . Do i need to only ask user to register or login to APInf to provide feedback or also need to show feedback form below (if user does not want to register or login ) ?
Please Advice

@Nazarah
Copy link
Contributor Author

Nazarah commented Nov 28, 2017

@krashna-deligence just ask user to register or login to provide feedback.

saransh-dev pushed a commit that referenced this issue Dec 1, 2017
…ser #3132

in progress

Usability issue in feedback functionality for anonymous user complete

remove the error of Travis ci

tooltip added
saransh-dev pushed a commit that referenced this issue Dec 1, 2017
in progress

Usability issue in feedback functionality for anonymous user complete

remove the error of Travis ci

tooltip added

extra field removed

fixed issue Usability issue in feedback functionality for anonymous user #3132

in progress

Usability issue in feedback functionality for anonymous user complete

remove the error of Travis ci

tooltip added
krashna-deligence added a commit that referenced this issue Dec 4, 2017
…ser #3132

in progress

Usability issue in feedback functionality for anonymous user complete

remove the error of Travis ci

tooltip added

extra field removed

tooltip added

conflicts resolved

remove the error of Travis Ci

conflicts resolved
@ghost ghost removed the Ready for review label Dec 7, 2017
@marla-singer marla-singer added this to the Sprint 60 milestone Dec 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants