Page MenuHomePhabricator

Let no-JS users mark notifications (or notification groups) as read without explicitly seeing a separate form
Closed, ResolvedPublic

Description

The no-JS user should not visibly navigate to another page when marking notifications as read from the special page.

Event Timeline

We could do this, but it would require "mark as read" to be a button that submits a form. We can't (well, shouldn't) mark notifications as read from a GET request.

We could do this, but it would require "mark as read" to be a button that submits a form. We can't (well, shouldn't) mark notifications as read from a GET request.

Yep, understood. That's the approach I'm using.

Change 291382 had a related patch set uploaded (by Mattflaschen):
OOUI HTMLForm: Allow specifying whether buttons are framed

https://gerrit.wikimedia.org/r/291382

Change 291383 had a related patch set uploaded (by Mattflaschen):
No-JS special page: One-click mark as read

https://gerrit.wikimedia.org/r/291383

Change 291382 merged by jenkins-bot:
OOUI HTMLForm: Allow specifying whether buttons are framed

https://gerrit.wikimedia.org/r/291382

Change 291383 merged by jenkins-bot:
No-JS special page: One-click mark as read

https://gerrit.wikimedia.org/r/291383

Checked in betalabs - One-click mark as read is in place.