Searching counterparts glitchy when includes @ (nip05) #273
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "issue-270"
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?
Closes #270
issue-270to https://git.nostrdev.com/sigit/sigit.io/pulls/273/fileshttps://git.nostrdev.com/sigit/sigit.io/pulls/273/filesto Searching counterparts glitchy when includes @ (nip05)I was unable to add root nip05 (eg
nostrdev.com
) directly like before. There was a hacky way to detect it before, there should a comment in user add function (maybe it will be useful for this case too).I like how npub is recognized and the + is visible, but for nip05 (with @) it still shows search and on enter it blinks (quick loading screen I believe) and adds the user successfully, it would be nice to have + there too.
@ -126,3 +126,3 @@
alt="Logo"
onClick={() => {
if (window.location.pathname === '/') {
if (['', '#/'].includes(window.location.hash)) {
We should apply this hash check instead of pathname to the
Footer.tsx
as well.@enes
It's still kind of a search against well-known, it's not certain that NIP05 exists, so I would prefer to keep the search icon
Depending if I click "+" or press "Enter" after pasting
npub
directly I get different result, enter adds successfully but clicking button showsInvalid input! Make sure to provide correct npub or nip05.
message.