Red notification always links to flag queue

AI-generated summary

In Discourse 1.7.0.beta4, the red notification icon—intended to alert users to pending flags—incorrectly redirects to the flag queue even when only post approvals are pending jomaxro. The issue arises because both approvals and flags share the same red notification indicator. jomaxro suggests prioritizing flags when both are pending, then redirecting to approvals. codinghorror proposes removing the direct link from the red circle entirely, urging users to expand the hamburger menu instead codinghorror. JagWaugh suggests making the hamburger menu itself turn red to draw attention. codinghorror clarifies that only the direct link should be removed, not the red circle or count. eviltrout notes that @neil modified this behavior four months prior, referencing a GitHub commit. The issue may also affect Akismet, though it’s unclear jomaxro. codinghorror asks @eviltrout to review the issue next week as a small but useful tweak. The discussion centers on improving UX by clarifying notification intent and ensuring users reach the correct queue.

Summary: Posts needing approval uses the same red notification as flags. Clicking on the red notification icon always leads to flag queue even when there are no pending flags.

Steps to reproduce:

  1. Enable post approval in some way.
  2. Have a post in queue with no pending flags
  3. Click on red notification icon (not on hamburger menu).

Expected Results:

Approval queue page opens

Actual Results:

Flag queue opens

Notes:

Not really sure how this should work if both posts and flags are pending - perhaps just prioritize flags, and once no flags remain redirect link to approval queue

Version Number:

Discourse 1.7.0.beta4 (discourse.stonehearth.net)

System Information:

Windows 10 Education, Chrome Stable 53

7 Mi Piace

I’d been clicking on the hamburger menu (larger target) & clicking approvals for so long that I forgot this was an issue.

1 Mi Piace

We should fix this @neil.

2 Mi Piace

@codinghorror, what are your thoughts on how to handle this when there are both flags and posts needing approval? Does one take priority, does it open the hamburger menu, something else?

Edit: this may also affect Akismet - unsure…

We should just remove the direct red circle link, people should expand the menu at all times @neil.

4 Mi Piace

How about making the hamburger turn red, to draw attention to it?

1 Mi Piace

I am only proposing removing the link not the red circle and number.

Can you take a look at this next week @eviltrout? Might be a nice small tweak.

It looks like @neil changed this 4 months ago:

https://github.com/discourse/discourse/commit/ff508ed75ffec97dd5239787c7ed3340568142f4

5 Mi Piace