Commit graph

43 commits

Author SHA1 Message Date
William Casarin
17d4f9e468 web: support content warnings 2022-11-11 11:15:15 -08:00
William Casarin
917fa90398 web: support deletion reasons
When deleting an event, it will now prompt you to type a reason. You can
leave it blank. If you don't, a deletion reason will appear on the
deleted event.
2022-11-09 12:50:50 -08:00
William Casarin
a024cc558d web: don't render deleted events when we don't need to 2022-11-09 12:26:14 -08:00
William Casarin
2ab552f5f8 render event deletion 2022-11-09 12:19:44 -08:00
William Casarin
0a78307336 web: support event and reaction deletion 2022-11-09 11:53:22 -08:00
William Casarin
a6dcec4c1d web: hacky boost workaround 2022-11-04 17:08:56 -07:00
William Casarin
7fa2c99c9e web: render reposts 2022-11-04 16:56:23 -07:00
William Casarin
111d87814b remove verbose log 2022-11-04 15:49:21 -07:00
William Casarin
5f4445aaec web: show chatroom names in chatroom replies 2022-11-04 15:48:02 -07:00
William Casarin
5f5cbbd80a web: don't show media when replying
it's too big
2022-11-04 15:09:29 -07:00
William Casarin
9be8194dac web: inline video support 2022-11-04 13:25:59 -07:00
William Casarin
4f27647c5b web: support inline images and links 2022-11-04 12:53:20 -07:00
William Casarin
eec07c3b1b web: don't show threads in reply compose view
Sometimes it gets too large and scrolls of the screen. Temporary fix
until I have something better
2022-11-04 12:16:46 -07:00
William Casarin
94371bcc52 web: expand thread button
This doesn't query the full thread yet, but expands what is hidden from
the thread due to the max thread depth of 3 in the home timeline.
2022-11-04 11:31:07 -07:00
William Casarin
64d4dde5df render threads at max depth 3 for now 2022-11-04 10:59:35 -07:00
William Casarin
7a6cccb7ac web: broadcast related events
whenever you reply to a post, we now re-broadcast related events to the
pool. This helps propagation of messages.
2022-11-03 14:05:44 -07:00
William Casarin
8e3b412a33 bump rendered events from 80 to 140 2022-11-03 14:05:06 -07:00
William Casarin
43061337e8 only render a max of 80 or so events
we can have a load more button if we really want to
2022-11-01 15:51:35 -07:00
William Casarin
95824385f1 web: show more detailed reply information 2022-10-31 11:33:14 -07:00
William Casarin
a3b17aca4e web: fix text-in-reactions bug 2022-10-31 11:07:47 -07:00
William Casarin
f6654f3ee3 web/refactor: pull out render_replying_to
This function is getting a bit big, let's start pulling out pieces
2022-10-31 10:21:55 -07:00
William Casarin
69a89d76df remove mask-icon logic for now
need a proper black/white mask icon before I can do this
2022-10-31 09:55:57 -07:00
William Casarin
3f4a22808c notifications: add mask-icon for safari
switch to svg as well
2022-10-31 09:39:26 -07:00
William Casarin
195c9fe604 web: update favicon when there are new notifications
handy for pinned tabs
2022-10-31 09:02:25 -07:00
William Casarin
b3549be0ce switch post input to textarea 2022-10-30 11:40:08 -07:00
William Casarin
3aa94a371c add title text to profile pics
so you can hover over them to see what their username is
2022-10-30 11:28:42 -07:00
William Casarin
4a862053e0 fix reaction sometimes not appearing 2022-10-30 11:21:14 -07:00
William Casarin
25206b5964 add clickable reaction replies 2022-10-30 11:16:51 -07:00
William Casarin
20a0be4943 add reder_event max depth in reply modal
so it doesn't get too large
2022-10-30 11:16:13 -07:00
William Casarin
c2cd952697 fix emoji detection 2022-10-30 10:41:07 -07:00
William Casarin
7c5fcc6dc5 convert emoji replies into reactions
simple way to do reactions
2022-10-30 10:09:44 -07:00
William Casarin
c1531dc41c show reactions on posts 2022-10-30 09:39:58 -07:00
William Casarin
ffccfdda62 show notification count in tab title when not focused 2022-10-28 14:00:47 -07:00
William Casarin
8978a11579 render reactions, only allow replies on text and chats 2022-10-28 11:15:11 -07:00
William Casarin
f5ba022bba nos2x support
your pubkey and privkey will be loaded from nos2x if you have that
configured. Test with alby and the nos2x extension.
2022-10-28 11:04:34 -07:00
William Casarin
dd1bd4f69c clear input post value after submission 2022-10-28 09:18:50 -07:00
William Casarin
77721c97d3 Fix post css on smaller screens 2022-10-28 09:17:01 -07:00
William Casarin
7f54dbc23a Add post view
You can create new posts instead of just replies!
2022-10-28 09:03:22 -07:00
William Casarin
8dadb4fe69 damus_web_init: remove thread param 2022-10-27 18:22:46 -07:00
William Casarin
d08df984d3 always render events when composing a reply 2022-10-27 18:19:59 -07:00
William Casarin
b6d30a70a8 don't let replies break condensed view for now 2022-10-27 18:03:38 -07:00
William Casarin
6ce3ab9699 render replies in order 2022-10-27 17:50:46 -07:00
William Casarin
dfef728d91 move webv2 to master
no point having a branch for this.
2022-10-27 14:11:43 -07:00