Commit Graph

315 Commits

Author SHA1 Message Date
Jeremy Kahn
b9b452167b feat(sdk): improve embedding instructions 2023-10-28 17:49:58 -05:00
Jeremy Kahn
19f13093e8
docs(readme): add snyk badge 2023-10-28 16:49:56 -05:00
Jeremy Kahn
2ed5c2320b chore(deps): run npm audit fix 2023-10-28 11:47:23 -05:00
Jeremy Kahn
f6a3e30da2
feat(sdk): Implement Chitchatter SDK (#183)
* feat(sdk): render iframe in chat-room component
* fix(ci): install optional dependencies
* feat(sdk): allow subset of attributes
* feat(sdk): accept root-domain attribute
* feat(sdk): accept custom room name or use sane default
* feat(sdk): set allowed features
* feat(sdk): add sdk instructions to embed code dialog
* fix(sdk): use dynamic rootUrl
* fix(sdk): use static defaultRoot
* feat(sdk): send config from SDK to chat
* fix(sdk): expire poller
* fix(sdk): pass parent domain to iframe via query param
* refactor(sdk): type message event data
* feat(sdk): send user id to chat frame
* feat(sdk): handle some attribute updates
* chore(package): add build:sdk:watch script
* refactor(sdk): move more code to updateIframeAttributes
* feat(sdk): support changing rooms
* feat(sdk): support more user settings
* docs(sdk): add SDK section to README
* feat(sdk): render root-url in embed code if necessary
* refactor(sdk): use map for chat room attributes
* fix(sdk): unbind event listener when chat-room is disconnected
* fix(sdk): properly tear down receipt listener
* fix(sdk): send config when frame reloads
* feat(sdk): listen for config updates
* feat(sdk): request config from sdk instead of sending it repeatedly
* refactor(sdk): use type guard for config message
* fix(sdk): use settings from SDK when there is no preexisting persisted data
* fix(sdk): observe all iframe attributes
* refactor(sdk): simplify bootup logic
* feat(sdk): improve embed code display
2023-10-28 11:42:58 -05:00
dependabot[bot]
c911f68552
chore(deps): bump browserify-sign from 4.2.1 to 4.2.2 (#186)
Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign) from 4.2.1 to 4.2.2.
- [Changelog](https://github.com/browserify/browserify-sign/blob/main/CHANGELOG.md)
- [Commits](https://github.com/crypto-browserify/browserify-sign/compare/v4.2.1...v4.2.2)

---
updated-dependencies:
- dependency-name: browserify-sign
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-28 09:40:59 -05:00
Jeremy Kahn
0d47fe7937 chore(deps): use trystero@0.13.1 2023-10-24 09:12:45 -05:00
Jeremy Kahn
3d7c428798 chore: add FUNDING.yml 2023-10-22 11:39:41 -05:00
dependabot[bot]
43c092a231
chore(deps): bump @babel/traverse from 7.20.12 to 7.23.2 (#181)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.20.12 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-18 20:55:43 -05:00
Jeremy Kahn
deef9db654 chore(package): add bundle analysis to build 2023-10-12 21:12:29 -05:00
Jeremy Kahn
44cbfa2005 feat(shell): improve chitchatter link styling 2023-10-12 20:48:57 -05:00
Jeremy Kahn
6ab7a3e8d9 feat(shell): show chitchatter link in embedded environments 2023-10-12 10:02:52 -05:00
Jeremy Kahn
92c04d2872 fix(shell): remove extraneous Divider 2023-10-12 09:54:16 -05:00
Jeremy Kahn
37ed65df9a refactor(shell): de-DRY DrawerHeader 2023-10-12 09:52:38 -05:00
Jeremy Kahn
257737c65c refactor(shell): move more logic to PeerListHeader 2023-10-12 09:18:16 -05:00
Jeremy Kahn
dfd4131959 refactor(shell): move MuiDrawer out of PeerList 2023-10-12 09:03:38 -05:00
Jeremy Kahn
c170edb692
feat(ui): Add copy button for code (#178)
* feat(ui): stand up CopyableBlock component
* feat(ui): implement clipboard writing
* feat(ui): make code blocks copyable
* refactor(imports): use SyntaxHighlighter directly
* feat(ui): make copy button slightly transparent
* feat(ui): tweak copy alert text
2023-10-11 21:18:28 -05:00
Jeremy Kahn
ff988d9da5 feat(syntax-hightlighting): lazy load language files 2023-10-11 09:47:11 -05:00
Jeremy Kahn
d3630e082e chore(package): add analyze script 2023-10-11 07:42:13 -05:00
Jeremy Kahn
b82e339f86 refactor(imports): use default MUI component imports 2023-10-10 09:51:01 -05:00
Jeremy Kahn
1370b9d197 feat(embed): enable fullscreen 2023-10-09 09:42:12 -05:00
Jeremy Kahn
0911c29729 refactor(EmbedCodeDialog): don't use markdown renderer 2023-10-08 16:58:29 -05:00
Jeremy Kahn
7a7ddf80fc refactor(home): move EmbedCodeDialog to its own file 2023-10-08 16:54:49 -05:00
Jeremy Kahn
cbd0da50f6 fix(embed): [#92] improve embedded display on wider screens 2023-10-08 13:51:49 -05:00
Jeremy Kahn
7acf267558
feat(embed): [closes #92] Embed support (#177)
* feat(embed): [#92] hide unnecessary UI when embedded
* feat(embed): [#92] provide embed code
2023-10-08 13:19:46 -05:00
dependabot[bot]
1b43b4aa00
chore(deps-dev): bump postcss from 8.4.16 to 8.4.31 (#172)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.16 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.16...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-05 17:04:06 -05:00
Jeremy Kahn
055060310e docs(readme): add note about custom development 2023-10-03 09:53:32 -05:00
Jeremy Kahn
0e2da32c25
fix(routing): [closes #168] Construct redirect URL correctly (#170)
* docs(readme): add note about syncing forks
* fix(routing): use correct pathSegmentsToKeep
2023-09-30 10:36:27 -05:00
Jeremy Kahn
667c0b666f docs(readme): add note about using latest version 2023-09-28 21:09:26 -05:00
Jeremy Kahn
f150915170
fix(routing): [for #168] set router basename (#169) 2023-09-28 20:57:49 -05:00
bharat
3fe80f58fd
feat(media): [closes #165] Hide media control selectors when not in use (#166) 2023-09-16 10:04:58 -05:00
Jeremy Kahn
29a20a930e
feat(media): [closes #157] Improve media button styling (#164) 2023-09-12 09:35:32 -05:00
Jeremy Kahn
d06bbcf0f4
feat(shell): [closes #155] Handle unsupported environments (#161)
* feat(shell): [#155] show error in unsupported environment
* feat(shell): [#155] show details about unsupported environment
2023-09-07 09:28:29 -05:00
dependabot[bot]
d988620a00
chore(deps): bump @adobe/css-tools from 4.0.1 to 4.3.1 (#152)
Bumps [@adobe/css-tools](https://github.com/adobe/css-tools) from 4.0.1 to 4.3.1.
- [Changelog](https://github.com/adobe/css-tools/blob/main/History.md)
- [Commits](https://github.com/adobe/css-tools/commits)

---
updated-dependencies:
- dependency-name: "@adobe/css-tools"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-29 20:46:21 -05:00
Jeremy Kahn
6529a0b4a7 docs(readme): add note from developer 2023-08-24 09:31:51 -05:00
Jeremy Kahn
6b942c1025 feat(connectivity): increase trackerRedundancy to 4 2023-08-21 20:53:03 -05:00
dependabot[bot]
7c18abe6de
chore(deps): bump protobufjs from 6.11.3 to 6.11.4 (#151)
Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 6.11.3 to 6.11.4.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/protobufjs/protobuf.js/commits)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 10:54:37 -05:00
dependabot[bot]
28c5db5479
chore(deps): bump minimatch and recursive-readdir (#149)
Bumps [minimatch](https://github.com/isaacs/minimatch) and [recursive-readdir](https://github.com/jergason/recursive-readdir). These dependencies needed to be updated together.

Updates `minimatch` from 3.0.4 to 3.1.2
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

Updates `recursive-readdir` from 2.2.2 to 2.2.3
- [Changelog](https://github.com/jergason/recursive-readdir/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jergason/recursive-readdir/commits/v2.2.3)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
- dependency-name: recursive-readdir
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-13 11:28:21 -05:00
dependabot[bot]
65b907d8e0
chore(deps): bump webpack from 5.74.0 to 5.88.2 (#148)
Bumps [webpack](https://github.com/webpack/webpack) from 5.74.0 to 5.88.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.74.0...v5.88.2)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-13 11:25:56 -05:00
dependabot[bot]
e660fb6017
chore(deps): bump loader-utils from 2.0.2 to 2.0.4 (#147)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.2 to 2.0.4.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.4/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.2...v2.0.4)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-13 11:24:10 -05:00
dependabot[bot]
d4ce9e5890
chore(deps): bump json5 from 1.0.1 to 1.0.2 (#146)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-13 11:23:08 -05:00
dependabot[bot]
1bc52472a2
chore(deps): bump word-wrap from 1.2.3 to 1.2.5 (#145)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-13 11:22:18 -05:00
dependabot[bot]
7bb4392384
chore(deps): bump semver from 6.3.0 to 6.3.1 (#144)
Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v6.3.1)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-13 11:10:35 -05:00
dependabot[bot]
6cc76a56f2
chore(deps): bump tough-cookie from 4.0.0 to 4.1.3 (#143)
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.0.0 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.0.0...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-13 11:09:14 -05:00
Jeremy Kahn
f283db824d fix(deploy): install with npm ci 2023-08-07 21:12:28 -05:00
Jeremy Kahn
5f7b8b2ffc fix(typing-indicator): send typing status to peers upon joining 2023-07-28 10:07:17 -05:00
Jeremy Kahn
3413f37d8c feat(typing-indicator): add setting to disable typing indicator 2023-07-28 09:50:03 -05:00
Jeremy Kahn
e597a667a1
feat(chat): [closes #13] Active typing indicators (#133)
* feat(typing-indicator): wire up handleMessageChange
* feat(typing-indicator): send typing: true status
* feat(typing-indicator): expire typing state
* feat(typing-indicator): update typing state received from peers
* refactor(shell): add updatePeer utility
* feat(typing-indicator): display peer typing status
* feat(typing-indicator): reset typing status when a message is sent
* feat(typing-indicator): move indicator below message form
* feat(typing-indicator): keep status text to one line
2023-07-27 21:06:35 -05:00
Jeremy Kahn
af4cba8449 Revert "chore(actions): add update-main.yml"
This reverts commit dd2931b917.
2023-07-25 09:49:00 -05:00
Jeremy Kahn
dd2931b917 chore(actions): add update-main.yml 2023-07-25 09:45:20 -05:00
Jeremy Kahn
c4e7e7d13b
fix(file-upload): [closes #122] prevent file picker from getting stuck (#131) 2023-07-25 09:42:53 -05:00