Commit Graph

136 Commits

Author SHA1 Message Date
Michael Peters
afd2939fa1 fetch messages before/after based on order
This way, if the reference message was deleted at some point, the fetch request can still go through.
Also it's easier to run the queries directly on an order id/text anyway
2022-01-23 17:23:43 -06:00
Michael Peters
b97db81fa2 Jump messages to bottom when current user sent the message 2022-01-23 16:39:14 -06:00
Michael Peters
ce9b17535b merge ends and elements in scrolling subscription 2022-01-23 15:12:42 -06:00
Michael Peters
7e703f84fd don't add to the bottom if there is nothing at the bottom 2022-01-23 10:45:33 -06:00
Michael Peters
a7866df1ff remove unused useMemo 2022-01-22 20:19:15 -06:00
Michael Peters
62c209a6fe don't call onFetch when the fetch function returns null 2022-01-22 19:34:29 -06:00
Michael Peters
9a5e5d822e improve guild subscriptions by linking guild with the fetched result 2022-01-22 19:09:15 -06:00
Michael Peters
e35187b877 Fixed glaring bugs when switching between guilds 2022-01-20 19:54:36 -06:00
Michael Peters
fa10c8a7a9 added the guild that the fetch value was fetched from alongside fetch values in guild subscriptions 2022-01-13 23:17:15 -06:00
Michael Peters
a1bd951812 fix not refreshing when re-connecting, cancel load commands when changing guilds 2022-01-13 22:34:38 -06:00
Michael Peters
228352bedb support for unverifying during cache update 2022-01-13 20:31:18 -06:00
Michael Peters
0bb0e79939 allow specification of "not updated" to allow re-fetch
Fixes tokens not getting re-fetched.
2022-01-02 23:05:21 -06:00
Michael Peters
6c419440d5 Buttons can have hover text 2022-01-01 21:31:22 -06:00
Michael Peters
c289f28bb3 fix preview extension 2021-12-30 23:30:21 -06:00
Michael Peters
155681da04 get rid of extraneous document reference 2021-12-30 21:34:23 -06:00
Michael Peters
1e437c33ae move GuildSubscriptions to just function exports 2021-12-30 21:33:15 -06:00
Michael Peters
6fe1016047 Convert ReactHelper to just export functions 2021-12-30 21:28:30 -06:00
Michael Peters
7acb245c76 fix font size flickering bug 2021-12-30 21:16:32 -06:00
Michael Peters
ca7c683526 missed one of the context menus 2021-12-30 21:06:32 -06:00
Michael Peters
e8ca0d0ed4 right click context menu custom effect 2021-12-30 21:04:14 -06:00
Michael Peters
640b671568 escape closes context menus 2021-12-30 20:40:45 -06:00
Michael Peters
59f4829fa9 moved q to archive
It's been fun while it lasted!
2021-12-30 20:35:56 -06:00
Michael Peters
b9da8c73c6 Move scss to its own directory structure rather than inline with components 2021-12-30 19:34:18 -06:00
Michael Peters
46aade557d COR-192 Don't set status if it's the same 2021-12-30 18:19:22 -06:00
Michael Peters
80bb3b0581 Fix COR-166 Add guild background is too dark 2021-12-30 18:10:23 -06:00
Michael Peters
090c77209c Fix COR-191 2021-12-30 18:03:45 -06:00
Michael Peters
c90641a14c pure react overlays 2021-12-29 23:53:04 -06:00
Michael Peters
4909998144 react root node 2021-12-29 23:01:40 -06:00
Michael Peters
0d36daacca guilds-manager element
Almost to the root node!
2021-12-29 21:16:19 -06:00
Michael Peters
9410fe3829 guild list context menu
(disconnect button)
2021-12-29 19:46:53 -06:00
Michael Peters
22c258bafd react guild list 2021-12-29 18:50:03 -06:00
Michael Peters
7136fbfb0b minor bugs in new guild stuff 2021-12-27 22:40:58 -06:00
Michael Peters
579050e867 remove unused old guild root element 2021-12-27 22:28:50 -06:00
Michael Peters
3620c758fd guild root element 2021-12-27 21:55:33 -06:00
Michael Peters
71baabab46 paste an image 2021-12-27 21:13:55 -06:00
Michael Peters
dea18a9a9c remove old upload overlays 2021-12-27 21:08:13 -06:00
Michael Peters
15c92c2eac drop target for send message component 2021-12-27 21:02:02 -06:00
Michael Peters
f39c3f0a51 remove non-react send message pieces 2021-12-26 22:09:55 -06:00
Michael Peters
ccba0f1057 react text-based send message input 2021-12-26 17:23:24 -06:00
Michael Peters
26139af512 react hover indicators
implemented in channel list element
2021-12-26 14:25:59 -06:00
Michael Peters
f7433c23be split off context-menu into sub-functional component 2021-12-26 13:41:17 -06:00
Michael Peters
6f26181b43 react text channel list 2021-12-25 22:10:32 -06:00
Michael Peters
2f526c8ecc hanging changes 2021-12-25 21:06:56 -06:00
Michael Peters
916c3b2f24 message list image context menu 2021-12-25 19:21:15 -06:00
Michael Peters
54536c1b03 useContextMenu hook 2021-12-25 19:04:55 -06:00
Michael Peters
2bae6c72cd image overlay context menu
Also did a refactor on how overlays decide to close
2021-12-25 18:35:57 -06:00
Michael Peters
7fde5e70cf react guild title 2021-12-25 12:58:20 -06:00
Michael Peters
80c2a352da connection info and context menus 2021-12-25 12:00:20 -06:00
Michael Peters
a47804d980 React channel title 2021-12-24 18:49:50 -06:00
Michael Peters
6f715ccc87 last few messages things 2021-12-24 18:30:43 -06:00
Michael Peters
16054af1f8 remove old message handling code 2021-12-24 18:29:11 -06:00
Michael Peters
49f3a7096a infinite scroll messages! 2021-12-24 17:37:27 -06:00
Michael Peters
69c239ebc9 Now display a react message list! 2021-12-22 00:54:03 -06:00
Michael Peters
971b4c4d79 remove old members stuff 2021-12-20 23:24:05 -06:00
Michael Peters
3c14ecb6ec AsyncButtonSubscription Improvements 2021-12-16 20:12:52 -06:00
Michael Peters
b5f22212d9 async button subscription, overlay channel consolidation 2021-12-16 19:25:55 -06:00
Michael Peters
965de83433 move scss for overlays 2021-12-13 19:00:04 -06:00
Michael Peters
97bb08c255 autofix unused imports 2021-12-13 18:29:20 -06:00
Michael Peters
7820853def different token sort order, support null expirey time 2021-12-13 02:39:40 -06:00
Michael Peters
84d0a0e542 create invite token dialog 2021-12-13 02:29:06 -06:00
Michael Peters
d875a8f8fb fixed subscriptions re-requesting because of re-created fetch functions 2021-12-13 01:32:29 -06:00
Michael Peters
1c1d3209bf tokens subscription 2021-12-12 23:25:23 -06:00
Michael Peters
2a79af8a0e more specific about single vs multiple subscriptions 2021-12-12 22:34:29 -06:00
Michael Peters
2ef1af3eff useSubscription techniques for react 2021-12-12 22:01:30 -06:00
Michael Peters
b20943213c intermediate commit 2021-12-12 15:01:43 -06:00
Michael Peters
4b9052a3c5 partial invites display commit
added control options, fetchable metadata effect, and more
2021-12-11 14:50:41 -06:00
Michael Peters
b8c8c45f7b react helper to load resource and buffer-based things in useEffect 2021-12-11 12:56:59 -06:00
Michael Peters
4c81488187 Reactify modify channel 2021-12-10 01:45:17 -06:00
Michael Peters
78093316ea reactify create-channel overlay
also add refs
2021-12-10 01:23:11 -06:00
Michael Peters
8e4a195464 fixed img having invisible extra stuff below from non-display: block 2021-12-09 01:17:51 -06:00
Michael Peters
7fb4809a5e reactify personalize overlay 2021-12-09 01:13:11 -06:00
Michael Peters
711c2d1b75 remove references to error message non-react overlay 2021-12-09 00:16:14 -06:00
Michael Peters
a6bde60b1d reactify error message 2021-12-09 00:15:07 -06:00
Michael Peters
f87fdeff3c finish reactify add guild overlay 2021-12-08 23:55:05 -06:00
Michael Peters
f57ef4848f reactify add guild overlay 2021-12-08 23:31:09 -06:00
Michael Peters
392a8cf4bc reactify guild overview display and guild settings overlay 2021-12-07 23:52:32 -06:00
Michael Peters
c12873d929 add react image overlay to other message type 2021-12-07 19:26:51 -06:00
Michael Peters
72b8ad6281 add context menu to popup image 2021-12-06 23:19:37 -06:00
Michael Peters
82546300cc react-based image popup 2021-12-06 23:06:59 -06:00
Michael Peters
6b17f569bb jsx is for professionals 2021-12-05 23:52:10 -06:00
Michael Peters
6979c450e6 further through .tsx conversion 2021-12-05 22:24:16 -06:00
Michael Peters
01da06b57b starting move to .tsx for elements 2021-12-05 21:01:17 -06:00
Michael Peters
bbee168041 modify guild full-window overlay 2021-12-05 19:42:14 -06:00
Michael Peters
d214059227 remove unneeded .eslintignore 2021-12-04 09:51:02 -06:00
Michael Peters
9f53b4640a added a linter
archived files are probably not needed but kept around in case as a reference
2021-12-04 09:49:47 -06:00
Michael Peters
3c6f94bd93 move source code to ./src and added preliminary linter support 2021-12-04 08:59:30 -06:00