DEV: Plugin API function to add items to quick access profile (PR #10182)

This new function allows pushing content to the quick access profile panel. Here, I used the function to add a link to invites

2020-07-07_13-37

in an initializer like so

import { withPluginApi } from "discourse/lib/plugin-api";

export default {
  name: "add-invites-to-quick-access-panel",

  initialize() {
    withPluginApi("0.8.28", api => {
      api.addQuickAccessProfileItem({
        icon: "user-plus",
        href: "/my/invited/pending",
        content: "Invites"
      })
    });
  }
}

GitHub

Can you make it more obvious on the screenshot? It’s not obvious to me where the link is.