Addons-frontend: "Flag" should be removed from the profile page

Created on 26 Sep 2018  路  3Comments  路  Source: mozilla/addons-frontend

STR:

  1. Load AMO dev and go to the user profile page, make sure you have some reviews
  2. Observe the buttons displayed

Expected result:
Edit reviews and Delete review are available.

Actual result:
Flag is present too - it has no functionality since the user cannot flag his own reviews (or developer responses)

Notes:
Issue is reproducible on AMO dev with FF62 -Win10

own reviews cannot be flagged

add-on ratings user profile assigned welcome p3 verified fixed bug

All 3 comments

Hey @ioanarusiczki, @kumar303 - I'd like to help work on this bug if it's available!

I was able to still reproduce it just now on FF 62.0.3 with Mojave OS:

amo_bug_reproducable

From my understanding, a solution would to completely remove it from being rendered for reviews by the current user?

@SeanPrashad has fixed the issue 馃帀 but his fix went further to not show the Flag link for a user's own review on any page. @ioanarusiczki please take a look at the other screens where we used to show the Flag link.

@kumar303 I checked the profile page and the reviews page for reviews and developer replies for an admin account and a developer account and "Flag" is no longer displayed. Tested on AMO dev with FF62 (Win10 & Android 8.0)
Thanks @SeanPrashad for fixing this!

flag is gone

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ioanarusiczki picture ioanarusiczki  路  4Comments

Sparsh1212 picture Sparsh1212  路  5Comments

ioanarusiczki picture ioanarusiczki  路  5Comments

kumar303 picture kumar303  路  6Comments

ioanarusiczki picture ioanarusiczki  路  5Comments