 isChannelCollaborative = require 'app/util/isChannelCollaborative'
 isKoding               = require 'app/util/isKoding'
 isGroup                = require 'app/util/isGroup'
+isReactEnabled         = require 'app/util/isReactEnabled'
 ChatSearchModal        = require 'app/activity/sidebar/chatsearchmodal'
+
+TopicChatPaneView = require './components/topicchatpane/view'
 
 
 module.exports = class ActivityAppView extends KDView

    type      = data.typeConstant

    paneClass = switch type
      when 'topic'          then TopicMessagePane
      when 'bot'            then KodingBotMessagePane
      when 'privatemessage' then PrivateMessagePane
      when 'post'           then SingleActivityPane
      else
        if name is 'announcement-changelog'
        then AnnouncementPane

            global.location.href = location
            return

          console.log {type_, slug}
          router.handleNotFound router.getCurrentPath()
        else
          { typeConstant } = data
