The form closed without error
It should show an error saying that you didn't actually write a review
Also, if you try to edit a review and make it empty you will see this error: "body: This field may not be blank.". I wanted to add that here so that we support the edit case when addressing this issue.
See https://github.com/mozilla/addons-frontend/issues/1837#issuecomment-288134811 for the proposal on what to do
I thought the review body wasn't required. I find it odd that there's no "submit without comment" button or something.
I think it's not required, but if you don't want to submit review text (body) then you should navigate back/out of the modal, rather than hitting "submit".
Though admittedly, it's weird to not hit "submit" on the modal. We should make sure it's clear the user can leave a star rating without text by not making the "back" on the review modal say "cancel". And that the stars are submitted regardless of body submission.
I don't think "Cancel" is right though. Because it might seem like you are cancelling your entire review. "Skip" is probably less verbose without making it seem like no review will be submitted.
I don't think "Cancel" is right though. Because it might seem like you are cancelling your entire review. "Skip" is probably less verbose without making it seem like no review will be submitted.
Yeah, sorry, that's what I meant to say but failed to 😄
"Skip" is perfect, I was failing to find the right single word.
@pwalm what is the expected behaviour for this flow?
I can't actually leave a review, AMO mobile won't let me log in. But, here is what i've proposed:
After rating, you are sent to "write a review", where a link at the bottom of the page will say "Submit a star rating without leaving a review." Tapping that will exit the review flow.
AMO mobile won't let me log in.
Could you elaborate on that? Sounds like something we should address.
Lol yes
I go through the login flow, it sends me an email code to verify my login, I enter the code and it sends me back to the extension detail page. I try to leave a star rating and it tells me I'm not logged in.
On Feb 22, 2017, at 1:00 PM, Kumar McMillan notifications@github.com wrote:
AMO mobile won't let me log in.
Could you elaborate on that? Sounds like something we should address.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
@pwalm an issue with the link is it makes the function of the cancel button a bit ambiguous.
I wonder if one possible way to step around that might be to have the rating click lead to the overlay (and not yet submit anything) and then the user can tweak their rating and optionally add a review. Submit saves the data, and then cancel will bail on the whole rating process.
Would that work or would that lead to more people bailing without leaving any rating whatsoever?
Here's an example of what I mean:

Would that work or would that lead to more people bailing without leaving any rating whatsoever?
Yeah, I'm afraid of this. I think psychologically it will be easier for someone to select a star rating vs. think up a coherent sentence explaining why they like/dislike the add-on. I would rather us capture that initial star rating instead of throwing it away.
I go through the login flow, it sends me an email code to verify my login, I enter the code and it sends me back to the extension detail page. I try to leave a star rating and it tells me I'm not logged in.
Huh. I can't reproduce it on https://addons-dev.allizom.org/ . I used a new Firefox profile to make sure all cookies were cleared. I also tried verifying the account in a separate browser but each time I was logged in as expected and could enter a star rating.
Huh. I can't reproduce it on https://addons-dev.allizom.org/ . I used a new Firefox profile to make sure all cookies were cleared. I also tried verifying the account in a separate browser but each time I was logged in as expected and could enter a star rating.
I think this may have been fixed by recent changes @mstriemer made to the way fxa is setup.
We discussed this and I think a better UX would be that after clicking/submitting a star, a review textarea simply appears under the stars with a submit button and allows the user to submit their optional review text. The stars would have already been submitted. We'd ditch the modal so their review feels less disjointed and the text would feel optional.
Thoughts/does this make sense @pwalm?
That does make sense, although I thought we had moved away from that style of interaction? Happy to move back that way, I like it better than a modal.
Hmmm, if we moved away from it I'm not sure why and when a few of us (@muffinresearch and @kumar303) chatted about it in London we agreed moving away from the modal would be better... so we'll try that.
I genuinely thought that the ability to rate without writing was a feature: