Commit Graph

79 Commits

Author SHA1 Message Date
Pavel 94a02ba6d6
Add more components, message actions & reactions (#339)
* hide sidebar on small screen

* add reply component

* add radix dependencies

* add dropdown menu component

* add popover component

* add tooltip component

* add react button component

* add reaction popover

* update chat message actions

* add basic dialog and sheet components

* add ref to Button component

* add chat message reactions

* add reply and reactions to chat message

* remove console.log

* add dropdown menu to topbar

* add ref and support aria in IconButton

* yarn.lock

* add stylesheet reset to storybook

* add pinned state to message

* remove extraneous component

* add all button variants

* fix button icons

* use IconButton in actions

* remove erroneous character

* add reply to composer + simplify

* use correct button in reply
2023-02-14 17:36:38 +01:00
marcelines 1757f62b34
Add blur and IconButton variants (#340)
* feat: add blurview to topbar and composer with scroll position

* fix: icon button component and adds scrolls var position for the top bar

* fix: changes from review
2023-02-10 17:25:13 +01:00
marcelines a1c559b6ae
EAS integration & Improvements & fixes (#334)
* fix: issues with build after debugging expo app

* feat: updates icons app and increases build version

* fix: react-native-svg resolution

* feat: multiple fixes and top bar implementation

* fix: sidebar members animation

Co-authored-by: marcelines <marcio@significa.co>
2023-01-24 14:41:25 +01:00
Pavel Prichodko 249bb4ef07
simplify and fix IconButton 2023-01-23 15:35:09 +01:00
Pavel Prichodko 5b30b2d0ab
add storybook-dark-mode addon 2023-01-23 14:42:42 +01:00
Pavel Prichodko 37f6335f8b
pin storybook version 2023-01-23 14:03:38 +01:00
Pavel Prichodko 0ee3634392
replace rm with rimraf 2023-01-20 15:27:05 +01:00
marcelines 33eef5c2aa
Add mobile navigation & Composer (#333)
* feat: add composer component

* feat: complete composer component and few minor fixes

* feat: add several improvements and new features

* fix: change icon button in composer
2023-01-20 15:06:26 +01:00
marcelines f197ae31cf
Add cross-platform sidebar (#331)
* feat: add icon example and solve some types

* fix: add accordion and emojis

* fix: fixes animation issues and adds overall minor improvements

* fix: more fixes and new emoji

* fix: id from channel
2023-01-18 14:15:51 +01:00
Pavel Prichodko 25ae7dd638
upgrade to tamagui@1.0.15 and pin the version 2023-01-16 16:15:09 +01:00
Pavel Prichodko 006e2f4169
yarn.lock changed? 2023-01-16 15:51:32 +01:00
Pavel Prichodko e63b6dbda7
move some deps to devDeps 2023-01-16 15:48:39 +01:00
Pavel Prichodko 9d20e45f6f
upgrade tamagui to v1.0.8 2023-01-16 15:48:23 +01:00
marcelines f44abac4b0
feat: add expo to monorepo (#328) 2023-01-11 14:38:47 +01:00
Pavel Prichodko f0778ecb92
add next and vite apps 2023-01-10 12:25:26 +01:00
Felicio Mununga 824875062f
update yarn.lock 2022-11-17 18:48:35 +01:00
Felicio Mununga fc0e2305e8
Install `js-waku@^0.30.0` 2022-11-14 23:06:34 +01:00
Pavel 0f9a1754ce
Add Next.js and Vite examples (#290)
* rename community to with-parcel

* add with-next example

* update example names and unify configs

* add vite example

* use new JSX transform in examples

* disable necessary eslint rules for examples

* add next output to prettierignore

* add remix example

* update engines in package.json

* remove readme from with-next example

* update vite example

* update with-next example

* remove with-remix example
2022-10-10 15:26:44 -05:00
Pavel 190011d97e
Fetch history (#292) 2022-10-07 21:30:22 +02:00
Felicio Mununga ca0d508f7f
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
Felicio Mununga 05b7306a25
Move global/base styles and remove `styled-components` (#314) 2022-10-05 16:29:36 +02:00
Felicio Mununga a951c8e95c
Install `js-waku@^0.25.0` (#307)
* install `js-waku@^0.24.0`

* install `js-waku@^0.25.0`

* resolve some breaking changes

* add timeout

* upgrade `eslint-import-resolver-typescript`

* add `process.env.VITEST` condition

* increase timeout

* fixup

* ignore `emitSelf`

* replace `parcel` with `vite`

* update `.gitignore`

* change `dev` npm script

* fix favicon href

* load `.env` files

* remove 'alias"

* add `preview`

* upgrade vite

* set `target`s in `vite.config.ts`

* upgrade `@vitejs/plugin-react`

* remove comment

* Update package.json

* Update vite.config.ts
2022-09-16 16:27:47 +02:00
Felicio Mununga 9b90209ab2
add release workflow (#293)
* add release workflow

* add @changesets/cli

* add `title` and `commit`
2022-07-06 15:05:33 +02:00
Pavel 6fc6410b32
Setup GitHub Actions (#287)
* add new GitHub Action for CI

* add yarn flag

* use actions v3

* add ci badge (lol)

* cache lint and format scripts

* add more steps

* remove unused component

* fix lint errors

* remove unsued eslint plugins
2022-06-29 16:46:51 +02:00
Pavel Prichodko afd5b1c6c3
update parcel in example to latest 2022-06-28 16:59:27 +02:00
Pavel 81153a3d98
Move to ESM, Vite, Vitest and Turborepo (#286)
* fix example hot module replacement

* add turbo

* migrate to vite

* use turbo for running scripts

* migrate testing to vitest

* set yarn in settings.json

* set noEmit in base tsconfig

* update yarn.lock

* move protos to src

* remove relative paths from status-js

* remove unused files

* update declaration dir

* use vite-node as a debugging runtime

* fix test

* unify tests

* fix test case typo
2022-06-28 16:40:39 +02:00
Felicio Mununga 6d30b8ac25
Fix key and topic generation, and remove dependencies (#285)
* update yarn.lock

* remove modules

* move client

* move account

* revert chat_identity.ts

* fix key gen

* fix topic gen

* fix non-null assertion

* fix build errors
2022-06-24 17:39:09 +02:00
Pavel Prichodko d99dc4f692
upgrade stitches 2022-06-09 14:48:54 +02:00
Pavel Prichodko 62bd4650a3
add idToContentTopic 2022-06-04 13:09:49 +02:00
Pavel Prichodko fd0dde5cd5
add ethereum-cryptography package 2022-06-02 12:10:53 +02:00
Felicio Mununga 9227a83810
fix test after rebase 2022-06-01 07:39:47 +02:00
Felicio Mununga 84749cee74
remove mocha 2022-06-01 06:56:10 +02:00
Felicio Mununga 12b5ae1953
add jest 2022-05-30 16:04:25 +02:00
Felicio Mununga cda9b90f35
add .parcelrc 2022-05-30 00:49:26 +02:00
Felicio Mununga a623bec029
remove js-waku from status-react 2022-05-25 14:42:01 +02:00
Pavel b73831fa44
Use protons to generate TypeScript files (#269)
* feat(status-js): sync protos with status-go

* feat(status-js): set up protons

* feat(status-js): use protons to generate protos

* fix(status-js): remove buf configuration
2022-05-24 12:12:33 +02:00
Pavel Prichodko ec506f9d59
chore: yarn.lock 2022-05-23 14:46:08 +02:00
Pavel 8ca305c0bc
Bump to js-waku@0.23.0 (#263) 2022-05-19 15:37:46 +02:00
Pavel 18586bd9e1
Use react-router-dom for routing (#246)
* feat(react): move chat and new-chat to routes

* feat(react): setup react router

* feat(react): use links in sidebar

* feat(react): add link to IconButton component

* feat(react): add router to config
2022-03-31 15:34:32 +02:00
Pavel 020df678b9
Add Design System (#238)
* feat(examples): add full height and remove wrapping div

* Remove Channel component in favour of options

* feat(react): add hook for keyboard shortcuts

* setup: sort only react related packages at the top

* Add radix-ui packages

* feat(system): add stitches config file

* feat(system): add Image primitive

* feat(system): add Avatar component

* feat(system): add Box primitive

* feat(system): add Flex primitive

* feat(system): add Grid primitive

* feat(system): add Tooltip component

* feat(system): add Icon primitive

* feat(system): add Button component

* feat(system): add IconButton component

* feat(system): add EthAddress component

* fix(system): pass down button props

* feat(system): add option to hide Icon from screen readers

* feat(system): add Heading component

* feat(system): add Text component

* feat(system): add TextInput component

* feat(system): add Dialog component

* feat(system): add VisuallyHidden primitive

* feat(system): add Menu primitive

* feat(system): add DropdownMenu component

* feat(system): add ContextMenu component

* refactor(system): Icon component prop name

* feat(system): add AlertDialog component

* feat(system): update Avatar default background color
2022-03-15 13:47:17 +01:00
Pavel 8bde2a6fc5
Upgrade js-waku to 0.18.0 (#232)
* Bump js-waku to 0.18.0

* Update nodes init function
2022-02-28 13:40:33 +01:00
Pavel Prichodko dd038ef595
Add Node.js builtins to examples 2022-02-25 16:35:28 +01:00
Pavel 62411717d6
Add pre-commit git hooks (#229) 2022-02-24 23:27:22 +01:00
Pavel 9b3d437736
Improve ESLint monorepo configuration (#228)
* Unify ESLint configuration

* Add .eslintignore file

* Add Node and Jest ESLint plugins

* Fix linting issues

* Sort imports and type imports
2022-02-24 22:58:50 +01:00
Pavel 55793bf04f
Use Parcel for building of packages (#227)
* Use Parcel for building packages

* Make package exports explicit

* Fix missing dependencies
2022-02-24 16:44:09 +01:00
Pavel 040be085f4
Improve TypeScript monorepo configuration (#226)
* Unify TypeScript configuration

* Fix package.json target fields
2022-02-23 16:16:42 +01:00
Pavel 4fb78c3f96
Improve Prettier monorepo configuration (#225)
* Add prettier configuration files

* Move prettier command to monorepo root

* Format all files
2022-02-23 15:49:00 +01:00
Pavel 3334108bdd
Move examples and migrate to Parcel (#224)
* Remove old examples

* Add Community and Channel examples
2022-02-23 15:32:08 +01:00
Pavel de6837b0f5
Update packages to @status-im (#223)
* Downgrade to yarn v1

* Rename status-communities to status-core

* Rename chat-sdk to status-react

* Rename packages in examples

* Update readme

* Remove changelog

* Add extensions recommendations

* Update gitignore

* Rename package imports
2022-02-23 15:03:14 +01:00
Szymon Szlachtowicz f531ccc0f7
Bump js-waku version to 0.16.0 (#217) 2022-02-04 10:01:49 +01:00