damus-io / notedeck

A multiplatform nostr client
Other
99 stars 17 forks source link

Post tagging #131

Open jb55 opened 4 months ago

jb55 commented 4 months ago

We need @ tagging in posts!

alltheseas commented 4 months ago

tag

alltheseas commented 3 months ago

tested noteID, nevent, npub successfully.

naddr is tagged, and does not render.

Screenshot from 2024-07-25 15-31-18

alltheseas commented 3 months ago

received feedback from @eskema that tags are currently posted simply with '@', and not with nostr: scheme

alltheseas commented 3 months ago

notedeck

{"created_at":1721910142,"id":"52ea754e93d62eadc851e4d7ead9e4b662c25e218df2bc2501cd2cc4d7821c6b","kind":1,"pubkey":"17538dc2a62769d09443f18c37cbe358fab5bbf981173542aa7c5ff171ed77c4","content":"test tag @npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s","tags":[],"sig":"1a479eae09fce0987bba4a8a289ad1c1b776ced6840029838ac0af54bec00836eedd554ed3b52d8e3d88b14d92b07b4e0b7b028dc43bee81de461233cb93af6d"}

iOS

{"created_at":1721911211,"sig":"51bbab960ecc066c25b5ffc726b322cdd7967158c3712e49dc2fc20db3262d113191422b41eb2a2f53e3bbd34bceff175edc5857094e4e1e34df94d950a308ba","content":"Is that the best practice? I think you are right\n\ncc nostr:npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s","pubkey":"17538dc2a62769d09443f18c37cbe358fab5bbf981173542aa7c5ff171ed77c4","id":"23267b3b0e359ec60acc9fa9d4718a090fa3d845925685b82e563a5be84215a6","kind":1,"tags":[["e","52ea754e93d62eadc851e4d7ead9e4b662c25e218df2bc2501cd2cc4d7821c6b","wss:\/\/nos.lol\/","root"],["e","97ca36cb88a208e22c6bd0078de0456a058424de4a1c7ad18eb6deade77543ee","","reply"],["p","9ec7a778167afb1d30c4833de9322da0c08ba71a69e1911d5578d3144bb56437"],["p","32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"]]}

alltheseas commented 3 months ago

https://github.com/nostr-protocol/nips/blob/master/27.md