Skip to content

Conversation

@romanzipp
Copy link
Contributor

This PR allows the user to specify a url query param which will be used as a suggested URL when first connecting to the matter server.

By default ws://localhost:5580/ws will be autofilled into the browser prompt. With this change, a user can bookmark the URL to the matter server (dashboard) with a pre-filled url query parameter like http://localhost:50104/?url=ws://somwhere-different/ws.

I aknowledge that once a URL has been entered, it's stored in the browser's localstorage. I've configured Firefox to delete any site data on restart which would make me enter the correct URL each time. The default behavior with omitted url query param will not change.

Screenshot 2026-01-03 at 12 25 45

@romanzipp romanzipp changed the title Add suggested url via url param when missing stored url Dashboard: Add suggested url via url param when missing stored url Jan 3, 2026
@Apollon77
Copy link
Contributor

Thanks, I will merge it, but the release will not happen anymore for the Python server. I will take over the change also for the new matter.js based Matter server we will start testing officially next week

@Apollon77 Apollon77 added maintenance Code (quality) improvement or small enhancement which not a new feature frontend labels Jan 10, 2026
Apollon77 added a commit to matter-js/matterjs-server that referenced this pull request Jan 10, 2026
@Apollon77 Apollon77 merged commit ad5eb4b into matter-js:main Jan 10, 2026
5 of 6 checks passed
@romanzipp romanzipp deleted the add-suggested-url branch January 14, 2026 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend maintenance Code (quality) improvement or small enhancement which not a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants