51

While using the mobile site on my Android phone, I saw a comment that I wanted to flag but there was no flag button. After searching, I saw this answer that says flagging comments is not supported on mobile site.

Could the ability to flag comments be added to the mobile site?

8
  • 7
    You can of course go to desktop mode (using link at the bottom) if you need to, but I agree this is a poor solution Dec 28, 2013 at 23:23
  • 5
    As a moderator who uses the mobile UI a lot, this lack has been a thorn in my side. Nov 19, 2015 at 18:26
  • @RichardTingle I tried using it but didn't show the flag. It only showed the upvote button.
    – Nog Shine
    Apr 28, 2017 at 5:55
  • @Unitato please do NOT make useless edits just to bump. Especially when it is wrong grammar. Thanks. If you want to bump and have no valid edit, start a bounty! Aug 27, 2017 at 6:32
  • Apologies @ShaWizDowArd. I'll not do this next time. Aug 27, 2017 at 6:36
  • Flagging is supported now.
    – hat
    Feb 2, 2018 at 17:56
  • @hat I'm not seeing it.
    – user212646
    Feb 20, 2019 at 16:52
  • @fred: you have to choose the full site by clicking the "full site" link at the bottom of the page.
    – hat
    Feb 20, 2019 at 19:06

1 Answer 1

12
+100

It seems that all that's missing from the mobile view is the actual flag link: if you use developer tools to inject an <a class="comment-flag"> element somewhere inside the comment row and click it, a seemingly functional flag dialog pops up. (I haven't actually tried to submit an actual flag that way, but I see no obvious reason why it shouldn't work.)

Thus, it shouldn't be hard to write a user script to do this — the only problem is the lack of user script support in mobile browsers (Tampermonkey browser notwithstanding).

(In fact, the reason I noticed this is that the code SOUP uses to work around this issue is currently (v1.8.0) missing an isMobile check, and so ends up injecting (somewhat ugly) flag links into the mobile view for any comments that you've upvoted. I'll need to fix that, but I thought this would be an interesting observation to mention, even if it's not as practically useful as it might be if more mobile browsers supported user scripts.)


Update: Now that Firefox for Android can run the SOUP extension (as well as other user scripts via Violentmonkey), using a user script to modify the SE interface on mobile devices has become a lot more practical. Accordingly, as of version 1.50, SOUP contains a fix for this issue. Here's what the UI looks like (as of SOUP v1.52):

Screenshot of mobile comment flag dialog

(Ps. After casting that test flag, I discovered a minor cosmetic bug: the fancy SVG flag icon turns into the word "flag" once the dialog has been submitted. I'll fix that in the next release.)

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .