mozilla / sumo

Project management board for SUMO and Community properties.
Mozilla Public License 2.0
14 stars 5 forks source link

The "Filter by reason" updates automatically to the "All reasons" option when the /flagged page is refreshed #1986

Closed emilghittasv closed 1 month ago

emilghittasv commented 2 months ago

Preconditions Sign in with an account that has the necessary permissions of moderating forum content.

Steps to reproduce Steps to reproduce the behavior:

  1. Go to https://support.allizom.org/en-US/flagged
  2. Choose an option from the "Filter by reason" dropdown (except the "All reasons" default option).
  3. Perform an action (update the reported status) or refresh the page.

Expected behavior The /flagged page filters the flagged content based on the option selected in step 2.

Actual behavior The /flagged page filters the flagged content back to "All reasons" default option which could cause some frustration among our trusted contributors since they might want to handle multiple reports coming from only a particular reason.

Screencasts allreasons

Desktop:

Additional context This issue is reproducible in stage only.

akatsoulas commented 2 months ago

PR https://github.com/mozilla/kitsune/pull/6258

emilghittasv commented 2 months ago

@akatsoulas This issue is partially fixed.

The "Filter by reason" no longer switches to "All reasons" when refreshing the page via the browser refresh button. The "Filter by reason" still updates back to "All reasons" option when updating a flagged item via the "Update" button.

https://github.com/user-attachments/assets/5eeba5b5-22de-4709-a98c-49f6d8123c1d

I'm moving this ticket back inside the in progress column.

akatsoulas commented 2 months ago

PR https://github.com/mozilla/kitsune/pull/6263

emilghittasv commented 1 month ago

I can confirm that this issue is verified fixed in stage.

Moving this ticket inside the release column.