Commit Graph

225 Commits

Author SHA1 Message Date
Michael Peters
3aa0866aa3 I assume these are fixes and potentially debugging changes 2022-06-25 10:18:31 -05:00
Michael Peters
79d9d246f5 intermediate commit (finally getting back to this) 2022-05-01 12:49:59 -05:00
Michael Peters
609947b350 overlay fixes, tokens fix 2022-02-13 14:27:33 -06:00
Michael Peters
e0d0b2a9df make useAction...ClickedOutside use an array of elements to click outside 2022-02-13 10:42:03 -06:00
Michael Peters
a6231610a7 fix send-message input 2022-02-13 10:16:11 -06:00
Michael Peters
b2b849695b fix drop target 2022-02-13 00:53:36 -06:00
Michael Peters
3849d6b447 fix member flicker (use recoil-cached image src) 2022-02-12 17:55:11 -06:00
Michael Peters
80620a1b62 fix isNextDay code. (it was supposed to be checking for "different" day) 2022-02-12 16:11:33 -06:00
Michael Peters
2b3470ce36 fix fetch above not actually loading stuff on retry 2022-02-12 15:47:30 -06:00
Michael Peters
aa79034d7e styled error messages. bug where clicking to fetch above (and I assume below too) doesn't actually run anything 2022-02-12 13:23:10 -06:00
Michael Peters
73e81f0bc9 message date spacer 2022-02-10 17:36:16 -06:00
Michael Peters
43814a0b6e fix eslint error 2022-02-08 23:00:04 -06:00
Michael Peters
4f2ee4fbd7 verify before fetching with socket 2022-02-08 22:57:49 -06:00
Michael Peters
33f880f4b1 jump to bottom 2022-02-08 22:43:56 -06:00
Michael Peters
515738ae41 select first guild by default 2022-02-08 22:03:52 -06:00
Michael Peters
c1e669f697 prettier apply 2022-02-08 18:05:45 -06:00
Michael Peters
dd3e2824df add prettier 2022-02-08 17:46:52 -06:00
Michael Peters
ac5733a02b eslint complete! 2022-02-07 01:18:31 -06:00
Michael Peters
aa420a1bf2 message hook 2022-02-07 01:17:12 -06:00
Michael Peters
f9ef4edf9f fixed react-helper hooks
slight performance hit but we can work on optimizing that later
(most noticable that the avatars flicker to loading when changing channels. although this may have already been happening...)
2022-02-07 01:15:32 -06:00
Michael Peters
e002b7092c most react hooks updated 2022-02-07 01:09:38 -06:00
Michael Peters
434bc6bfe5 preparing for hooks linting 2022-02-07 00:57:28 -06:00
Michael Peters
eab1dfca03 eslint config complete 2022-02-07 00:42:42 -06:00
Michael Peters
afd02757d9 ALMOST DONE WITH ESLINT BASE CONFIG 2022-02-07 00:25:06 -06:00
Michael Peters
09b24a6e19 most syntax checks in. going through personal formatting options 2022-02-06 23:19:01 -06:00
Michael Peters
12519e5f0b more linting. still more to come! 2022-02-06 21:54:48 -06:00
Michael Peters
a112da96db updates to linter (more to come soon) 2022-02-06 21:14:19 -06:00
Michael Peters
ddd15972aa archive old guild-subscriptions stuff 2022-02-06 19:24:25 -06:00
Michael Peters
fb0981e92b infinite scroll with recoil works! 2022-02-06 19:16:04 -06:00
Michael Peters
00c99cefc8 fix spelling 2022-02-06 18:52:58 -06:00
Michael Peters
75d585880f more infinite scroll functionality. preparing to use recoil infinite scroll element 2022-02-06 18:48:52 -06:00
Michael Peters
0b4c5356a9 rename atoms-2.ts to atoms.ts 2022-02-06 17:29:45 -06:00
Michael Peters
eac2c42e53 split up atoms-2 helper functions into different file 2022-02-06 17:22:49 -06:00
Michael Peters
df832f7294 working state - channel messages being prepared 2022-02-06 15:23:02 -06:00
Michael Peters
601a5bd3d6 refactor listeners in atoms 2022-02-05 14:38:16 -06:00
Michael Peters
dfd50c7e20 preparing for channel messages 2022-02-05 11:05:31 -06:00
Michael Peters
54ad823ebe function-scoping functions for less globalism in atoms-2 2022-02-05 09:01:50 -06:00
Michael Peters
6da480c36e recoilize resources 2022-02-04 00:40:28 -06:00
Michael Peters
0c1c900724 guildResourceState and preparing for soft img src state too 2022-02-04 00:11:15 -06:00
Michael Peters
5b708f2a94 improved single/multiple guild subscription effect - use the { node } destructed vaglue from the effect parameter 2022-02-03 23:08:02 -06:00
Michael Peters
09390fad8f fixed bug with verification
Fixes problem with guildMeta not updating from the server
Fixes problem with unknown member for "second" guild

The pairVerifier was getting unverified due to the socket connecting
*after* the fetch request was sent. Unfortunately, this unverification
happened *before* the fetch request was resolved. Fixed by re-fetching
the trusted promise after unverification. For a perfect solution in the
future, we should remove the re-fetch. This could be done by canceling
socket-guild fetches if the socket isn't connected yet.
2022-02-03 18:06:26 -06:00
Michael Peters
222feb1de1 RECOIL IS SUPREME! 2022-02-02 23:05:38 -06:00
Michael Peters
7ceceecbb1 No more exporeted useMembersSubscription 2022-01-29 17:07:24 -06:00
Michael Peters
0609aa687c recoilize members 2022-01-29 17:05:12 -06:00
Michael Peters
245637bed6 Use Recoil State for Guild Metadata 2022-01-27 21:46:40 -06:00
Michael Peters
e0814f1096 Guild list in Recoil!
I'm liking it already. Quite a bit nicer than passing state all over the place.
2022-01-27 00:40:29 -06:00
Michael Peters
4f2d272d00 beginnings of react-recoil
Starting off with Recoilizing setOverlay

Also set up the atom structure
2022-01-26 19:57:29 -06:00
Michael Peters
a0f25158d3 add a touch more documentation in the code 2022-01-25 19:03:47 -06:00
Michael Peters
9ca2a22881 archive print-new-key-pair.ts 2022-01-25 18:05:01 -06:00
Michael Peters
59856ca197 don't require connection to view guild 2022-01-24 00:10:58 -06:00