             currentDiscussions: @props.currentDiscussions
             beatmaps: @props.beatmaps[@props.currentBeatmap.mode]
 
+          div null,
+            label
+              className: ''
+              select
+                onChange: @onUserFilterChange
+                className: ''
+                option key: '-', value: null, 'all'
+                for own _, user of @props.users
+                  option key: user.id, value: user.id, user.username if user.id?
+
           div
             className: "#{bn}__stats"
             @stats()

#    along with osu!web.  If not, see <http://www.gnu.org/licenses/>.
###

{a, div, h1, h2, p} = ReactDOMFactories
el = React.createElement

class BeatmapDiscussions.Header extends React.PureComponent

            el BeatmapBasicStats,
              beatmapset: @props.beatmapset
              beatmap: @props.currentBeatmap


  onUserFilterChange: (event) ->
    selectedUserId = +event.target.value if isFinite(event.target.value)
    $.publish 'beatmapsetDiscussions:userFilterChanged', { selectedUserId }


  setFilter: (e) =>
