William Casarin
5bb46c5d10
reply bug fixes
still need to revamp this logic for mentions
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
fd4aa2bb3d
simplify collapsed calculation
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
914520205e
loading indicator
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
f2265153fa
determine highlight from reply map
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
b3588b9d61
slower animation on appear
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
b72047237a
don't collapse if we don't need to
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
d2c9f0eab1
simplify reply_ids
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
9b79b46601
better reply descriptions
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
8cc3edf195
use direct references on root events
references to root should be treated slightly differently, otherwise the
entire thread will be shown when you select the root event.
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
c53b9d2ce6
expand collapsed sections
currently only expands all sections
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
William Casarin
cad23d5965
fix crash for profiles environment object in replies
Signed-off-by: William Casarin <jb55@jb55.com>
3 years ago
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