Nostr links #461

Merged
v0l merged 2 commits from nostr-links into main 2023-03-27 08:54:48 +00:00
v0l commented 2023-03-25 23:06:14 +00:00 (Migrated from github.com)

Use nevent / nprofile links when relay data is known

  • Text notes ALWAYS have relay information so share links and clicking on threads will now always use nevent
  • When relay hints exist for e tags then nevent links will be created (mentions or re: tags in note header)
  • nostr: or web+nostr: links will be parsed and converted into clickable links within snort (except naddr)
  • Profile QR now uses nprofile as well as offering copy link

Todo

  • Relays data is currently not used yet when opening nevent / nprofile, i will add this in another PR when the core refactor is done (ephemeral connections support)
Use `nevent` / `nprofile` links when relay data is known - Text notes ALWAYS have relay information so share links and clicking on threads will now always use `nevent` - When relay hints exist for `e` tags then `nevent` links will be created (mentions or `re:` tags in note header) - `nostr:` or `web+nostr:` links will be parsed and converted into clickable links within snort (except `naddr`) - Profile QR now uses `nprofile` as well as offering copy link ## Todo - [ ] Relays data is currently not used yet when opening `nevent` / `nprofile`, i will add this in another PR when the core refactor is done (ephemeral connections support)
cloudflare-pages[bot] commented 2023-03-25 23:13:32 +00:00 (Migrated from github.com)

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8b8d1e6
Status:   Deploy successful!
Preview URL: https://55f5ef0d.snort-social.pages.dev
Branch Preview URL: https://nostr-links.snort-social.pages.dev

View logs

## Deploying with &nbsp;<a href="https://pages.dev"><img alt="Cloudflare Pages" src="https://user-images.githubusercontent.com/23264/106598434-9e719e00-654f-11eb-9e59-6167043cfa01.png" width="16"></a> &nbsp;Cloudflare Pages <table><tr><td><strong>Latest commit:</strong> </td><td> <code>8b8d1e6</code> </td></tr> <tr><td><strong>Status:</strong></td><td>&nbsp;✅&nbsp; Deploy successful!</td></tr> <tr><td><strong>Preview URL:</strong></td><td> <a href='https://55f5ef0d.snort-social.pages.dev'>https://55f5ef0d.snort-social.pages.dev</a> </td></tr> <tr><td><strong>Branch Preview URL:</strong></td><td> <a href='https://nostr-links.snort-social.pages.dev'>https://nostr-links.snort-social.pages.dev</a> </td></tr> </table> [View logs](https://dash.cloudflare.com/?to=/:account/pages/view/snort-social/55f5ef0d-f87d-48a1-8ffc-352e470ab509)
v0l commented 2023-03-26 11:49:38 +00:00 (Migrated from github.com)
Test post: https://nostr-links.snort-social.pages.dev/e/nevent1qqsy08urw6ztcfnktmw6gq67su4p6h2833zy9n33wzkkn4vhqhd2h7cpz9mhxue69uhkummnw3ezuamfdejj7eh0q6l
verbiricha commented 2023-03-26 17:17:08 +00:00 (Migrated from github.com)

We probably should add some margin under user in QR modal

Screenshot 2023-03-26 at 19 16 10
We probably should add some margin under user in QR modal <img width="404" alt="Screenshot 2023-03-26 at 19 16 10" src="https://user-images.githubusercontent.com/92299987/227792600-d84773b0-4d90-49f3-bcf1-33e0dcaa1f2d.png">
verbiricha commented 2023-03-26 17:21:38 +00:00 (Migrated from github.com)

Tested ACK

Tested ACK ✨
verbiricha (Migrated from github.com) approved these changes 2023-03-26 17:22:12 +00:00
Sign in to join this conversation.
No description provided.