summaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/auth-page.js
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-10-05 09:44:31 +0200
committerChristophe Besson <cbesson@gmail.com>2026-10-05 09:44:31 +0200
commitfe64864e8cfd2cca3a70ae375a3ea16d537ae6be (patch)
tree7a57d863bdd073100b2ba9c87108ae8312a61ef7 /packages/meshbay-hub/src/meshbay_hub/static/auth-page.js
parent9c354dcf9aeccbae7b29e312abfd3761a1dcc077 (diff)
downloadmeshbay-fe64864e8cfd2cca3a70ae375a3ea16d537ae6be.tar.gz
feat: prefill https://meshbay.org on the desktop client's hub screen
The first-run "Which hub?" field now starts filled with meshbay.org; it is still asked, so the client can be pointed at another hub. The note under the form, which explained there was no default, is removed with its catalogue key. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/auth-page.js')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/auth-page.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/auth-page.js b/packages/meshbay-hub/src/meshbay_hub/static/auth-page.js
index d3d3bd7..cb95816 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/auth-page.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/auth-page.js
@@ -130,7 +130,7 @@ function passwordBits(pw) {
}
export function FirstRunPage({ onSet }) {
- const [url, setUrl] = useState('');
+ const [url, setUrl] = useState('https://meshbay.org');
const [error, setError] = useState('');
const [busy, setBusy] = useState(false);
@@ -161,7 +161,6 @@ export function FirstRunPage({ onSet }) {
</button>
</form>
${error && html`<div class="error-msg">${error}</div>`}
- <p class="settings-hint" style="margin-top:16px">${t('firstrun.note')}</p>
</div>
</div>
`;