Commit graph

13 commits

Author SHA1 Message Date
Thomas Mathews
378af1dcac Use shaka instead of heart. 2023-01-27 10:47:44 -08:00
Thomas Mathews
bb680be9b7 Fix issue with posting reactions. 2023-01-27 10:38:19 -08:00
Thomas Mathews
c498349c35 Fixes for reacting with emoji only 2023-01-25 13:59:30 -08:00
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
4f41be23cc Added missing icon & fixed single reply no root. 2022-12-30 17:30:37 -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
281de7de24 Sharing works again. 2022-12-27 22:12:53 -08:00
Thomas Mathews
646a0a2daf Added reply one/all because it was annoying me 2022-12-27 20:21:12 -08:00
Thomas Mathews
9fa6974914 Bug fixes:
- Don't request history of explore
 - Added method to update contacts on relay
 - Replace timeline view upon history loaded for various views
 - Don't re-apply view if already on it
 - Change how much history to request on explore page if viewed it
   recently
2022-12-27 09:28:39 -08:00
Thomas Mathews
6430640ec7 Removed old methods 2022-12-26 11:38:01 -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
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
Renamed from web/js/core.js (Browse further)