               href: BeatmapDiscussionHelper.hash discussionId: @props.discussion.id
               onClick: @permalink
               className: "#{bn}__action #{bn}__action--button"
-              osu.trans('common.buttons.permalink')
+
+              if @state.permalinkTimer?
+                osu.trans('common.buttons.permalink_copied')
+              else
+                osu.trans('common.buttons.permalink')
 
           if @props.canBeEdited
             button

                'data-confirm': osu.trans('common.confirmation')
                osu.trans('beatmaps.discussions.allow_kudosu')


  permalink: (e) =>
    e.preventDefault()
    targetEl = e.currentTarget

    # copy url to clipboard
    clipboard.writeText targetEl.href

    # show feedback
    currentLabel = targetEl.innerHTML
    targetEl.innerHTML = osu.trans('common.buttons.permalink_copied')
    Timeout.set 2000, ->
      targetEl.innerHTML = currentLabel


  setMessage: (e) =>


  componentWillUnmount: =>
    @throttledUpdatePost.cancel()
    clearTimeout @state.permalinkTimer if @state.permalinkTimer?

    for own _id, xhr of @xhr
      xhr?.abort()
