Commit graph

262 commits

Author SHA1 Message Date
Thomas Mathews
2b67bfeb2c Fix gnav settings button 2022-12-30 13:27:02 -08:00
Thomas Mathews
0e302b0681 Typo 2022-12-29 21:58:19 -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
cf95d29184 Updated event delete & share icons 2022-12-27 22:22:15 -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
Thomas Mathews
deeb2847ab Added missing icon event-reply-all.svg 2022-12-27 20:27:40 -08:00
Thomas Mathews
2d92073cfb Clean up unused 2022-12-27 20:21:40 -08:00
Thomas Mathews
646a0a2daf Added reply one/all because it was annoying me 2022-12-27 20:21:12 -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
51ab5aae2a Notifications!
Plus minor bug fixes (like saving not working after first shot). This
needs to address the favicon issue still, but notifications are largely
working.
2022-12-27 13:57:54 -08:00
Thomas Mathews
5895e0f052 Ask if user wants to sync contacts with relays 2022-12-27 10:58:21 -08:00
Thomas Mathews
f706ed17d0 Minor fix for view fetching data 2022-12-27 10:38:53 -08:00
Thomas Mathews
1847b64855 Smarter loading.
This changes to always on explore (though this may change yet again).
This is so we always get new events and we simply filter out who we want
to see. This also replaces the recent history.

I also changed contacts to check if we have contacts from storage and if
not to fetch them. This solves login loading issues.

There are still issues (IMO) with profile loading and thread loading
that need investigation. Profile loading just seems slow and threads
seems to not have posts. I think this may be because the relay is not
sending them to me because it's busy with the explore subscription. The
other relays seem fine, but Damus relay seems slow or unresponsive as I
will send a REQ and it will go completely unanswered, yet return explore
events.
2022-12-27 10:24:32 -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
587c2c3b32 Fix sid parsing in EOSE to close REQ 2022-12-26 12:06:17 -08:00
Thomas Mathews
bba6f4b784 Added fetching thread history. 2022-12-26 11:56:56 -08:00
Thomas Mathews
6430640ec7 Removed old methods 2022-12-26 11:38:01 -08:00
Thomas Mathews
ef57392834 Changed branding to Yo, Sup 2022-12-26 10:27:32 -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
153d69f33d Fix profile picture initial state & no image. 2022-12-24 05:49:40 -08:00
Thomas Mathews
2288afbba3 Updates
- Updated FAQs copy.
- Close nav on view switch
2022-12-22 14:00:59 -08:00
Thomas Mathews
0a4789b38e minor fixes to faqs modal, updated readme 2022-12-22 13:35:52 -08:00
Thomas Mathews
4aa0f3b065 Updated Dockerfile 2022-12-22 11:11:34 -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
Thomas Mathews
1c0108a183 web: removed unused assets 2022-12-22 11:03:01 -08:00
Thomas Mathews
0715dc1e99 web: fix textbox init & remove sticker 2022-12-22 10:59:16 -08:00
Thomas Mathews
cdb2fefe90 web: added login page
It's a start, but nothing great.
2022-12-22 10:55:22 -08:00
Thomas Mathews
ab2ced247b web: fix logout 2022-12-22 08:05:20 -08:00
Thomas Mathews
48ebf9c978 web: delete db on sign out 2022-12-22 08:02:53 -08:00
Thomas Mathews
5d4e8e7ac4 web: removal of ?pk= feature 2022-12-22 07:50:17 -08:00
Thomas Mathews
0eaf01e50d web: allow data: & fix profile image onerror 2022-12-22 07:30:41 -08:00
Thomas Mathews
757e1dcb41 web: add strict CSP 2022-12-22 07:23:25 -08:00
Thomas Mathews
d2cae71c9d web: fix updating profile view 2022-12-21 21:15:26 -08:00
Thomas Mathews
7747ebb306 web: fix profile picture 2022-12-21 20:25:16 -08:00
Thomas Mathews
1ef133eb75 web: fixed shit i'm tired 2022-12-21 20:20:16 -08:00
Thomas Mathews
4d9151b8ae web: fixed profile fetching to be seq 2022-12-21 18:00:26 -08:00
Thomas Mathews
9f81e93738 web: fix profile fetching 2022-12-21 16:08:11 -08:00
Thomas Mathews
f7d984f84e web: fixed reactions not updating 2022-12-21 10:02:53 -08:00
Thomas Mathews
543738aa8e web: fix remove event from timeline 2022-12-21 09:25:35 -08:00
Thomas Mathews
4cb4e77e6e web: bug fixes 2022-12-20 23:19:38 -08:00
Thomas Mathews
d9d293901b web: more caching fixes 2022-12-20 19:17:07 -08:00