fix(ui): raw file button should open in new window #581

Open
opened 2026-06-07 18:16:13 +00:00 by jmiller · 1 comment
Owner

Problem

The "Raw" button in the file view navigates away from the current page. Clicking it loses the user's place in the repo browser.

Expected Behavior

The Raw button should open in a new tab/window (target="_blank") so the user stays on the file view page while the raw content opens separately.

## Problem The "Raw" button in the file view navigates away from the current page. Clicking it loses the user's place in the repo browser. ## Expected Behavior The Raw button should open in a new tab/window (`target="_blank"`) so the user stays on the file view page while the raw content opens separately.
Author
Owner

Branch created: feature/581-fix-ui-raw-file-button-should-open-in-ne

git fetch origin
git checkout feature/581-fix-ui-raw-file-button-should-open-in-ne
Branch created: [`feature/581-fix-ui-raw-file-button-should-open-in-ne`](https://git.mokoconsulting.tech/MokoConsulting/MokoGitea/src/branch/feature/581-fix-ui-raw-file-button-should-open-in-ne) ```bash git fetch origin git checkout feature/581-fix-ui-raw-file-button-should-open-in-ne ```
Sign in to join this conversation.