Skip to content

remotedisplay: the page's title is the board's name - #865

Merged
bdbarnett merged 1 commit into
mainfrom
remotedisplay-title
Nov 26, 2026
Merged

bdbarnett merged 1 commit into
mainfrom
remotedisplay-title

Conversation

@bdbarnett

Copy link
Copy Markdown
Contributor

The page a browser gets from a remote display was titled "Display", so several boards open in tabs all looked the same. Its title is now the board's name from boarddev.name() (for example omnipython-d0a23a, or whatever name the board was given), HTML-escaped. Without boarddev, or with no name, the title stays "Display".

The page is titled once, when the server starts, so a name changed later shows from the next start, as it does for the network and Bluetooth.

Tests: test_remotedisplay checks the escaping, the fallback, and that the served page carries the name; with the page left untitled the last check fails.

@bdbarnett
bdbarnett merged commit 369516a into main Nov 26, 2026
12 checks passed
@bdbarnett
bdbarnett deleted the remotedisplay-title branch November 26, 2026 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant