Commit Graph

569 Commits

Author SHA1 Message Date
Jonathan Staab
f7e6d46fcf Add relay symbol to notes, publish optimistically, reduce how many relays replies are published to, add more logging, re-work thread layout, optimize note loading by switching from debounce to throttle 2023-02-14 17:12:44 -06:00
Jonathan Staab
233d754258 Batch restore database 2023-02-13 19:44:49 -06:00
Jonathan Staab
675db25af8 Batch synchronization to worker 2023-02-13 18:04:26 -06:00
Jonathan Staab
574c889875 Show records count when hydrating db 2023-02-13 17:59:27 -06:00
Jonathan Staab
911102fbd5 Add debug route 2023-02-13 17:56:03 -06:00
Jonathan Staab
a0cef2b13e Add support for videos 2023-02-13 16:21:18 -06:00
Jonathan Staab
51781a4743 Group feeds better 2023-02-13 16:00:25 -06:00
Jonathan Staab
0905ecf275 Fix unfollow when not logged in 2023-02-13 13:20:48 -06:00
Jonathan Staab
2c9ff7bac0 Re-write data fetching to support lazily streaming in event context 2023-02-13 13:18:26 -06:00
Jonathan Staab
99763a916d Replace nostr: in entity scanner 2023-02-11 15:16:55 -06:00
Jonathan Staab
3bc99e816d Add support for QR codes 2023-02-11 14:59:09 -06:00
Jonathan Staab
3d06e7e0b9 Add profile share qr code 2023-02-11 09:21:56 -06:00
Jonathan Staab
eef1a37a0a Fix relay card on mobile, rename person network to relays 2023-02-11 09:21:43 -06:00
Jonathan Staab
14e5be129d Improving connection management, add nip05 route calculations 2023-02-10 10:04:38 -06:00
Jonathan Staab
5f1f9f9b69 Re-work relay selection 2023-02-09 17:57:37 -06:00
Jonathan Staab
0fe2afb3a8 Track a random sample of relay/pubkey combinations 2023-02-09 15:23:01 -06:00
Jonathan Staab
f4152db315 Move workers directory 2023-02-09 12:54:30 -06:00
Jonathan Staab
b0a11b0823 Move some stuff around 2023-02-09 12:47:22 -06:00
Jonathan Staab
40f5cdff0e Fix joining/leaving rooms 2023-02-09 12:05:26 -06:00
Jonathan Staab
3d546e9004 Fix link parsing, use write relays to publish 2023-02-09 11:05:47 -06:00
Jonathan Staab
9b276885e6 Add followers/follows list 2023-02-09 10:26:09 -06:00
Jonathan Staab
f67435395c Add memory driver for firefox 2023-02-09 09:49:50 -06:00
Jonathan Staab
07533fc752 Tweak url for web worker 2023-02-09 09:37:27 -06:00
Jonathan Staab
34d1ac7fb2 Remove dexie 2023-02-09 09:23:46 -06:00
Jonathan Staab
0cbc9874db Move rooms/messages over to localforage 2023-02-09 08:58:06 -06:00
Jonathan Staab
387649ee4c Fix url regexp 2023-02-09 05:56:11 -06:00
Jonathan Staab
3ccec4d5b5 Add new database built on localforage, apply to people 2023-02-08 17:35:42 -06:00
Jonathan Staab
c1569a3903 Fix add relay 2023-02-08 14:58:29 -06:00
Jonathan Staab
1dfad47396 Fix a few bugs 2023-02-08 09:40:11 -06:00
Jonathan Staab
ede641fc15 Fix annoying persistent chat notifications 2023-02-08 09:34:08 -06:00
Jonathan Staab
57451f120a Fixed slow leaving/joining chat rooms 2023-02-08 09:26:50 -06:00
Jonathan Staab
e42c217f01 Convert threshold to percentage 2023-02-08 09:10:12 -06:00
Jonathan Staab
0fd93bc461 Add missing component 2023-02-08 09:05:28 -06:00
Jonathan Staab
9cac48b283 Add relay selection to note create screen 2023-02-08 09:04:17 -06:00
Jonathan Staab
a8efa9ffc2 Re-design relays page and person relays list with metadata 2023-02-07 14:24:31 -06:00
Jonathan Staab
f44515d0df Extend sleep for going back a bit 2023-02-06 16:28:50 -06:00
Jonathan Staab
e4902647ac Clean up back button in combination with modals 2023-02-06 16:12:16 -06:00
Jonathan Staab
b4801a27a6 Be more lax about parsing links 2023-02-06 15:09:08 -06:00
Jonathan Staab
707a17d075 Fix mentions 2023-02-06 12:01:47 -06:00
Jonathan Staab
090f9d888e Fix muffle 2023-02-06 11:50:44 -06:00
Jonathan Staab
9bdb707d27 Fix alerts 2023-02-06 10:41:48 -06:00
Jonathan Staab
efac30809a Bump threshold up on pool 2023-02-06 05:42:42 -06:00
Jonathan Staab
a55336786b Fix error? 2023-02-04 14:26:11 -06:00
Jonathan Staab
658911ce9f Fix subscription completion condition 2023-02-04 14:22:40 -06:00
Jonathan Staab
9cc50e1894 Add pre-commit hook 2023-02-04 14:14:21 -06:00
Jonathan Staab
fc984cafa6 Clean up pool so we're not waiting for slow connections 2023-02-04 14:11:34 -06:00
Jonathan Staab
dcd8de7912 Fix chat layout 2023-02-04 13:01:47 -06:00
Jonathan Staab
a45ecb61be Add typescript 2023-02-03 17:01:29 -06:00
Jonathan Staab
233c4b6ad6 Clean up some icons 2023-02-03 09:00:42 -06:00
Jonathan Staab
18b950af0a Parse relays for kind 3, show relays on network tab 2023-01-27 16:42:55 -08:00
Jonathan Staab
7cc9ebc080 Only hide replies on feeds 2023-01-25 09:36:42 -08:00
Jonathan Staab
c8fb7e7975 Don't show replies at top level of feeds 2023-01-23 20:14:48 -08:00
Jonathan Staab
9ceb3e3e74 Fix partials/notes content layout 2023-01-23 20:05:30 -08:00
Jonathan Staab
c5ce8cf0d5 Fix chat sending 2023-01-23 20:01:09 -08:00
Jonathan Staab
2d92c13613 Fix onEvent when fast relays are combined with slow ones 2023-01-21 14:44:09 -08:00
Jonathan Staab
8be9d2cd47 Speed up by reducing threshold 2023-01-21 14:16:23 -08:00
Jonathan Staab
53cf666af5 Fix notifications 2023-01-21 13:47:17 -08:00
Jonathan Staab
23160dff4b Massage DM notifications 2023-01-21 13:14:25 -08:00
Jonathan Staab
c46a4df261 Comment out notes search for now 2023-01-21 12:16:54 -08:00
Jonathan Staab
072e092f8f Make network tab the default as much as possible 2023-01-21 12:16:27 -08:00
Jonathan Staab
07564ef29e Spiff up channels 2023-01-21 11:49:09 -08:00
Jonathan Staab
ef3b7f2d3d Add analytics 2023-01-21 11:15:10 -08:00
Jonathan Staab
1a9a31b45b Add DMs 2023-01-19 09:10:07 -08:00
Jonathan Staab
1a88bfa629 Add chat 2023-01-19 05:21:26 -08:00
Jonathan Staab
45d1f37686 Add support for nip05 verification 2023-01-16 16:10:35 -08:00
Jonathan Staab
b850e264db Update changelog 2023-01-16 15:12:10 -08:00
Jonathan Staab
7785bb613a Add bugsnag 2023-01-16 14:54:03 -08:00
Jonathan Staab
ee66d19822 Add topic support 2023-01-16 14:36:30 -08:00
Jonathan Staab
383fb6e85d Opt for fast rather than complete loading 2023-01-16 13:28:55 -08:00
Jonathan Staab
c781e88574 Add Content and Heading components 2023-01-16 12:02:18 -08:00
Jonathan Staab
aaaef18cae Re-work login page 2023-01-16 10:34:18 -08:00
Jonathan Staab
b848c92669 Improve relay connection stuff 2023-01-14 13:15:43 -08:00
Jonathan Staab
19ee631f19 Re-work relays and connections 2023-01-14 10:09:39 -08:00
Jonathan Staab
933e107500 Change pagination, fix alerts, all kinds of good stuff 2023-01-13 06:28:20 -08:00
Jonathan Staab
98d3897e7c Support more bech32 entities 2023-01-13 04:23:04 -08:00
Jonathan Staab
6bec3d03e3 Fix person feeds, move people to dexie for storage 2023-01-12 17:57:41 -08:00
Jonathan Staab
2f818a561e Support nevent path 2023-01-12 09:15:45 -08:00
Jonathan Staab
e0bb3ca32c Update note detail to use explicit relays 2023-01-11 17:53:10 -08:00
Jonathan Staab
b4f196ef5c Remove event cache, livequery 2023-01-11 17:28:46 -08:00
Jonathan Staab
ee1accf001 Clean up nostr utils 2023-01-11 04:30:50 -08:00
Jonathan Staab
bb39245d70 Improve relay selection in tags 2023-01-10 08:59:10 -08:00
Jonathan Staab
2b5dc20def Use nostr tools to encode/decode bech32 2023-01-10 06:03:18 -08:00
Jonathan Staab
360d68856a Fix alerts 2023-01-10 05:09:44 -08:00
Jonathan Staab
3dae3494dd Re-write everything again 2023-01-07 11:13:28 -08:00
Jonathan Staab
e3cf09ce50 Upgrade nostr-tools, add agent 2023-01-06 14:19:59 -08:00
Jonathan Staab
74eebf8d79 Shorten window for cleanup 2023-01-05 04:54:41 -08:00
Jonathan Staab
4c7decd7e3 Speed up alerts by not double-loading 2023-01-03 20:46:06 -08:00
Jonathan Staab
e06c4e6c1b Add support for more like emojis 2023-01-03 16:42:10 -08:00
Jonathan Staab
dbee0d6f8a Add some default relays so the list loads synchronously 2023-01-03 04:35:34 -08:00
Jonathan Staab
06b357de1d Reduce feed reflow from new replies 2023-01-03 04:19:35 -08:00
Jonathan Staab
7374b8f085 Fix follow count for people we don't know about 2023-01-02 10:06:03 -08:00
Jonathan Staab
324c6491ab Handle pasting into compose 2023-01-02 08:24:50 -08:00
Jonathan Staab
28ecf8f485 Attempt to avoid stomping follows by refreshing before updating 2023-01-02 05:48:11 -08:00
Jonathan Staab
72a511c846 Add follow/follower count 2023-01-02 05:32:46 -08:00
Jonathan Staab
8d2cbb02df Extract urls in person.about 2023-01-02 04:42:31 -08:00
Jonathan Staab
6c7895f94e Add favicon 2023-01-02 04:34:04 -08:00
Jonathan Staab
5fd8055d03 Fix second order follows 2023-01-02 04:08:01 -08:00
Jonathan Staab
aa11ca213c Remove didLoad from scroller 2023-01-01 07:41:43 -08:00
Jonathan Staab
767954a975 Add support for bech32 keys 2023-01-01 07:38:53 -08:00
Jonathan Staab
9dc679a944 Add mentions when composing a note or reply, tweak some feed timings 2022-12-31 21:05:32 -08:00
Jonathan Staab
d0d3844ac2 Add relative timestamp format function 2022-12-30 13:40:48 -08:00
Jonathan Staab
b6f7fcfa26 Bump up alerts delta a bit 2022-12-30 13:31:09 -08:00
Jonathan Staab
3097b9e7e8 Batch load context on feeds. This makes loading faster, and provides more context 2022-12-30 13:29:06 -08:00
Jonathan Staab
3d095e83ef Reverse reply sort order, move more replies button to top of replies 2022-12-27 15:55:02 -08:00
Jonathan Staab
fb3426e80e Remembering note order breaks adding notes at the top, instead sort by max created_at in thread 2022-12-27 15:40:31 -08:00
Jonathan Staab
207f8093a3 Improve auto scrolling behavior by keeping notes order intact 2022-12-27 15:33:14 -08:00
Jonathan Staab
d0041009a5 Only render some people on search 2022-12-27 10:11:45 -08:00
Jonathan Staab
20bd89a90a Fix reactivity of notes in feeds by using livequery 2022-12-26 14:47:06 -08:00
Jonathan Staab
2748fad2cc Clean up alerts page 2022-12-26 14:00:11 -08:00
Jonathan Staab
7b7fb2cdcb Fix reactions 2022-12-26 13:36:58 -08:00
Jonathan Staab
6993ec594f Fix deletion of old events, be pretty aggressive 2022-12-26 13:11:48 -08:00
Jonathan Staab
94dc7b9195 Fix fallthrough on user badge click on alerts page 2022-12-26 13:10:05 -08:00
Jonathan Staab
7a3338eeaa Switch from cache-first to cache-last by always attempting to retrieve messages from the network with an aggressive timeout. 2022-12-26 13:00:34 -08:00
Jonathan Staab
de3f75b2a3 Improve query speed when loading from dexie by sorting first 2022-12-24 13:50:18 -08:00
Jonathan Staab
92d823f5b2 Fix like popover 2022-12-23 16:57:33 -08:00
Jonathan Staab
4a47ea2dc9 Add changelog, wait for only some relays to eose 2022-12-23 16:36:17 -08:00
Jonathan Staab
fd3f8ec4f6 Fix alerts 2022-12-23 16:02:01 -08:00
Jonathan Staab
30270d331c Finishing touches 2022-12-23 15:25:51 -08:00
Jonathan Staab
46d2a52e67 Re introduce muffle 2022-12-23 14:49:03 -08:00
Jonathan Staab
43906205f4 Show image previews 2022-12-23 14:23:56 -08:00
Jonathan Staab
75ccc747ec Clean up relays page 2022-12-23 14:07:29 -08:00
Jonathan Staab
a3ae2e9940 Fix search 2022-12-23 13:58:21 -08:00
Jonathan Staab
f5aae29582 Only send message when enter is pressed with ctrl/cmd 2022-12-23 13:38:31 -08:00
Jonathan Staab
34db1df405 dispatch -> cmd 2022-12-23 13:32:31 -08:00
Jonathan Staab
a7a41a659c Fix alerts 2022-12-23 11:59:40 -08:00
Jonathan Staab
7ed121f560 Fix scrolling bug, figure out pattern for listen/load 2022-12-22 06:01:43 -08:00
Jonathan Staab
bc7591bb8c Start breaking out tabs into separate components 2022-12-20 14:56:03 -08:00
Jonathan Staab
831ef12ab5 Working on loading 2022-12-20 14:56:03 -08:00
Jonathan Staab
f2d1b0c951 Reworking network stuff again 2022-12-20 14:56:03 -08:00
Jonathan Staab
4ec8178660 Fix findNote 2022-12-20 14:56:03 -08:00
Jonathan Staab
78a85be7e5 Fix all major bugs 2022-12-20 14:56:03 -08:00
Jonathan Staab
d23742d33e Wait only for one eose 2022-12-20 14:56:03 -08:00
Jonathan Staab
302cbf557f Polish scrolling on global notes 2022-12-20 14:56:03 -08:00
Jonathan Staab
1d4b4a73d8 Rename user > person 2022-12-20 14:56:03 -08:00
Jonathan Staab
447c112d21 Working on scrolling stuff 2022-12-20 14:56:03 -08:00
Jonathan Staab
eaf2e45e46 Remove chat 2022-12-20 14:56:03 -08:00
Jonathan Staab
1e0b09594b Some refactoring of data sync stuff 2022-12-20 14:56:03 -08:00
Jonathan Staab
e4b67d914d Add sync 2022-12-20 14:56:03 -08:00
Jonathan Staab
03ce671814 Move stuff to views 2022-12-20 14:56:03 -08:00
Jonathan Staab
f4a706e12b Move pool out of worker 2022-12-20 14:56:03 -08:00
Jonathan Staab
9f6601cbdc Get main notes stuff working 2022-12-20 14:56:03 -08:00
Jonathan Staab
0bfe584bab refactor everything with dexie 2022-12-20 14:56:03 -08:00
Jonathan Staab
a77f5c0edc Fix mention parsing 2022-12-20 14:56:03 -08:00
Jonathan Staab
6281dcd26e Fix alerts 2022-12-20 14:56:03 -08:00
Jonathan Staab
200a9ae153 Render mentions in notes 2022-12-20 14:56:03 -08:00
Jonathan Staab
8e80a32b0d Move some stuff around 2022-12-20 14:56:03 -08:00
Jonathan Staab
7eb8caf0b1 Add alerts page 2022-12-20 14:56:03 -08:00
Jonathan Staab
06ebe73f88 Add alerts 2022-12-20 14:56:03 -08:00
Jonathan Staab
dd4bdb9090 Fix duplicate keys 2022-12-20 14:56:03 -08:00
Jonathan Staab
8038db26c6 Tweak cursor again 2022-12-20 14:56:03 -08:00
Jonathan Staab
11790b186c Reduce size of cursor chunks 2022-12-20 14:56:03 -08:00
Jonathan Staab
5147e69293 Uniquify children in annotate 2022-12-20 14:56:03 -08:00
Jonathan Staab
db64678e98 Filter out string relays 2022-12-20 14:56:03 -08:00
Jonathan Staab
6358d190c4 Fix toast and relays 2022-12-20 14:56:01 -08:00
Jonathan Staab
1c003b9b8c Add some default relays 2022-12-20 14:55:46 -08:00
Jonathan Staab
1650c51521 Add some default relays 2022-12-20 14:55:29 -08:00
Jonathan Staab
171487790e Shorten global feed to 1 minute 2022-12-19 08:20:43 -08:00
Jonathan Staab
3313c6aab7 Fix user edit button 2022-12-14 10:35:47 -08:00
Jonathan Staab
5776db96d0 Fix user detail tabs 2022-12-13 22:01:26 -08:00
Jonathan Staab
193582cc84 Merge branch 'master' of github.com:staab/coracle 2022-12-13 21:21:17 -08:00
Jonathan Staab
28204845d0 Improve thread view 2022-12-13 21:21:00 -08:00
Jonathan Staab
a40588d6a0 Fix modal hashing 2022-12-13 19:36:54 -08:00
Jonathan Staab
8648db3da3 Add new thread view 2022-12-11 11:26:04 -08:00
Jonathan Staab
fe25170bcf Put modal state in hash to support multi-layer navigation 2022-12-10 11:13:58 -08:00
w3irdrobot
3e1ce1489c
Trim relay input before matching it against regex 2022-12-08 13:20:20 -05:00
Jonathan Staab
65c8f63721 Add likes/network tabs 2022-12-08 09:48:44 -08:00
Jonathan Staab
70ca44226c Generalize notes/tabs 2022-12-07 22:27:07 -08:00
Jonathan Staab
16884eeb99 Apply muffle to listeners too 2022-12-07 13:04:19 -08:00
Jonathan Staab
88776d9fa1 Clean up public key login 2022-12-06 22:23:03 -08:00
Jon Staab
801641f900
Merge branch 'master' into nip07 2022-12-06 22:06:17 -08:00
Jonathan Staab
43bfe14c4a Linkify preview 2022-12-06 22:03:28 -08:00
Jonathan Staab
aeade5b2b4 Show user badge even if we have no user data 2022-12-06 22:00:05 -08:00
Jonathan Staab
8d033ea6a4 Clean up previews 2022-12-06 21:55:08 -08:00
Jonathan Staab
849181f795 Add compatibility for user object 2022-12-05 21:50:26 -08:00
Jonathan Staab
2c1f529524 Hijack back button when opening modals to prevent unwanted navigation 2022-12-05 21:35:33 -08:00
Jonathan Staab
0ac06272b3 Implement muffle 2022-12-05 21:12:11 -08:00
Jonathan Staab
22e1578869 Add follow 2022-12-05 10:06:07 -08:00
Jonathan Staab
28c5b5bb71 Make sure user has to save settings 2022-12-03 12:58:08 -08:00
Jonathan Staab
8fe9f2125f Make dufflepud configurable 2022-12-03 12:56:39 -08:00
Jonathan Staab
6c7ebd2b1c Add link previews 2022-12-03 12:26:13 -08:00
Jonathan Staab
e87c6d6a03 Pin joined relays at top of list 2022-12-02 05:03:16 -08:00
Jonathan Staab
b7195dc37f Scale rather than fly reply box 2022-12-02 04:55:39 -08:00
Jonathan Staab
16d1f8adc7 Split state for searching people and notes 2022-12-02 04:53:54 -08:00
Jonathan Staab
794beda618 Clean up scroller a bit 2022-12-02 04:33:21 -08:00
Jonathan Staab
f5b5e851f7 Add search page 2022-12-01 10:39:58 -08:00
Jonathan Staab
4b59484cb7 Add spinner component 2022-11-30 21:14:06 -08:00
Jonathan Staab
ddcb5ac0a3 Make scroller stoppable 2022-11-30 21:13:55 -08:00
Jonathan Staab
7015ed136c Add some loading icons 2022-11-30 20:47:53 -08:00
Jonathan Staab
e5a4f86474 Improve chat 2022-11-30 12:39:11 -08:00
Jonathan Staab
995904a2b2 Split cursor and scroller up 2022-11-30 10:53:12 -08:00
Jonathan Staab
ee04e2987a Get everything working again 2022-11-30 10:26:58 -08:00
Jonathan Staab
46062a721e Nail down sub/unsub with modal 2022-11-30 09:12:28 -08:00
Jonathan Staab
159306be67 Working on suspending/resuming 2022-11-30 07:52:14 -08:00
Jonathan Staab
3c60add04f Split notesCursor into notesLoader and notesListener 2022-11-30 06:57:04 -08:00
Jonathan Staab
bdc359441c Fix background scrolling 2022-11-30 06:18:35 -08:00
Jonathan Staab
f36ee418eb Improve channel management and chunked retrieval of events 2022-11-29 10:21:51 -08:00
Jonathan Staab
74addf6676 Clean up relays list a tad 2022-11-28 13:31:12 -08:00
54f8ecb2fd
NIP-07 (window.nostr) support. 2022-11-27 12:45:05 -03:00
Jonathan Staab
756924c1bb Small chat fixes 2022-11-26 22:10:13 -08:00
Jonathan Staab
e6b0cc78fd Load account during initial setup 2022-11-26 21:38:25 -08:00
Jonathan Staab
97b8e080ec Fix chat layout 2022-11-26 19:51:12 -08:00
Jonathan Staab
766a1055de Add support for custom relay urls 2022-11-26 19:34:35 -08:00
Jonathan Staab
7612db163e Fix note detail scrolling 2022-11-26 17:10:08 -08:00
Jonathan Staab
7fbbfb13e8 Linkify notes and messages 2022-11-26 17:01:32 -08:00
Jonathan Staab
4f313a3617 Clean up logout and chat 2022-11-26 16:42:06 -08:00
Jonathan Staab
98313091d1 Suspend subscriptions while modal is open 2022-11-26 16:24:45 -08:00
Jonathan Staab
0e8d0815c4 Batch ensureAccounts, make getter and subscriptions more distinct 2022-11-26 15:53:26 -08:00
Jonathan Staab
395b34554f Add some limits on subscriptions 2022-11-26 10:43:35 -08:00
Jonathan Staab
4cf0945305 Rename /user to /users 2022-11-26 09:31:34 -08:00
Jonathan Staab
b4edf0d5b2 Add threads 2022-11-26 09:26:05 -08:00
Jonathan Staab
acf7af1eff Designate certain channels for certain uses 2022-11-25 22:26:04 -08:00
Jonathan Staab
1fda020029 Implement reactions 2022-11-25 21:53:12 -08:00
Jonathan Staab
fef1aa6ce3 Add modal for note detail 2022-11-25 08:54:38 -08:00
Jonathan Staab
9a929ce78d Work on note layout a big 2022-11-24 21:35:29 -08:00
Jonathan Staab
b40515b133 Add keys page 2022-11-24 20:14:51 -08:00
Jonathan Staab
20f8d52c78 Add basic notes 2022-11-24 13:12:24 -08:00
Jonathan Staab
586b7853ac Add chat 2022-11-24 12:36:14 -08:00
Jonathan Staab
c2eee552b4 Things are basically working, profile update done 2022-11-23 19:54:22 -08:00
Jonathan Staab
2b48a59c85 First commit 2022-11-22 17:28:33 -08:00