diff options
| author | Adam Soltys <[email protected]> | 2026-08-03 13:04:37 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-08-03 13:04:37 -0700 |
| commit | efa4a719786633ba905798cdc46e6f35ada51372 (patch) | |
| tree | 8afcbd56cf87683c9656d81c6cc95bccd5eee1cf /src/routes/(app)/migrate/+page.svelte | |
| parent | 2c9ab7a73c662e15229c340ba471fb3aeec41b70 (diff) | |
| download | coinos-ui-efa4a719786633ba905798cdc46e6f35ada51372.tar.gz coinos-ui-efa4a719786633ba905798cdc46e6f35ada51372.zip | |
migrate: flag the account instead of renaming it
Renaming to <name>v2 was a hack for freeing the username, and v3/v4/v9
fallbacks made it worse. The page now sweeps the balance and sets the
new `migrated` flag: the registrar takes over receiving for the name
while the old account keeps working here, unchanged.
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Wvj4aoeMZwA7VUGdJP9Swi
Diffstat (limited to 'src/routes/(app)/migrate/+page.svelte')
| -rw-r--r-- | src/routes/(app)/migrate/+page.svelte | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/routes/(app)/migrate/+page.svelte b/src/routes/(app)/migrate/+page.svelte index e1e4a79d..0853c15b 100644 --- a/src/routes/(app)/migrate/+page.svelte +++ b/src/routes/(app)/migrate/+page.svelte @@ -9,7 +9,7 @@ import { enhance } from "$app/forms"; let { data, form } = $props(); - let { user, to, back, newName } = $derived(data); + let { user, to, back } = $derived(data); let working = $state(false); let balance = $derived(user?.balance || 0); @@ -36,16 +36,16 @@ <p>{form.sent.toLocaleString()} sats are on their way to your new wallet.</p> {/if} <p> - Your username was released, so <strong>{form.released}</strong> can be yours again on - coinos v3. + <strong>{form.released}@coinos.io</strong> now receives into your coinos v3 wallet. </p> <a class="btn btn-primary w-full" href={backUrl}>Back to coinos v3</a> </div> {:else} <p> - This sends your balance to your new wallet and frees up your username so you can keep - it there. Your old account stays, renamed to <strong>{newName}</strong>, and stops - receiving payments. + This sends your balance to your new wallet and points + <strong>{user.username}@coinos.io</strong> at it, so payments to your address arrive + there from now on. This account stays exactly as it is — same name, same history — + you just receive on coinos v3. </p> <div class="rounded-xl border p-3 space-y-1"> @@ -76,7 +76,7 @@ name="pin" placeholder="Your PIN" /> {/if} <button class="btn btn-primary w-full" disabled={working}> - {#if working}Moving…{:else}Move {balance.toLocaleString()} sats and release {user.username}{/if} + {#if working}Moving…{:else}Move my balance and address to coinos v3{/if} </button> </form> |
