Making WordPress.org


Ignore:
Timestamp:
09/17/2023 06:18:29 PM (2 years ago)
Author:
Clorith
Message:

Support Forums: Improved topic report flows.

Where previously, a reported topic would store the report in post meta and be limited to the sidebar view, and any reaction would be secret, unless a moderator contacted reporters publicly, this is no longer the case.

When a report is made, while we maintain the modlook tag as before for compatibility reasons, the report is added as a custom post type entry. This allows for tracking vigilant users who help out a lot, as well as giving us access to valuable data about what kind of reports are being made.

The reports are also presented as "replies" within a topic, giving valuable contextual information to those reviewing reports during the time of the report. This element is also presented in such a way that a moderator is able to respond to a report directly, letting the user view their previous reports and their outcomes within their forum profile, as well as them getting notified of the outcome by email when a topic is handled.

Fixes #5715.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/sass/elements/_badges.scss

    r10709 r12892  
    2121.by-thread-starter {
    2222    box-shadow: -4px 0 0 #fff, -6px 0 0 $color__thread_starter;
     23}
     24
     25.type-reported_topics {
     26    border-right: 2px solid $color__thread-reporter;
    2327}
    2428
     
    5054}
    5155
     56.author-badge-reporter {
     57    background-color: $color__thread-reporter;
     58    right: -2px;
     59    left: initial;
     60    border-radius: 2px 0 0 2px;
     61}
     62
    5263.bbp-view .bbp-topics,
    5364.bbp-search .bbp-search-results,
    54 .bbp-user-replies-created {
     65.bbp-user-replies-created,
     66.bbp-user-reports-submitted {
    5567
    5668    div.author-has-badge {
     
    7991        left: 0;
    8092    }
     93    .author-badge-reporter {
     94        left: initial;
     95        right: 0;
     96    }
    8197}
    8298
    8399@media screen and ( max-width: 480px ) {
    84100
    85     .author-badge {
     101    .author-badge,
     102    .author-badge-reporter {
    86103        top: -28px;
    87104    }
Note: See TracChangeset for help on using the changeset viewer.