# Feature DREAM-1110 - Show attribute help text in a new tab instead of HTTP 406

Project: Stream Design System
Status: new
URL: https://community.openproject.org/work_packages/DREAM-1110

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions |  |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Use cases

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

### Context

<mention class="mention" data-id="DREAM-956" data-type="work_package" data-text="#DREAM-956">#DREAM-956</mention> (<https://github.com/opf/openproject/pull/27439>) renders the Angular attribute help text as a Primer link to `/attribute_help_texts/:id/show_dialog`, matching `OpPrimer::AttributeHelpTextComponent`, which already uses that `href`. A click opens the help text dialog in place. "Open link in new tab", middle-click and **Ctrl**/**Cmd**+click follow the URL instead, and `show_dialog` only answers Turbo Stream requests (`respond_with_dialog`), so the new tab shows an HTTP 406 error.

### Goal

Opening a help text link in a new tab, or following it without JavaScript, shows the help text instead of an error, for both the Rails and the Angular help text components.

### Acceptance criteria

  - `GET /attribute_help_texts/:id/show_dialog` with an HTML `Accept` header renders a page with the attribute's help text (caption, description and attachments, as the dialog shows them) for users allowed to see it.
  - Requests from the Turbo Stream click path keep opening the dialog as today.
  - Users without permission to see the help text get the same response as today for the Turbo Stream path (not found or forbidden), not the help text.
  - Both `OpPrimer::AttributeHelpTextComponent` and the Angular `attribute-help-text` component work this way, as they share the URL.
