gossip icon indicating copy to clipboard operation
gossip copied to clipboard

Bookmarks

Open mikedilger opened this issue 1 year ago • 2 comments

I want to be able to bookmark posts. And then go to my 'bookmarked' feed.

mikedilger avatar Jan 11 '24 18:01 mikedilger

Aren't bookmarks just a list but with 'e' instead of 'p' tags?

bu5hm4nn avatar Jan 11 '24 19:01 bu5hm4nn

Yeah. We don't store lists as events, we break them down. So we need storage for a set of bookmarks, and to use the slightly different kind 10003 for them (or 30003 if we want multiple bookmark lists, which I'm not sure about, I barely even want bookmarks).

mikedilger avatar Jan 12 '24 02:01 mikedilger

Work progressing on bookmarks branch. I'm not sure how much to support.

  • [x] Add Feed: It was very easy to add a bookmarks feed, and populate it from a 10003 event.
  • [ ] Separate Storage: If we don't have separate storage, we start to experience the same kind of clobber issues that other clients do. But it is far simpler to not have separate storage so we have started that way.
  • [x] Add/Remove: It will be easy to add a menu item that adds (or removes) a bookmark, and then triggers a publishing of a newer bookmarks event, but as of now there is no way to populate or edit the bookmarks
  • [x] Kind 10003: for a single list is what we are reading right now.
  • [ ] Kind 30003: If we want multiple bookmark lists, we should use 30003 with d tags
  • [x] "e" for ids (kind:1 notes but IMHO any other kind too)
  • [ ] "a" (kind:30023 articles)
  • [ ] "t" (hashtags)
  • [ ] "r" (URLs)

mikedilger avatar Jun 30 '24 01:06 mikedilger

I'm moving the parts we didn't do to a new issue #826 and closing this one.

mikedilger avatar Aug 05 '24 20:08 mikedilger