ci/woodpecker/pr/woodpecker Pipeline was successfulDetails
ci/woodpecker/push/woodpecker Pipeline was successfulDetails
added new route /contacts/npub... to show contact lists of users.
each user has about text, follow/unfollow buttons.
fixed CSS and JavaScript links in index.html to support deeper
path i.e. /contacts/npub... uri's.
added home and global feed, home will try to show timeline with
all followed contacts and fallback to global if there are no
followees.
in a future commit global tab could become search and have a
search field at the top.
this creates a kind 3 event that includes a list of profiles that
the user is following.
the feed is still the public global feed and individual feed with
only events from followed pubkeys will be added in the next commit.
also:
- updated following and unfollwing wording
- added proper primary and secondary button styles.
- added following count in profile header
- added contact-list changes events
- added new raw event detail view to visulaize event metadata and
raw content
ci/woodpecker/pr/woodpecker Pipeline was successfulDetails
ci/woodpecker/push/woodpecker Pipeline was successfulDetails
if difficulty-filter is set the subscription of the global feed
can filter only ids with 0-prefix to save bandwidth.
as there may not be many pow events within the last 24h, the
date range is now only enabled if there is no diffculty-filter
set so that the feed is not empty.
if this works as expected it could also only subscripe to
reactions and profile info with pow ids.
deps: update nostr-tools to 1.10.1
This version supports subscribing to prefixed ids, see
3bdb68020d
ci/woodpecker/pr/woodpecker Pipeline was successfulDetails
ci/woodpecker/push/woodpecker Pipeline was successfulDetails
fetch profile meta data only for future notes for pubkeys that are
not known of if the event kind is a text note, but not for reactions
or meta data.
this drastically reduces one time subscriptions.
ci/woodpecker/pr/woodpecker Pipeline was successfulDetails
ci/woodpecker/push/woodpecker Pipeline was successfulDetails
playing around with subscriptions, feed now loads profile names,
profile views also show replied to notes and notes recursively
search for replies or replies.
this commit does too many subscriptions, ideally a max of three
subscriptions are done at once. in future commit it would be nice
to subscribe modularly, have done callbacks or push into subscribe
next queues.