Thomas Mathews
03d7d7b0cc
web: revamp mainly done, couple bugs left
2022-12-17 21:13:37 -08:00
Thomas Mathews
f417732942
Got a unified timeline working
2022-12-16 15:15:33 -08:00
Thomas Mathews
00edee1cb3
WIP
2022-12-15 23:34:41 -08:00
Thomas Mathews
e68a022952
web: break out damus.js into more files
2022-12-15 15:39:29 -08:00
Thomas Mathews
ca3668eea7
web: only redraw profile pic once or on force
2022-12-14 19:21:23 -08:00
William Casarin
ff1d5cb609
reduce redraw amounts
2022-11-20 20:44:44 -08:00
William Casarin
db97ee909b
give up looking for unknowns quicker
2022-11-20 19:54:55 -08:00
William Casarin
86f4aa836f
cache timelines
2022-11-20 19:49:43 -08:00
William Casarin
e7973a2d84
message cache
2022-11-20 19:20:09 -08:00
William Casarin
e6644043df
cw: use ontoggle instead of event handlers
2022-11-20 14:07:10 -08:00
William Casarin
45b36a9945
Unknown event fetching
...
Damus will now try really hard to find unknown events. It will use the
event relay hints to connect to new relays and fetch any id that is
missing.
2022-11-20 13:35:44 -08:00
William Casarin
994305ccff
switch to new share spec
2022-11-20 09:28:35 -08:00
William Casarin
4fd24c0414
80col ocd
2022-11-20 08:37:03 -08:00
William Casarin
85eae88724
web: per-view max depth
2022-11-19 12:32:35 -08:00
William Casarin
efb931163d
web: remove complex logic from notifications
...
This is preventing likes from coming through
2022-11-19 12:24:23 -08:00
Thomas Mathews
175580b2ae
web: moved utility methods to js/utils.js
2022-11-19 11:20:15 -08:00
Thomas Mathews
fa9965b2a0
web: added open thread view
2022-11-19 11:20:15 -08:00
Thomas Mathews
a28fad9ef2
web: Added nav icon state for desktop.
2022-11-19 11:20:15 -08:00
Thomas Mathews
9f2af26fa6
web: Add profile view.
...
Note that this is incomplete as I do not fetch the events for the user
and render them. I am also missing the state check for if you follow the
user.
2022-11-18 17:12:00 -08:00
William Casarin
c76bd72fde
web: try not make make replies completely messed up
2022-11-18 14:36:35 -08:00
William Casarin
5e9a0f44ca
Revert "web: don't do complicated hiding logic"
...
This reverts commit 8c4d87a993
.
2022-11-18 14:00:07 -08:00
William Casarin
8c4d87a993
web: don't do complicated hiding logic
2022-11-18 13:51:42 -08:00
William Casarin
bd03976544
web: only expand thread one message at a time
2022-11-18 13:44:51 -08:00
Thomas Mathews
ef1c2ca525
web: Added interval checking for nos2x
2022-11-18 11:17:09 -08:00
William Casarin
72346522eb
web: nip05 profile loading
2022-11-18 11:09:55 -08:00
William Casarin
9fb8be6afd
nos2x: call handle_pubkey
2022-11-18 07:43:47 -08:00
William Casarin
c783b430bf
debug alby again... sigh
2022-11-18 07:39:16 -08:00
William Casarin
bb27b1c339
web: don't copy tags when replying
...
otherwise this crazy stuff happens:
https://nostr.com/e/da28aefc824cc7880e79df547cbe7f1e9d21e2ab81a264e311280d11b427ce05
2022-11-17 16:43:50 -08:00
Thomas Mathews
f773ab49f6
web: message textareas auto expand based on content
2022-11-16 20:18:12 -08:00
William Casarin
a78858629e
web/explore: if pow filtering is disabled, remove friends
...
Otherwise the explore timeline looks just like the home timeline
2022-11-15 15:27:16 -08:00
William Casarin
b8a24d9dd4
web: turn of pow filter by default
...
prefer a configurable + adaptive pow filter once that is done
2022-11-15 15:10:55 -08:00
William Casarin
804020806a
web: render notification timeline
...
- hide ourselves from notification timeline
- add spam guard (fof + pow like on explore)
2022-11-15 09:20:45 -08:00
Thomas Mathews
fe4d295a4d
web: add notifications view
...
Note that the view itself does not work, but the menu items and view
are set up. Additionally parts for the marker work too, but they get
cleared immediately on viewing the app so it's kind of useless right
now.
2022-11-14 22:15:14 -08:00
William Casarin
194d244e35
web: don't redraw on duplicate timeline events
2022-11-14 18:14:34 -08:00
William Casarin
eeb3811585
web: bump explore timeline pow target to 25
...
It's much harder to spam at this level
2022-11-14 18:06:16 -08:00
William Casarin
d643e2d06b
web: fix re-rendering on reaction
2022-11-14 18:04:56 -08:00
William Casarin
70d0df5240
web: fix anon users resolving to the same robohash
2022-11-14 17:32:33 -08:00
William Casarin
42fd771333
web: only request filters if the authors list has items
2022-11-14 17:26:00 -08:00
William Casarin
b081e1cefc
web: fix obscure relay bug
2022-11-14 16:57:54 -08:00
William Casarin
1192cd3b30
web: fix reply event rendering
2022-11-14 16:30:49 -08:00
William Casarin
0b37f5b3f3
Explore View
2022-11-14 15:46:36 -08:00
William Casarin
9a02a55caa
web: fix related event fetching
...
When fetching events, also fetch events that your friends are replying
to.
2022-11-14 09:03:29 -08:00
Thomas Mathews
f5cd0e2e39
web: Updated deleted event style.
...
- Refactored event messages style
- Added official z-index layering variables
- Use a cool ghost for profile image of deleted content
2022-11-13 08:09:30 -08:00
Thomas Mathews
e50f3e542b
web: fix linkify not readding end group
2022-11-13 07:17:09 -08:00
Thomas Mathews
b214b6e2a0
web: fix anchor detection
...
This fixes an issue where text was being hyperlinked when the "http"
pattern was detected in a character block. This looks that there is
whitespace or such to correctly assume it's a link. This may not be the
best implementation, but it seems to resolve issues for me so far. Unit
tests would be good.
2022-11-12 20:36:48 -08:00
Thomas Mathews
781f99e845
web: show profile picture in post box on desktop
2022-11-12 19:32:21 -08:00
William Casarin
3cb6a2f7b3
web: fetch even more unseen profiles from events
2022-11-12 14:29:59 -08:00
William Casarin
331eeb066b
web: fix threads not getting expanded
2022-11-12 13:34:02 -08:00
William Casarin
67b2461771
update ctags command
2022-11-12 13:13:20 -08:00
William Casarin
2e568e4b44
web: focus reply box when replying
2022-11-12 12:38:09 -08:00