Why Nostr? What is Njump?
2024-08-13 20:37:05
in reply to

dtonon on Nostr: From a UX perspective @ is useful only if you fire a search and let the user type ...

From a UX perspective @ is useful only if you fire a search and let the user type some characters to autocomplete, and this is not so feasible on a generic event (maybe you can cache and filter already visited contents that have a title).
So for the UI should be sufficient to parse the plain nevent/nprofile/naddr without any prefix, possibly requiring it to be between whitespace chars. As soon the user paste the string, replace it with a sensible preview to confirm that it's correct.
At source level `nostr:` is robust and coherent with the scheme of the Nostr protocol.
Author Public Key
npub10000003zmk89narqpczy4ff6rnuht2wu05na7kpnh3mak7z2tqzsv8vwqk