Profile name isn't set via onboarding #201

Closed
opened 2026-04-14 16:09:58 +00:00 by hodlbod · 7 comments
Owner

This is sort of sporadic, but seems to be the case. The event gets created, but isn't published. I did this to protect new users' privacy — the idea is that profiles only get published to the spaces they join. It's weak privacy protection, and probably isn't worth doing, but this should work. Anyway, make sure there aren't any empty profiles for new signups.

This is sort of sporadic, but seems to be the case. The event gets created, but isn't published. I did this to protect new users' privacy — the idea is that profiles only get published to the spaces they join. It's weak privacy protection, and probably isn't worth doing, but this should work. Anyway, make sure there aren't any empty profiles for new signups.
hodlbod added this to the Current milestone 2026-04-14 16:09:58 +00:00
hodlbod added the dev label 2026-04-14 16:09:58 +00:00
Contributor

Hi @hodlbod,
I want to take up issue #201 (Profile name isn't set via onboarding).
Please assign it to me.
I'll check the onboarding process and fix the profile name publishing.
Thanks!

Hi @hodlbod, I want to take up issue #201 (Profile name isn't set via onboarding). Please assign it to me. I'll check the onboarding process and fix the profile name publishing. Thanks!
priyanshu_bharti was assigned by hodlbod 2026-04-14 19:29:45 +00:00
Contributor

hii @hodlbod
can You take a look at this video;
if everything looks good, I'll push the PR.
thanku

hii @hodlbod can You take a look at this video; if everything looks good, I'll push the PR. thanku
Author
Owner

So this isn't actually the bug at issue here, it's more that user names don't always show up. Below is a video of the flow, but in this case it happened to work. It may have something to do with either sending or receiving, relay selections, etc. It's very sporadic, so I can't give much more detail than that.

So this isn't actually the bug at issue here, it's more that user names don't always show up. Below is a video of the flow, but in this case it happened to work. It may have something to do with either sending or receiving, relay selections, etc. It's very sporadic, so I can't give much more detail than that.
Contributor

Hi @hodlbod,
While working on #201 (Profile name isn't set via onboarding),
I found one more related issue:

New bug:

Users can create a new account even if they leave the Nickname field completely empty (or just press space and continue). No validation is there, so profile name remains blank.
Should I fix this as part of the same issue #201 (add "Nickname cannot be empty" validation + proper profile name publishing during onboarding)?
Or do you want me to create a separate issue for the validation part?
Let me know how i'd like to proceed.
Thanks!

Hi @hodlbod, While working on #201 (Profile name isn't set via onboarding), I found one more related issue: ## New bug: Users can create a new account even if they leave the Nickname field completely empty (or just press space and continue). No validation is there, so profile name remains blank. Should I fix this as part of the same issue #201 (add "Nickname cannot be empty" validation + proper profile name publishing during onboarding)? Or do you want me to create a separate issue for the validation part? Let me know how i'd like to proceed. Thanks!
Author
Owner

No, empty names are acceptable, there's nothing we can do to prevent people from publishing weird metadata events from a different client.

No, empty names are acceptable, there's nothing we can do to prevent people from publishing weird metadata events from a different client.
Contributor

@hodlbod Okay, but I still don’t understand the original issue with profile names. Could you please explain it in more detail?

@hodlbod Okay, but I still don’t understand the original issue with profile names. Could you please explain it in more detail?
Author
Owner

Sometimes, even if the user does provide a username, their profile event doesn't end up getting fetched. This is probably a matter of relay selections — on signup we don't send the profile anywhere (see initProfile). When the user joins a space, we send their profile to the space (see SpaceJoin, broadcastUserData). There's also a toggle on the profile form that controls whether we broadcast users' profiles. I did this for privacy reasons, but the effect is the profile event sometimes gets lost in the shuffle.

Sometimes, even if the user does provide a username, their profile event doesn't end up getting fetched. This is probably a matter of relay selections — on signup we don't send the profile anywhere (see initProfile). When the user joins a space, we send their profile to the space (see SpaceJoin, `broadcastUserData`). There's also a toggle on the profile form that controls whether we broadcast users' profiles. I did this for privacy reasons, but the effect is the profile event sometimes gets lost in the shuffle.
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: coracle/flotilla#201