Commit Graph

433 Commits

Author SHA1 Message Date
Jeremy Kahn
2a09eddb7d fix: remove double "has" from alert messages 2022-08-31 10:09:49 -05:00
Jeremy Kahn
6bc8bf8b88 feat: show alerts when someone joins or leaves the room 2022-08-31 09:55:57 -05:00
Jeremy Kahn
70ac4f34da feat: use relay servers when necessary 2022-08-30 09:38:14 -05:00
Jeremy Kahn
cfc9881b9d feat: prevent page overflows 2022-08-29 22:20:04 -05:00
Jeremy Kahn
caaa59d014 feat: show number of peers in the room 2022-08-29 22:05:56 -05:00
Jeremy Kahn
c0b6d4c543 feat: support deeplinks in production 2022-08-29 20:40:07 -05:00
Jeremy Kahn
2e30f53b39 chore: use local tracker for development 2022-08-29 19:21:14 -05:00
Jeremy Kahn
39d8129957 fix: don't crash when the room changes 2022-08-28 21:57:18 -05:00
Jeremy Kahn
71ecc37d89 feat: render top bar 2022-08-28 21:25:49 -05:00
Jeremy Kahn
73daf3ddb3 feat: use full dark theme 2022-08-28 18:32:34 -05:00
Jeremy Kahn
ac4b7d6d70 feat: support code syntax highlighting 2022-08-28 18:19:14 -05:00
Jeremy Kahn
d939e16ee6 feat: scroll to bottom of transcript when number of messages change 2022-08-28 16:55:53 -05:00
Jeremy Kahn
a6a5c90a73 feat: improve message display 2022-08-28 11:45:26 -05:00
Jeremy Kahn
707e090f8b refactor: use Box instead of div 2022-08-27 21:48:22 -05:00
Jeremy Kahn
dd82d9e1eb feat: render message author 2022-08-27 21:38:08 -05:00
Jeremy Kahn
d90469e06f feat: render messages as markdown 2022-08-27 21:25:38 -05:00
Jeremy Kahn
cd3f1b0fd7 feat: allow multiline messages with shift+enter 2022-08-27 19:40:51 -05:00
Jeremy Kahn
7e107e8290 feat: improve sending UI layout 2022-08-27 19:06:54 -05:00
Jeremy Kahn
fd9998fc2c feat: improve layout of room 2022-08-26 09:39:01 -05:00
Jeremy Kahn
4584e0f42f refactor: render Message component 2022-08-23 21:46:07 -05:00
Jeremy Kahn
254ebf2580 refactor: get roomId from props 2022-08-23 21:15:58 -05:00
Jeremy Kahn
0d28df82c2 feat: show animation when message is successfully sent 2022-08-22 21:57:45 -05:00
Jeremy Kahn
3be1f2e88a feat: improve message styling 2022-08-21 10:44:01 -05:00
Jeremy Kahn
6fb021e6c4 feat: style messages 2022-08-21 10:32:54 -05:00
Jeremy Kahn
499a0ef193 feat: show full message transcript 2022-08-20 22:23:43 -05:00
Jeremy Kahn
d4bc49f096 refactor: allow for full trystero configuration 2022-08-20 17:14:50 -05:00
Jeremy Kahn
b8f8bb5bfd feat: persist userId 2022-08-20 16:52:47 -05:00
Jeremy Kahn
74f11dae2a feat: assign userId 2022-08-20 14:20:51 -05:00
Jeremy Kahn
09d039d806 feat: assign ids to messages 2022-08-19 09:42:14 -05:00
Jeremy Kahn
5aa46ebb41 test: validate that message is sent 2022-08-18 22:14:56 -05:00
Jeremy Kahn
3bbe8b1430 test: validate message sending UX 2022-08-18 21:36:13 -05:00
Jeremy Kahn
6ffcd20429 test: validate Room availability 2022-08-18 21:10:16 -05:00
Jeremy Kahn
85c4f24bd6 feat: display received messages 2022-08-18 09:14:13 -05:00
Jeremy Kahn
be160cf29b refactor: use sx prop for styling instead of tailwind 2022-08-17 09:32:18 -05:00
Jeremy Kahn
126456eced feat: add message sending UI 2022-08-17 09:28:22 -05:00
Jeremy Kahn
96f2991209 refactor: simplify Room loading 2022-08-17 09:10:36 -05:00
Jeremy Kahn
7cb7e5fdd5 fix: prevent rerenders from breaking room connection 2022-08-16 21:57:39 -05:00
Jeremy Kahn
9cc26895de refactor: add usePeerRoomAction hook 2022-08-16 09:40:01 -05:00
Jeremy Kahn
40b0b7047e refactor: use absolute module paths 2022-08-16 09:21:33 -05:00
Jeremy Kahn
a4472d6982 feat: prevent clients from other domains from joining the room 2022-08-15 21:47:45 -05:00
Jeremy Kahn
b9e9ae398e fix: prevent Room re-renders from throwing an error 2022-08-15 21:38:56 -05:00
Jeremy Kahn
7948b51cc8 refactor: remove joinRoom method 2022-08-14 21:49:14 -05:00
Jeremy Kahn
33b25e204d feat: send a message to peers 2022-08-14 21:26:50 -05:00
Jeremy Kahn
9c3e96a804 feat: define makeAction 2022-08-14 17:49:31 -05:00
Jeremy Kahn
2ec8c52f7c refactor: configure PeerRoom via constructor 2022-08-14 17:29:24 -05:00
Jeremy Kahn
4eb1d05b92 feat: genericize makeAction 2022-08-14 17:23:05 -05:00
Jeremy Kahn
638587f5a3 chore: define RoomConfig type 2022-08-14 17:20:33 -05:00
Jeremy Kahn
a86e2d6592 refactor: use Room type 2022-08-14 13:21:34 -05:00
Jeremy Kahn
56751f4c23 chore: define trystero types 2022-08-14 13:21:16 -05:00
Jeremy Kahn
53c4415112 refactor: create usePeerRoom hook 2022-08-14 10:10:05 -05:00