Making WordPress.org


Ignore:
Timestamp:
09/17/2023 06:18:29 PM (3 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/site/_bbpress.scss

    r12402 r12892  
    338338
    339339                div.topic,
    340                 div.reply {
     340                div.reply,
     341                div.reported_topics {
    341342                        padding: 1.5rem 1.5rem 1.5rem 0;
    342343                }
     
    11601161
    11611162                select,
    1162                 input[type="text"] {
     1163                input[type="text"],
     1164                textarea {
    11631165                        width: 100%;
    11641166                        padding: 0.2rem 0.5rem 0.1rem;
    1165                         margin: 5px 0;
     1167                        margin: 0;
     1168                }
     1169
     1170                .topic-report-notice {
     1171                        margin-bottom: 1em;
     1172                        padding: 4px;
     1173                        background-color: #dfffe9;
     1174
     1175                        &.topic-report-notice-type-error {
     1176                                background-color: #ffdbdb;
     1177                        }
     1178
     1179                        &.topic-report-notice-type-warning {
     1180                                background-color: #fbffdf;
     1181                        }
    11661182                }
    11671183        }
Note: See TracChangeset for help on using the changeset viewer.