Commit Graph

12 Commits

Author SHA1 Message Date
William Casarin
bdea3da5f0 enostr: add Deref trait for Pubkey 2024-11-18 17:10:25 -08:00
Ken Sedgwick
f00b301e88 debug: implemented fmt::Debug for Pubkey 2024-09-26 12:42:35 -07:00
kernelkind
6f5f090fbe Add 'more options' to each note
Signed-off-by: kernelkind <kernelkind@gmail.com>
2024-09-19 19:04:28 -04:00
William Casarin
bc8a8d4a74 perf: coordinate unknown id lookups
This is a huge improvement over what it was before. Now all unknown id
lookups are debounced and happen through a central coordinator. This
ensures there is no duplication between timelines.

Fixes: https://github.com/damus-io/notedeck/issues/279
Signed-off-by: William Casarin <jb55@jb55.com>
2024-09-02 17:38:18 -07:00
William Casarin
71259a8dd5 timeline: initial contact queries
This implements initial local contact queries. For testing you can
create contact list columns via:

Examples
--------

Make a contacts column from a specific npub:

	$ notedeck --column contacts:npub...

Use the current user's contacts:

	$ notedeck --column contacts --pub npub...

We also introduce a new ColumnKind enum which is used to describe the
column type.

Signed-off-by: William Casarin <jb55@jb55.com>
2024-08-30 08:59:48 -07:00
William Casarin
9328ef2dff remove duplicate filter types
only use nostrdb::Filter

Signed-off-by: William Casarin <jb55@jb55.com>
2024-08-19 21:12:32 -07:00
kernelkind
e04c8821d5 Add keypair & update pubkey
Keypair & FullKeypair match structs in damus ios

Signed-off-by: kernelkind <kernelkind@gmail.com>
Signed-off-by: William Casarin <jb55@jb55.com>
2024-05-08 14:14:37 -07:00
William Casarin
9feb6465c0 enostr: remove nostr crate for now
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-10 16:14:45 -08:00
William Casarin
f323fe7379 LOCAL RELAY MODEL IS WORKING
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-09 16:59:49 -08:00
William Casarin
9a9bb13e08 enostr: use data instead of strings in Pubkey and EventId
Signed-off-by: William Casarin <jb55@jb55.com>
2024-02-07 12:02:13 -08:00
William Casarin
44fd75167e add From<&str> for Pubkey 2023-06-28 21:30:02 +02:00
William Casarin
48af3dde9d many improvements 2022-12-12 14:33:37 -08:00