feat(ui): hide current-host sign-in row in profile #179
Reference in New Issue
Block a user
Delete Branch "feature/hide-current-host-signin-row"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Inside a Telegram/VK Mini App the host provider is auto-linked. Once the player also linked an email,
canUnlinkturned true and an Unlink control appeared on the host platform's own row — letting them unlink the very platform they are signed in through, which is meaningless.Change
!insideTelegram()and the VK row on!insideVK()inProfile.svelte, reusing the runtime host detectors that already gate the link buttons.linkUnlinkstill refuses to remove the last identity.FUNCTIONAL.md(+_rumirror).Verification (local)
pnpm check— 0 errors / 0 warningspnpm test:unit— 396 passedpnpm build— okpnpm test:e2e social.spec.ts— 48 passed (Chromium + WebKit), incl. link then unlink Telegram (proves the web path is unbroken)The inside-host hide path is not reproducible in the mock e2e (host detection is bypassed there); it is a deterministic
&& !hostinversion over already-tested detectors and is to be eyeballed on the contour.