feat: read nip-58 badges #394

Merged
verbiricha merged 19 commits from badges into main 2023-03-09 10:13:11 +00:00
verbiricha commented 2023-03-04 18:06:22 +00:00 (Migrated from github.com)

Check npub1jk9h2jsa8hjmtm9qlcca942473gnyhuynz5rmgve0dlu6hpeazxqc3lqz7 for a user with a few badges, I have one configured too.

Check npub1jk9h2jsa8hjmtm9qlcca942473gnyhuynz5rmgve0dlu6hpeazxqc3lqz7 for a user with a few badges, I have one configured too.
cloudflare-pages[bot] commented 2023-03-04 18:07:23 +00:00 (Migrated from github.com)

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6a987bd
Status:   Deploy successful!
Preview URL: https://a1d58e09.snort-social.pages.dev
Branch Preview URL: https://badges.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>6a987bd</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://a1d58e09.snort-social.pages.dev'>https://a1d58e09.snort-social.pages.dev</a> </td></tr> <tr><td><strong>Branch Preview URL:</strong></td><td> <a href='https://badges.snort-social.pages.dev'>https://badges.snort-social.pages.dev</a> </td></tr> </table> [View logs](https://dash.cloudflare.com/?to=/:account/pages/view/snort-social/a1d58e09-913b-4514-b0ba-95e62233b3ee)
v0l (Migrated from github.com) reviewed 2023-03-04 21:46:52 +00:00
v0l (Migrated from github.com) reviewed 2023-03-04 21:49:33 +00:00
v0l (Migrated from github.com) reviewed 2023-03-04 21:50:53 +00:00
v0l (Migrated from github.com) reviewed 2023-03-04 21:51:59 +00:00
verbiricha (Migrated from github.com) reviewed 2023-03-05 11:06:32 +00:00
verbiricha (Migrated from github.com) reviewed 2023-03-05 11:07:24 +00:00
verbiricha commented 2023-03-05 11:08:55 +00:00 (Migrated from github.com)

need to refactor NIP-51 lists to be up to date with the spec, will combine all "list" filters into one in a follow-up PR which should help reduce the number of subs in profile/login.

need to refactor NIP-51 lists to be up to date with the spec, will combine all "list" filters into one in a follow-up PR which should help reduce the number of subs in profile/login.
v0l commented 2023-03-06 18:08:57 +00:00 (Migrated from github.com)
image
<img width="366" alt="image" src="https://user-images.githubusercontent.com/1172179/223194430-fe89a2e4-13ea-467c-a21f-6239d784ad00.png">
verbiricha commented 2023-03-08 06:54:35 +00:00 (Migrated from github.com)

@v0l can't repro, was the thumbnail updated?

Screenshot 2023-03-08 at 07 50 35
@v0l can't repro, was the thumbnail updated? <img width="551" alt="Screenshot 2023-03-08 at 07 50 35" src="https://user-images.githubusercontent.com/92299987/223640615-138dd0d1-f1eb-4ed9-a218-dbe2b2c282fa.png">
v0l commented 2023-03-08 11:20:07 +00:00 (Migrated from github.com)

IDK still looks small for me, icon is only 31px
image

IDK still looks small for me, icon is only 31px <img width="509" alt="image" src="https://user-images.githubusercontent.com/1172179/223700240-f8ff04e0-427a-421b-b587-cd71f3962dfa.png">
v0l commented 2023-03-08 11:21:31 +00:00 (Migrated from github.com)

Ah i see, its because i have DPR 2.0 which makes it looks half the size, original file is this: https://www.nogood.store/nostr/badge/NG_Badge_02_thumb.jpg

Ah i see, its because i have DPR 2.0 which makes it looks half the size, original file is this: https://www.nogood.store/nostr/badge/NG_Badge_02_thumb.jpg
v0l commented 2023-03-08 11:23:02 +00:00 (Migrated from github.com)

Its even smaller with DPR 3.5
image

Its even smaller with DPR 3.5 <img width="430" alt="image" src="https://user-images.githubusercontent.com/1172179/223700829-e33be65c-840d-4964-9a9f-a3caf227bf85.png">
v0l (Migrated from github.com) approved these changes 2023-03-09 10:05:08 +00:00
Sign in to join this conversation.
No description provided.