Uploaded image for project: 'ListenBrainz'
  1. ListenBrainz
  2. LB-947

Change entity pills on charts page from button to anchor

XMLWordPrintable

      The <Pill> component that is used on a number of pages is implemented with a <button>: https://github.com/metabrainz/listenbrainz-server/blob/3335087660314fdd4c92c888bed308981085e75a/listenbrainz/webserver/static/js/src/stats/UserEntityChart.tsx#L409-L430

      This means that it can't be used to link to a new page/tab, or show the URL in the browser status bar (LB-864, LB-925).

      I think that these should be changed to <a> to make them act like regular links.

            Unassigned Unassigned
            alastairp Alastair Porter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package