buzz icon indicating copy to clipboard operation
buzz copied to clipboard

Mobile: no display-name / kind-0 profile editor — mobile-created identities appear as raw hex to everyone

Open whotookmylogin opened this issue 4 months ago • 2 comments

Summary

The mobile app reads kind-0 profiles for rendering (avatars, mention pickers) but provides no way to set or edit your own display name — Settings offers only a status field. Any identity created on mobile (invite join, buzz:// payload) is permanently unnamed and appears as a raw hex prefix (e1e0d007…) in the @-mention picker and member lists, for everyone in the community.

Impact

  • Mobile-only users (the exact audience of #2735 / #2662) can never name themselves; communities fill up with hex identities that other members can't tell apart.
  • Desktop can edit profiles, so the workaround today is "borrow a desktop once" or have an operator publish a kind-0 for you server-side with your key — neither is viable for normal mobile-first onboarding (family members, field employees).

Reproduction

  1. Join a community on iOS via an invite (fresh identity generated on device).
  2. Open the @-mention picker in any channel → your identity renders as a hex prefix.
  3. Look for any name/profile editor in Settings → only "status" exists.

Suggestion

A display-name field in mobile onboarding (at join time) plus an editor in Settings that publishes the kind-0. Even a name-only editor (no avatar) would remove the hex-identity problem for mobile-first rollouts.

whotookmylogin avatar Jul 28 '26 19:07 whotookmylogin

I reproduced this on current main with a focused mobile widget test and I’m taking the name-only slice.

Scope: add an edit action in mobile Settings, preserve the existing kind-0 fields through read-merge-write, publish the replacement event, refresh the local profile state, and cover the behavior with focused widget/provider tests.

I’ll keep avatar upload and onboarding changes out of this PR.

danvernon avatar Jul 29 '26 10:07 danvernon

Confirmed on iOS v0.7.0 (August 2026) in a hosted/private community.

The current Settings view shows:

  • a profile header (when a profile already exists);
  • Appearance / Theme / Accent color;
  • Connection;
  • the generated Identity (pubkey);
  • Remove community.

There is still no control to create or edit the member's display name, avatar, or profile metadata on the phone. For a mobile-created identity, the only visible identity value is the raw public key. This leaves administrators and other members seeing an opaque hex/npub string instead of the employee's name.

This is a hard blocker for mobile-first organizations: the administrator cannot safely rename somebody else (the profile must be signed by the mobile identity), and the employee has no mobile path to do it themselves.

Please add both:

  1. a required-or-skippable Profile step immediately after a successful community join; and
  2. a persistent Edit profile action in Settings.

The action should publish the profile from the device-held key; it must not require sharing a private key with an administrator or a desktop client.

Rodribm10 avatar Aug 07 '26 20:08 Rodribm10