Commit graph

16 commits

Author SHA1 Message Date
Thomas Mathews
077bf49fdb New Feature: Direct Messages
This feature involved a lot of refactoring in order to get working
correctly. I wanted to continue using the timeline view for chats thus I
used alternative styling & structure for DM event kinds. This worked
create since the elements map does not care.

There is some queing that has to be done to decrypt message content thus
I allow viewing messages even if they haven't been decrypted yet. I
think this is good for transparency since you understand what is and is
not decrypted. I do think that the UX could improve, because even tho it
is fast, it's flashes on new messages.

I did not implement saving of latest messages. I will do this later, but
this feature is big enough to merge as is: an alpha state that works.

I further abstracted profile & name updating to work in a more global
manner. Additionally I rewrote code that had attribute scripts to use
addEventListener instead. This is needed to happen anyways for security
and made the codebase easier to manage.
2023-01-06 14:55:33 -08:00
Thomas Mathews
ce5fb96794 Fix layout width break due to long usernames 2023-01-03 08:25:39 -08:00
Thomas Mathews
239c9bfb62 Added ability to view event JSON. 2022-12-30 17:21:19 -08:00
Thomas Mathews
433fc45eb5 Fixed active settings nav icon. 2022-12-30 13:30:22 -08:00
Thomas Mathews
2b67bfeb2c Fix gnav settings button 2022-12-30 13:27:02 -08:00
Thomas Mathews
e3b31af127 Added basic settings support.
You can edit relays, embed options, and sign out. This moves the signout
button from the nav to the settings area.
2022-12-29 21:56:06 -08:00
Thomas Mathews
f00f327a3d Updates
Improved recognization of replying to thread and being able to open it.

Rewrote profile storing on the model. Additionally fixed issues where
the profile was not getting loaded for referenced pubkeys on an event.
2022-12-29 18:01:05 -08:00
Thomas Mathews
7ce72540cf Fix pubkey sign in.
Added try/catch and updated awaits for async methods in regards to sign
in attempts. This appears to resolve some race conditions with nos2x
extension. More testing to be performed.
2022-12-27 18:53:27 -08:00
Thomas Mathews
d6dd98f31e Fix light mode inputs 2022-12-24 08:11:14 -08:00
Thomas Mathews
1b4d539eef Added basic profile editing support 2022-12-24 08:01:36 -08:00
Thomas Mathews
0a4789b38e minor fixes to faqs modal, updated readme 2022-12-22 13:35:52 -08:00
Thomas Mathews
a78d80d118 This repo now only contains the web app.
I did this because they are 2 separate concerns and I have diverged
so far from the original repo. I didn't start a new repo because it
contains valuable history of all the people who contributed to it.

Additionally if there is an issue with this we can revert, but I
rather not. Forks are forks.
2022-12-22 11:07:35 -08:00
William Casarin
9788baa322 latest
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-19 11:15:26 -07:00
William Casarin
c075d3dd0e add all the things
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-04 08:51:56 -07:00
William Casarin
b56cd0642f updates
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-29 10:27:48 -07:00
William Casarin
ba0211b188 initial commit
Signed-off-by: William Casarin <jb55@jb55.com>
2022-05-13 14:02:17 -07:00