William Casarin
5e14091f09
don't save network events for now
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
6ce5484d74
calculate ancestor reply path
This works really well going back in time because no branching, assuming
the last referenced event id is the only note they are replying to...
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
cca8738519
fix signature/encoding issues with slashes
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
04b0e2b38b
Revert "reference all ids again"
This reverts commit 5aa19be82a
.
3 years ago
William Casarin
4ff6719961
show who we're replying to
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
5aa19be82a
reference all ids again
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
844146e547
fix reply tags
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
89cb063015
show hidden notes at the end as well
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
c9d3ed361f
collapse the thread when a note is selected
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
392af009f8
eventdetails: only add our events
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
a6a275d90b
fix event tags encoding
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
453d57405b
replies: only reference root and immediate reply event
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
0ac3218952
fix reply ids
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
550f096808
make note of collapsed events
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
700a0e2625
replying works
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
b4660bd58f
oops, add profiles
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
d950ad75b8
better threads
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
41911908e7
scroll to note in thread
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
f2631bd086
make profiles and environment object
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
f314a4163f
add explicit reconnect
otherwise we try to reconnect on a broken socket which doesn't seem to
work
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
ec1db64370
fix horrible connection issue
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
36043cf20a
don't make highlighted event clickable in details view
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
721471cf0a
relays: add scsi's relay
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
927a4deedc
websocket: turn of compression
otherwise we can't connect to some relays
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
d5b839f11a
fix relay
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
dd1a63ab3a
add license
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
b6421bb5e4
threads working
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
2676dea140
event action bar, more detail view
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
e48af81b75
show relative created time on events
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
8a3bf8b44f
random todo
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
d796c44b46
EventDetailView placeholder
we'll use this view for when click into an event
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
4491db5cdd
debug relay event timeline for debugging
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
d3d8b56a08
refactor profile pic into view
we'll need this in thread and event details view
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
698ddb31cc
EventView: dont show pow if it's less than 10
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
cdbcf0f6e0
NostrEvent: add local flags for internal use
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
f38b1be9e0
ocd
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
abde23e876
add_relay helper
this adds local relay profiles
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
a2b86872bd
update my pubkey for testing
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
e8a9d69365
fix hex decode
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
97fbee85c0
posting, global timeline
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
967c463976
Posting works!
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
510926fa70
mute bestofhn events while testing
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
445e44cd1e
EventView: example pow coloring
Definitely not final design, but neat demo
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
c7e3664831
EventView: better spacing
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
e0059388e8
calculate proof of work on events
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
1f046ac021
use CachedAsyncImage for pfps
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
bf4743253f
move EventView to its own file
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
28790ccfab
reorganize
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
37b5309dd4
Profiles!
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
13b01381d7
relay pool!
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago