Commit graph

69 commits

Author SHA1 Message Date
Thomas Mathews
abc7612aae Spinner & show new fixes 2023-01-27 11:04:11 -08:00
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
7c4274ee32 Bug fix
- Less buggy show more button
- Switched edit profile button to word instead of icon
2023-01-27 10:25:22 -08:00
Thomas Mathews
84a6cf6c96 Made shared events more obvious. 2023-01-25 14:13:53 -08:00
Thomas Mathews
c498349c35 Fixes for reacting with emoji only 2023-01-25 13:59:30 -08:00
Thomas Mathews
fa8bdc0b2b Added ability to view more posts. 2023-01-25 13:38:26 -08:00
Thomas Mathews
dd284a5abe Show only latest 200 posts for performance 2023-01-24 18:16:28 -08:00
Thomas Mathews
b73f5015ab Fix trash icon in settings 2023-01-24 18:08:10 -08:00
Thomas Mathews
e2a1ab5aa7 Update profile page for new fields 2023-01-24 18:03:41 -08:00
Thomas Mathews
7ff9394795 Fix 2023-01-24 15:26:04 -08:00
Thomas Mathews
0691317d19 Fix hide replys button on nav change 2023-01-24 14:51:06 -08:00
Thomas Mathews
1df924df1b Added URL history paths & loading 2023-01-24 12:23:04 -08:00
Thomas Mathews
0bc1120c37 Fix pfp error loading 2023-01-24 10:53:42 -08:00
Thomas Mathews
062ddda3d9 Toggle posts only & mark all mail as read. 2023-01-24 10:46:44 -08:00
Thomas Mathews
372d01672d Fix edit profile button 2023-01-23 19:20:34 -08:00
Thomas Mathews
8ddeca2227 Updated modals to be better for everyone. 2023-01-20 13:42:58 -08:00
Thomas Mathews
3970bb5acd Better mention support, fixed open thread. 2023-01-20 10:00:57 -08:00
Thomas Mathews
21ce55f1cd Security update: no script attributes 2023-01-20 09:53:33 -08:00
Thomas Mathews
8f14f77576 Fix for mentions index.
I read the docs more thoroughly this time...
2023-01-18 10:20:52 -08:00
Thomas Mathews
7ccb07ffc3 Added support for rendering mentions. 2023-01-16 19:52:41 -08:00
Thomas Mathews
fa36bb72aa Fix to close modal & reply input 2023-01-09 11:53:30 -08:00
Thomas Mathews
c536582889 Fix for dm markers 2023-01-06 21:37:49 -08:00
Thomas Mathews
12f0602e4b More hotfix 2023-01-06 21:16:58 -08:00
Thomas Mathews
a7a32ce57b Hotfix for double nos2x prompt 2023-01-06 21:13:13 -08:00
Thomas Mathews
dde0a06e56 Notifications work with dms now 2023-01-06 21:06:18 -08:00
Thomas Mathews
800d67651b Updated profile redrawing 2023-01-06 19:11:34 -08:00
Thomas Mathews
608ac1ed04 Updated default relays. 2023-01-06 18:41:58 -08:00
Thomas Mathews
38c6a42c31 Updated default relays 2023-01-06 15:54:56 -08:00
Thomas Mathews
cd691066ef Fix for apply mode settings 2023-01-06 15:27:45 -08:00
Thomas Mathews
46b42260e6 Fix mail nav icon due to alpha name 2023-01-06 15:04:39 -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
9badc35bf3 Fixed loading relay settings 2023-01-05 21:19:39 -08:00
Thomas Mathews
e4d6788bfa Applied history state pushing.
Co-authored-by: nostr-pleb21
2023-01-05 17:07:23 -08:00
Thomas Mathews
190c1d7e40 Fix mode cancel check 2023-01-05 16:55:48 -08:00
Thomas Mathews
a0a048bbe7 Fix click_update_profile object assignment 2023-01-02 15:30:00 -08:00
Thomas Mathews
4f41be23cc Added missing icon & fixed single reply no root. 2022-12-30 17:30:37 -08:00
Thomas Mathews
239c9bfb62 Added ability to view event JSON. 2022-12-30 17:21:19 -08:00
Thomas Mathews
a0e2b04501 Fix reaction group count. 2022-12-30 15:52:30 -08:00
Thomas Mathews
17d6c826e4 Bug fix & move trash can to end of bar 2022-12-30 13:54:08 -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
9a3361750e Remove unknown methods 2022-12-29 19:37:43 -08:00
Thomas Mathews
02f8b7706e Don't replace all keys in profile update. 2022-12-29 19:19:39 -08:00
Thomas Mathews
fe3f794e01 fix bad ref 2022-12-29 19:15:29 -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
1850ed6aa1 Hide notifications marker upon shown new. 2022-12-29 11:00:28 -08:00
Thomas Mathews
07171f7f08 Fix for contacts loading from relay. 2022-12-29 10:42:00 -08:00
Thomas Mathews
4fbb7875fb Performance Update
I am disabling saving events as it seems quite stressful on IndexedDB as
well as having to parse everything. We need some smart saving where we
only save data relative to the user. Such as profiles last seen within
the day or so. Anything else can simply be refetched. Storing 50,000 events
does not really help the app that much, but does give it a better
loading start.
2022-12-28 10:07:00 -08:00
Thomas Mathews
281de7de24 Sharing works again. 2022-12-27 22:12:53 -08:00
Thomas Mathews
cc9b614c07 Removed useless model_events_arr usage 2022-12-27 20:42:04 -08:00