Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-4937

Search results post type should use an a tag instead of a button that behaves like an a tag

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Released
    • Icon: Should have Should have
    • 2.30.1
    • None
    • 2
    • Search, Technical Debt
    • Sprint #131, Sprint #132

      Each search result with a p4 post type has a button with that post type, with an onclick handler to open the page for that post type. It looks like previously this button would add the post type as a filter to the current search, but was changed to just open the page of that type. 

      Since it now behaves as a link, it would be better to just use an a tag for it, as currently some important UX for links is not present on the button: opening in a new tab, context menu actions, the browser showing the link address when hovering it...

      Tasks

      • Make post type in search results a link instead of a button element.
      • User should be able to open page in new tab
      • Rest of behaviour should stay the same as it currently is.

            pcuadrad Pablo Cuadrado (Inactive)
            pvincent Pieter Vincent (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: