Waku Connect Chat SDK to easily add a decentralized, censorship-resistant chat feature to your dApp, powered by Waku v2 and Status Communities.
Go to file
Felicio Mununga 36322d5a41
Add Activity Center (#312)
* add activityCenter.ts

* use activityCenter.ts

* add "Launch via Vite Node"

* remove comments

* add comments

* type hook

* reverse order of notifications

* remove `activityCenter` from `provider.tsx`

* set `count`'s default value

* ref `ChatMessage` by id instead of object reference

* Revert "ref `ChatMessage` by id instead of object reference"

This reverts commit 1284386d22.

* add badge `totalCount`

* add `@radix-ui/react-tabs`

* skip non-mentions

* update comments

* add `member` to `ChatMessage`

* add `MarkAllAsReadIcon`

* add `40` avatar variant

* add `initialsCount` to `Avatar`

* add `TinyReplyIcon`

* use `Popover`

* move components

* move components

* wip

* ignore clicks on tags themselves

* add root route

* use chat display name

* fix icons

* use `asChild` for tabs

* remove `vertical`

* use `value` and `onValueChange`

* use active state with `compoundVariants`

* use `&[data-state]...` instead of `compoundVarinats` and `active` prop

* fixup `chatDisplayName`

* postion badge

* prevent dragging of the whole page in either direction

* add tooltips

* change message's background on hover

* change navigation style

* add `category` to `removeNotifications`

* prevent deleting of messages that are not mentions or replies from activity center

* show members sidebar by default

* fix members layout

* add comment

* add `date-fns`

* add date separator

* comment

* move `Badge` to `/system`

* move `Tag` to `/system`

* comment `Text`

* replace `Link` for `useNavigate`

* move `Activity` to `/system`

* comment

* export `Notification`

* update fixtures in `activityCenter`

* remove fixtures

* movet `Tabs` to `/system`

* update `mapChatMessage`

* update `.eslintignore`

* resolve typecheck errors

* update `.prettierignore`

* resolve formatting error

* upgrade tooltip

* use `scrollIntoView`

* remove comments

* rename `close` to `onNavigateChange`

* revert scrolling changes in `/member-sidebar`

* rename members label from `Online` to `All`

* rename `initialsCount` and use union

* rename `MarkAllAsReadIcon`

* rename `selected`

* fix typo

* revert formatting

* close `Avatar`

* use `css` where possible without changing elements

* extract props types to interfaces

* rename `ActivityCenter`

* remove `overflow`

* replace `style` for not yet stitched elements

* revert global style changes
2022-10-07 20:02:17 +02:00
.changeset Use built-in PBKDF2 implementation for browsers (#295) 2022-07-19 17:45:29 +02:00
.github/workflows add release workflow (#293) 2022-07-06 15:05:33 +02:00
.husky Add pre-commit git hooks (#229) 2022-02-24 23:27:22 +01:00
.vscode Update launch.json 2022-09-19 10:47:33 +02:00
examples/community Install `js-waku@^0.25.0` (#307) 2022-09-16 16:27:47 +02:00
packages Add Activity Center (#312) 2022-10-07 20:02:17 +02:00
.editorconfig Add editorconfig 2022-02-25 14:56:28 +01:00
.eslintignore Add Activity Center (#312) 2022-10-07 20:02:17 +02:00
.eslintrc Setup GitHub Actions (#287) 2022-06-29 16:46:51 +02:00
.gitignore Install `js-waku@^0.25.0` (#307) 2022-09-16 16:27:47 +02:00
.prettierignore Add Activity Center (#312) 2022-10-07 20:02:17 +02:00
.prettierrc Improve Prettier monorepo configuration (#225) 2022-02-23 15:49:00 +01:00
LICENSE-APACHE-v2 Update packages to @status-im (#223) 2022-02-23 15:03:14 +01:00
LICENSE-MIT Update packages to @status-im (#223) 2022-02-23 15:03:14 +01:00
README.md Setup GitHub Actions (#287) 2022-06-29 16:46:51 +02:00
package.json Install `js-waku@^0.25.0` (#307) 2022-09-16 16:27:47 +02:00
tsconfig.base.json Move to ESM, Vite, Vitest and Turborepo (#286) 2022-06-28 16:40:39 +02:00
turbo.json Setup GitHub Actions (#287) 2022-06-29 16:46:51 +02:00
yarn.lock Add Activity Center (#312) 2022-10-07 20:02:17 +02:00

README.md

Status Communities for the Web

CI