https://bugzilla.wikimedia.org/show_bug.cgi?id=68334

            Bug ID: 68334
           Summary: Flow: when you close a topic it doesn't collapse and
                    switch to white
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Flow
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
       Web browser: ---
   Mobile Platform: ---

This is the inverse of bug 68328.

In the default view of a board (topics and posts view, topic expanded), 
Close a topic.

The topic changes to show "This topic was closed by <USER> Active 1 second ago"
(good). But it doesn't collapse and remains gray.  It is only when you reload
that the topic changes to the white closed state and shows collapsed.

Expected behavior:
* In at least this circumstance (viewing topics and posts, topic wasn't
collapsed before), closing a topic should show it white and collapse its posts.
* For bonus points, have nice animation of collapse and transition from gray to
closed white.

The reason it doesn't change to white and collapsed is because the CSS for <div
class="flow-topic flow-load-interactive" doesn't get the classes
"flow-topic-moderated flow-topic-collapsed".  FWIW closing triggers an API POST
then GET and both have "isModerated": true.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to