Skip to content

fix(settings): keep file preview beneath settings - #568

Merged
devswha merged 4 commits into
mainfrom
codex/fix-settings-preview
Oct 8, 2026
Merged

devswha merged 4 commits into
mainfrom
codex/fix-settings-preview

Conversation

@devswha

@devswha devswha commented Oct 7, 2026 •

Copy link
Copy Markdown
Owner

Change

Opening Settings with its shortcut while a file preview was open placed Settings behind the preview. Clicking the visible file's Close button consumed Settings' copied history entry and left the file open; Escape could close both overlays.

Place Settings above the preview and pause the preview's Escape listener until Settings closes. Settings' Back/Escape consumes only its own entry, preserving the file below it until that file is closed.

Validation

  • Reproduced the visible Close-file button closing only hidden Settings on the v0.4.0 demo.
  • Browser regressions cover 390px and 1280px overlay order, Escape and browser Back, one-click file close, and preservation of the draft and same document.
  • Full local QA tree (this fix plus companion input/palette/test PRs) passed generated types, typecheck, build, 1,673 unit tests, 278 integration tests and the full browser lane on Bun 1.4.2.
  • Independent review found no blocking concerns; test-session screenshots are captured for both widths.

Screenshots

settings-over-preview-390 settings-over-preview-1280

@coderabbitai

coderabbitai Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: devswha/herdr-web-ui/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 598a68c0-3a0b-48c1-a4bd-15a96fe53263
📥 Commits

Reviewing files that changed from the base of the PR and between ceca673 and 31ca09e.

📒 Files selected for processing (6)
  • CHANGELOG.md
  • DESIGN.md
  • scripts/file-viewer-regression.ts
  • src/App.tsx
  • src/components/SettingsDialog.css
  • src/components/SettingsDialog.tsx
🚧 Files skipped from review as they are similar to previous changes (2)
  • CHANGELOG.md
  • DESIGN.md

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.


📝 Summary

Summary by CodeRabbit

  • Bug Fixes
    • Settings now appears above an open file preview. Pressing Escape or browser Back closes Settings first, leaving the preview open in navigation history. Closing the file then returns to the previous view without losing the chat draft.
    • When no preview is open, the command palette appears above Settings and closes first when Escape is pressed.
  • Documentation
    • Clarified how Settings, file previews, the command palette, Escape, and browser Back interact.

Walkthrough

Settings appears above an open file preview. While Settings is open, FileViewer does not handle Escape. Regression checks cover Escape, browser Back, history, and command palette layering.

Changes

Settings over file preview

Layer / File(s) Summary
Overlay stacking and keyboard ownership
src/components/SettingsDialog.tsx, src/components/SettingsDialog.css, src/App.tsx, src/components/FileViewer.tsx, scripts/file-viewer-regression.ts, DESIGN.md, CHANGELOG.md
SettingsDialog receives whether a preview is open and uses a higher stacking level when it is. The app disables FileViewer keyboard handling while Settings is open. Regression checks cover preview and no-preview behavior, including Escape, browser Back, history, and draft retention.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~12 minutes

Change: Bug fix

Suggested reviewers: beomq, nahwan-kim

Merge Risk: ⚪ Minimal · up to 31ca0

The Settings and file-preview behavior has no identified issue requiring resolution before merge.

Security Architecture Review

Security architecture risk: ⚪ Minimal · up to 31ca0

The change gives Settings visual and keyboard priority without adding permissions, data access, or server-facing behavior. No material security risk was found to be introduced or worsened.

Retained concerns
No architecture-level concerns identified.

Security review details

Security Blast Radius

  • inferred — The changed authority is browser-local overlay interaction: whether a preview handles Escape while Settings is visible. The inspected wiring does not expand the set of machines, panes, or files reachable through the preview.

Trust Boundaries and Controls

  • observed — overPreview is derived from local preview visibility and consumed only for presentation. Existing Settings reads and PATCH mutations remain controlled by page selection and existing callbacks; the new prop does not select a page, supply credentials, or authorize a mutation.

Resilience and Maintainability Implications

  • inferred — A pending Settings history rewind can overlap a later preview-close action because keyboard authority resumes when Settings visibility becomes false. This timing limitation predates the PR's coordination change: the base already kept the preview listener active and used the same history owners. Exact rapid-input and canceled-traversal outcomes remain unverified, rather than established introduced security defects.
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 20.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 5 functions across 4 files. (3 skipped: 3… Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main fix: keeping the file preview beneath Settings.
Description check ✅ Passed The description includes the required Change and Validation sections. It explains the defect, resulting behavior, regression coverage, QA results, and screenshots for the UI change.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

Docstring coverage is 20.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 5 functions across 4 files. (3 skipped: 3 unsupported.)

  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@devswha
devswha force-pushed the codex/fix-settings-preview branch from 692de1f to ceca673 Compare October 7, 2026 17:05

@devswha devswha left a comment •

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Independent review (merge-own lane). Not merged: the command palette can now open underneath Settings.

Classification: overlay layering and Escape bug fix (owner's code; I did not change it).

Finding (Medium, confirmed in a browser):
.settings-scrim { z-index: calc(var(--z-modal) + 2) } (src/components/SettingsDialog.css:3) puts Settings above every other --z-modal overlay, the command palette included. The palette shortcut (Mod+Shift+K) still works while Settings is open (useShortcuts has no modal guard), and on main the palette shows above Settings because it comes later in the DOM at the same z-index. Codex (gpt-6.1-sol, xhigh) raised it from the code, and I reproduced it.

Reproduction: a scratch Playwright script on the demo fixtures at 1280x800. Press Ctrl+Shift+, to open Settings, then Ctrl+Shift+K, then call elementFromPoint at the centre of the palette's search input.

  • this PR (ceca673): the hit is HEADER.modal-header settings-header, so the palette is under Settings' scrim. It takes focus and Escape while the user cannot see it.
  • main: the hit is the palette's INPUT.input.

A narrower fix would keep the palette above Settings, for example by giving the palette scrim a level above --z-modal + 2, or by raising Settings only while a file preview is open. That is your call.

What else I checked, all fine: keyboardActive={!settingsOpen} stops the preview's window Escape listener while Settings is open, so one Escape closes only Settings, and the preview's history entry is untouched. The CHANGELOG and DESIGN.md lines match the behaviour. Fast checks and Integration and browser are green on ceca673.

Settings was always drawn above every other dialog, so the command palette
opened with its shortcut while Settings was open showed underneath it and took
focus and Escape unseen. Settings now takes the raised layer only while a file
preview is open; otherwise it shares the modal layer again and the palette (and
the file browser) come later in the document and show above it.

The file-viewer regression opens the palette over Settings at 1280px and checks
that the palette's search field is the element at its own centre.
@devswha

devswha commented Oct 8, 2026

Copy link
Copy Markdown
Owner Author

Fixed in 31ca09e (after merging main as 2c0fea4).

Settings is now raised above the shared modal layer only while a file preview is open (overPreview={viewing !== null} → .settings-over-preview, --z-modal + 2). On its own it is back on --z-modal, so the command palette and the file browser, which come later in the document, open above it as on main. DESIGN.md says so.

Regression: scripts/file-viewer-regression.ts now opens Settings at 1280px, presses Ctrl+Shift+K, and asserts that elementFromPoint at the centre of the palette's search field is that field, then that Escape closes the palette and then Settings.

  • Without the fix (merged tree + new case): exits 1 with AssertionError: the command palette is above Settings.
  • With the fix: all 9 PASS lines, including the existing "Settings opens above the preview at 390px/1280px; Escape and Back preserve it" cases.
  • bun run check fast: 1722 pass, 0 fail; typecheck and build ok.

With a preview open, the palette still opens beneath the preview and Settings. That was already so on main (the preview sits at --z-modal + 1), so this PR leaves it unchanged.

@devswha devswha left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Independent review of the fix since the reviewed head ceca673 (fix-567 lane). Clean: no blocking findings.

Delta reviewed: 2c0fea4 (merge of origin/main) and 31ca09e. .settings-over-preview (--z-modal + 2) now applies only while a file preview is open (overPreview={viewing !== null}). On its own, Settings stays on --z-modal, so the command palette, later in the document, draws above it again. keyboardActive={!settingsOpen} and the history handling are unchanged from the reviewed head. The CHANGELOG line is under ## [Unreleased], and the DESIGN.md text matches the CSS.

What I ran on 31ca09e (detached scratch worktree, each via bun run check run):

  • Earlier reproduction (demo fixtures, 1280x800, Ctrl+Shift+, then Ctrl+Shift+K, elementFromPoint at the centre of the palette search): the hit is the palette's INPUT.input, and the Settings scrim is plain modal-scrim. On ceca673 it was HEADER.modal-header settings-header.
  • scripts/file-viewer-regression.ts at 31ca09e: exit 0, 9 PASS lines, including "Settings opens above the preview" at 390px and 1280px and "the command palette opens above Settings".
  • The new case without the fix (SettingsDialog.css, SettingsDialog.tsx and App.tsx restored to ceca673, rebuilt): exit 1 at AssertionError: the command palette is above Settings. The two Settings-over-preview cases still pass there.
  • bun run check fast: workflow syntax, generated types, typecheck, build and unit tests (1728 tests) all ok.

Regression search: Settings with no preview, Settings over a preview (Escape/Back order, history entry kept), and the file browser above Settings are all fine. One non-blocking note: with a preview open, the palette (--z-modal) is under the preview (--z-modal + 1) whether or not Settings is up. That is the same on main, so it is not introduced here; it is a possible follow-up.

@devswha
devswha merged commit 08db222 into main Oct 8, 2026
4 checks passed
@devswha
devswha deleted the codex/fix-settings-preview branch October 8, 2026 03:37
devswha added a commit that referenced this pull request Oct 8, 2026
…e notes (#598)

Two changes the owner asked for, one commit each.

## 1. Clipboard from a pane (OSC 52) is on by default

#570 turned **Settings → Terminal → Clipboard from a pane** off by
default, so copying from vim, tmux and Claude Code silently did nothing.
It is on again; the switch stays for anyone running output they do not
trust.

**Migration: a new storage key.** Settings are saved as one whole
record, so any 0.4.1 install whose user changed *any* setting has
`terminalOsc52: false` stored without choosing it. The choice now lives
under `paneClipboard` (default `true`) and `terminalOsc52` is ignored
and dropped by `sanitizeSettings`, which already discards unknown keys.
That is the simplest correct option:
- a 0.4.1 record loads as on (its `false` cannot be told apart from a
real choice, so it is not trusted);
- an off chosen from now on is written under `paneClipboard` and stays
off across saves and reloads;
- no version field or one-off migration state is needed. A settings
version would do the same with more code.

Known edge: a tab still running the 0.4.1 bundle that saves settings
writes its own record, which has no `paneClipboard`, so a new "off"
would read as on again until it is re-chosen. Tabs pick up the new
bundle on reload, and settings already have no cross-tab sync (each tab
saves its in-memory record), so this is no worse than any other setting.

Tests (`src/lib/settings.test.ts`, "clipboard from a pane"): fresh
default on; a 0.4.1 record with `terminalOsc52: false` loads as on; an
off chosen after the change survives a save, a reload and an unrelated
change. A mutation that falls back to the old key fails the second case.

Also: the setting's description and code comments say what is true now,
ko/ja/zh entries are updated, and there is a CHANGELOG line under
Unreleased → Changed. No doc in `docs/`, `DESIGN.md`, `INSTALL.md` or
`README.md` mentions the default.

## 2. Patch-note style GitHub release notes

`scripts/release-notes.ts` printed the whole CHANGELOG section (181
lines for v0.4.1). It now prints the English lists from
`release-summaries.json` (`### New features`, `### Improvements`, `###
Bug fixes`, a list with no lines left out), then the full section inside
`<details><summary>Full changelog</summary>` with blank lines around it
so GitHub renders the markdown. Lines come through `readSummary`, so
they are trimmed and capped exactly as an install shows them. Every
validation is unchanged (version format, the three version sources,
exactly one heading, nonempty notes, all four languages).
`scripts/release-notes.test.ts` pins the shape, the order and an empty
list left out. `docs/development.md` → Releasing and `scripts/AGENTS.md`
describe the new body.

The published v0.4.1 release is not touched here; the lead regenerates
it after the merge.

### v0.4.1 rendered with this script (`bun scripts/release-notes.ts
0.4.1`)

### New features

- Typing /effort in a Claude Code chat opens a card to pick the effort
for this session
- Settings → Appearance can keep waiting and the latest agents on top of
the Agents list
- A finished agent you opened in the web UI can lose its dot, as it
would in herdr (opt-in)
- The guide shows how to give the app a public HTTPS address with Portal

### Improvements

- A wrong access token waits longer after five tries, up to a minute
- A program in a pane copies to your clipboard only once you allow it in
Settings → Terminal
- Dialogs keep Tab inside them, and screen readers announce tabs, panes
and status lines
- Add PC, Reconnect PC and Update remote bridge open as a bottom sheet
on a phone
- Updating a remote PC that is already current reuses its bridge without
a new download
- Alerts go only to https push services and never follow a redirect
- Long drafts wrap, and the scrollbar no longer covers text when the
page is zoomed

### Bug fixes

- A long line of unclosed brackets or broken escape codes no longer
freezes the chat
- On Windows, more Claude Code and Codex panes show their chat instead
of an error
- Your own devices are recognised by their Tailscale login again,
without pairing
- A Claude Code chat shows what a slash command answered, and /goal is
suggested
- Settings, the palette, Add PC and file previews stack in order; Escape
closes the top one
- The plugin's start keeps the app on its port while herdr is away
- A secret or typed text no longer reaches a pane you have already left
- Gajae Code's selection and startup menus show their choices, not only
arrow keys

<details><summary>Full changelog</summary>

### Added
- `/effort` sent from a Claude Code chat opens a card with the effort
levels, low to max, so the
level no longer has to be set in the terminal. A pick applies to this
session only, as a pick
from the `/model` card does, and leaves the default for new sessions
alone. `/effort` is also in
  the chat's command list now.
  ([#594](#594),
  [#523](#523) by @suho-han)
- Settings → Terminal has a **Clipboard from a pane** switch, off by
default: a program running in a
pane can no longer put text on your clipboard unless you turn it on.
Programs that copy this way
  (vim, tmux, Claude Code) copy again once it is on.
  ([#570](#570) by @radicor)
- The guide's **Behind a reverse proxy** shows how to give the app a
public HTTPS address with
[Portal](https://github.com/gosuda/portal-tunnel) v2.6.1 or later,
behind a long random token
  and with a visitor's `Tailscale-User-Login` header dropped.
([#229](#229) by
@rabbitson87)
- **Settings → Appearance → Agents order → Activity** keeps a waiting
agent on top of the Agents
list and orders the rest by their latest state change, as herdr's agents
panel keeps the latest
work in view: the agent you just sent a message to stays on top while it
runs and after it
finishes, and a new one starts there. herdr's own order and the
workspace rows are unchanged.
  **Workspaces** (herdr's order) remains the default.
([#529](#529) by
@phirschybar)
- **Settings → Appearance → Quiet opened finishes** (off by default): a
finished agent you have
opened in the web UI loses its dot and reads as ready, as viewing it in
herdr would make it.
herdr's DONE otherwise stands until herdr itself shows the pane. It is
remembered per PC in
this browser. ([#529](#529)
by @phirschybar)

### Changed
- A wrong access token is refused with a growing wait after five tries,
up to a minute, whether it
is typed into the sign-in form or sent with a request. Each visitor
behind `tailscale serve` has
their own count, and a browser holding an old token never stops you
signing in with the new one.
  ([#570](#570) by @radicor)
- The app now sends itself a Content-Security-Policy, so third-party
content rendered in a chat —
  math, agent marks — cannot run script in the app.
  ([#570](#570) by @radicor)
- A web-push subscription must be an https endpoint.
  ([#570](#570) by @radicor)

### Fixed
- Gajae Code's selection menus show their choices instead of only
arrow-key buttons, including
startup selectors shown before the pane reports that it is waiting.
Answers move to the selected
  row and recheck the menu before confirming.
  ([#593](#593))
- Secret input and the Codex follow-up fallback validate the live
screen, so a password
prompt or collapsed question queue in scrollback cannot send input into
the current program.
  ([#566](#566))
- The PC's Tailscale login is read from a real Tailscale user id. These
ids are too large for a
JavaScript number, so the owner was not recognised and the owner's own
devices had to pair. Two
  logins with neighbouring ids are also no longer taken for one.
  ([#572](#572))
- On Windows, a Claude Code pane started with a second account's
`~/.claude-*` directory as its
`CLAUDE_CONFIG_DIR` shows its chat. Before, the pane fell back to
`~/.claude`, so the chat said
**Conversation unavailable** and only the terminal worked. Windows does
not let the server read
another process's environment, so the store is the one among the
server's own
`CLAUDE_CONFIG_DIR`, `~/.claude` and the `~/.claude-*` directories
beside it that holds the
Claude process's own record, checked against the time the process
started. A directory
elsewhere is not looked in. Claude Code processes reported as
`claude.exe` are
  recognized too.
([#563](#563) by
@David-Sousa-Web)
- A long line of brackets, `\(` or underscores that never close, as an
agent prints in a log or a
minified file, no longer freezes the chat: a megabyte of them took a
minute or more to read, and
  now takes milliseconds. What every message shows is unchanged.
  ([#574](#574))
- On a mirrored pane (Windows, where herdr cannot attach a terminal),
text typed while a message
was still being sent no longer reaches the pane once you have left it,
or left it and opened it
  again, before the text's turn came.
  ([#576](#576))
- The plugin's `start` keeps the app on its port when the app's own
server holds it but cannot
reach herdr. It used to move the app to another port beside the running
one and blame another
program; now it says that the app runs there without herdr and exits,
and the app answers
  again on its port once herdr is back.
  ([#577](#577))
- On Windows, a Codex pane shows its chat when Codex stored its paths
with the `\\?\` prefix, as
it does for a canonical Windows path (`\\?\D:\work` for `D:\work`).
Before, the chat said
**Conversation unavailable**: the session's file seemed to lie outside
Codex's store, and none of
  the threads matched the pane's directory as herdr reports it.
([#582](#582) by
@David-Sousa-Web)
- In a Claude Code pane, the chat shows what a slash command answered,
so a `/goal` that Claude
Code refuses says why in the chat instead of only in the terminal.
`/goal` is also among the
  commands the message box suggests.
  ([#583](#583))
- Settings opened over a file preview is visible above it; Escape and
Back close Settings
first, preserving the preview and its history entry until the file
itself is closed.
  ([#568](#568))
- Command palette buttons keep their native Enter action; IME commit and
cancel keys
stay with text input, and arrow navigation keeps the selected result
visible.
  ([#567](#567))
- Long drafts in the message box wrap and keep a narrow scroll cue in
reserved space, so the
  scrollbar no longer covers text at fractional zoom.
([#522](#522) by @suho-han)
- A secret sent from a pane you then left and opened again, while
another browser kept the pane
open, is no longer typed into the pane: you send it again from the pane
you opened.
  ([#588](#588))
- A Claude Code slash command whose answer holds a long run of broken
terminal escape codes no
longer stalls the server while the chat reads it. Its answer also drops
a link cut off before
its end and a stray `B` after a charset switch, and an answer with both
output and errors
  shows both.
  ([#588](#588))
- The command palette opened over Settings and a file preview shows
above both, instead of
  taking the keyboard unseen beneath them.
  ([#588](#588))
- The plugin's `start` no longer takes another program on the app's port
for the app because
its answer says `ok`: it treats it as any other program there, moving
the app to a free port,
  or saying the port is taken when `PORT` is set.
  ([#588](#588))
- A 500 from the server no longer repeats the system's own error text,
which carried absolute paths
and the herdr socket location; it names a short id you can quote in a
bug report instead.
  ([#570](#570) by @radicor)
- Settings, the command palette, the file viewer, the file browser and
the new-workspace dialog keep
  Tab inside them and give the focus back to whatever opened them.
  ([#570](#570) by @radicor)
- The tabs of a workspace name the pane region they govern, so a screen
reader announces the tab and
  the pane together.
  ([#570](#570) by @radicor)
- Agent headings in a chat no longer pose as the app's own page
structure; they sit below the app's
  own headings and look the same as before.
  ([#570](#570) by @radicor)
- The "reconnecting" line and the composer's terminal-only hint are
announced when they appear.
  ([#570](#570) by @radicor)
- A chat locked out by the token gate, the "Last checked" line under
Settings → About (with its
date in your language) and a remote PC's state word in the sidebar are
translated like the rest of
  the UI.
  ([#570](#570) by @radicor)
- The alerts menu item now says the same thing the same way in every
state.
  ([#570](#570) by @radicor)
- Held terminal input typed while disconnected is forgotten after a day.
  ([#570](#570) by @radicor)
- A link printed in the terminal opens only if it is an http(s) address,
on both link paths.
  ([#570](#570) by @radicor)
- A second tab open on one pane no longer sends a message the first tab
is already sending: it
sees that send on its way and holds back. Two tabs that press Send at
nearly the same moment can still
  both send it.
  ([#570](#570) by @radicor)
- A row's ⋯ menu is capped to the room its button leaves and scrolls
instead of being cut off by the
viewport, so the pane picker of a tab with many panes keeps every entry
reachable with the pointer
as well as the keyboard. Before, items below the fold were rendered but
unreachable.
  ([#570](#570) by @radicor)
- A row menu open while the window crosses the 640 px breakpoint now
switches between bottom sheet and
  popover instead of keeping the form it opened with.
  ([#570](#570) by @radicor)
- The workspace drawer a narrow window opened is closed again when the
window is widened past 768 px,
  so narrowing it no longer brings back a drawer and its scrim unasked.
  ([#570](#570) by @radicor)
- **Add PC**, **Reconnect PC** and **Update remote bridge** open as a
bottom sheet on a phone, like
every other dialog, and keep clear of the on-screen keyboard. Before,
the one native dialog stayed
  a centred card on a phone.
  ([#570](#570) by @radicor)
- **Remove PC**'s first click is a quiet ghost button that only arms the
removal; the second is the
  red one, as revoking a device already was.
  ([#570](#570) by @radicor)
- A PC's rename, connect and disconnect buttons disable while their
request is in flight, so a double
  click no longer sends two overlapping requests.
  ([#570](#570) by @radicor)
- A failed pane or workspace rename keeps the field open with what you
typed, so a network blip no
  longer makes you write the name again.
  ([#570](#570) by @radicor)
- A workspace reorder that fails no longer undoes a later, successful
reorder.
  ([#570](#570) by @radicor)
- A tab watching several busy panes gives up its oldest cached
conversation answers when they grow
  past a byte budget, not only past sixteen of them.
  ([#570](#570) by @radicor)
- The usage meters' note is the same size as every other advisory and
empty state.
  ([#570](#570) by @radicor)
- The PDF viewer's page colour, the pill radii, the tab dot and the
pairing-code size come from
design tokens now, and the pairing code follows the compact density
setting.
  ([#570](#570) by @radicor)
- Updating an already current remote bridge verifies and reuses it
without downloading or
restarting it again, while a bridge from a newer app is left running
instead of downgraded.
A PC that waits on such a conflict says so in the sidebar and under the
header, with a
  **Reconnect** button, instead of asking for setup approval.
([#519](#519) by @suho-han)
- A wrong access token sent through a proxy on this PC with a made-up
`X-Forwarded-For` address
that itself says " via " now counts against the limit every visitor
through that proxy shares,
like any other wrong token. Before, each such try started a fresh count.
  ([#592](#592))
- A web-push subscription must be an https address, with no exception
for this PC, and an alert is
never sent on where a push service redirects it, so an alert can never
be posted to a service
running on this PC.
([#592](#592))
- In the **Add PC** dialog opened over a file preview, Tab moves through
the dialog's own controls
and Escape closes the dialog alone, leaving the preview beneath it open.
  ([#592](#592))

</details>


## Checks
- `bun run check fast`: ok (1817 pass, 6 platform skips, 0 fail).
- No browser regression covers OSC 52 (`terminal-copy-regression.ts`
covers drag and Ctrl+C copy), so none was run for it.

## Codex review (gpt-6-astra, read-only)
- **Fixed** (P2): summary text was put into the markdown as-is, so
`"…\n\n<!--"` could hide the whole changelog fold. The gate now refuses
a summary line with a line break in any language, and the English lines
escape `<`. A test covers both and fails without the fix.
- **Declined, documented** (P2): a tab still on the 0.4.1 bundle that
saves settings drops `paneClipboard`, so a new "off" reads as on until
it is chosen again. A versioned storage key would stop that, but then
every setting changed in such a tab would be lost instead. It lasts only
until that tab reloads, and every setting added before this one had the
same gap.
- **Pre-existing, not in this diff** (P2): settings have no cross-tab
sync, so a stale tab's next save writes its own copy of every setting,
this one included. Reported to the lead as a follow-up.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant