User profile box doesn't appear if a user doesn't have user metadata #39

Closed
opened 2024-09-23 09:51:16 +00:00 by freakoverse · 1 comment
Owner

Issue:

  • A new nostr user who created their nostr keypair address using an extension or otherwise, logged in and created a mod post, would result in that mod post not having a profile box (the profile box would not appear).

Example of the issue:
https://degmods.com/#/mod/naddr1qvzqqqrkcgpzqc8p3sp0smjeqkf70ylm87kpd9n3dnr7sjgq8mrt9nhwmfpyjj8nqp4nxvp5xqer5d3sv5cnscesxfnrsdn9x5unqdfexdjnwwfnve3rxenpvvcnvwfkxucnvcmrxajnsdpexqcrxetrxe3rycm9v4jkgcf5xg6rjdpcvcen5cmx8ycrwvphx5kkyenzxgkngvmzxukkydtyxukkvc358pnrwefnxe3k2eqe6xshr

Suggestion solution:

Issue: - A new nostr user who created their nostr keypair address using an extension or otherwise, logged in and created a mod post, would result in that mod post not having a profile box (the profile box would not appear). Example of the issue: https://degmods.com/#/mod/naddr1qvzqqqrkcgpzqc8p3sp0smjeqkf70ylm87kpd9n3dnr7sjgq8mrt9nhwmfpyjj8nqp4nxvp5xqer5d3sv5cnscesxfnrsdn9x5unqdfexdjnwwfnve3rxenpvvcnvwfkxucnvcmrxajnsdpexqcrxetrxe3rycm9v4jkgcf5xg6rjdpcvcen5cmx8ycrwvphx5kkyenzxgkngvmzxukkydtyxukkvc358pnrwefnxe3k2eqe6xshr Suggestion solution: - If the user doesn't have profile meta data, add a fallback image (https://image.nostr.build/a305f4b43f74af3c6dcda42e6a798105a56ac1e3e7b74d7bef171896b3ba7520.png), fallback name text "[name not set up]", and fallback bio text "[bio not set up]", and assuming there's no LN address then to not show the zap button. Image reference in thread, and if there isn't a nip-05 address, that would just not appear. - Image attached of the desired suggested result
Owner

resolved in this commit

resolved in this [commit](https://git.nostrdev.com/degmods/degmods.com/commit/8608765e7976009e13ba2a1275990e35b0012d38)
s closed this issue 2024-09-25 15:57:45 +00:00
freakoverse added this to the Issues project 2024-11-17 15:47:56 +00:00
freakoverse added the
Priority
Low
label 2024-11-17 15:53:27 +00:00
freakoverse added the
Kind/Bug
label 2024-11-17 15:57:35 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: degmods/degmods.com#39
No description provided.