Skip to content

Commit

Permalink
Add wallets create group comp (#906)
Browse files Browse the repository at this point in the history
* fix: Read me fixes

* fix: Space rules

* Update README.md

* Update README.md

* ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.32

* ci(restapi): 🎉 cut release to restapi-v1.4.10

* Feat/chat components (#658)

* feat: created architechture

* fix: added context values (#594)

* Chat dataprovider (#596)

* feat: data provider for chat component

* fix: replaced react.usestate to usestate

* fix: added props as the initial state and changed state name

* fix: reverted chat context changes and renamed values

* fix: added test page for chat ui components (#597)

* added chatbubble component (#602)

* feat: added chatbubble component

* fix: made the messageBubble's width to fit-content

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* fix: added theme

* Group chat bubble (#604)

* feat: moved test component to testui folder & replaced dummy data with sdk response

* feat: added twitter card and address for group chat received msg

* feat: made the messageaddress reusable, added account from context

* fix: removed unnecessary div and unused props and console logs

* feat: adding pfp in text bubbles

* fix: replaced hook with function and added pfp to messagebubble

* fix: fixed image alignment

* fix: changed border-radius of msg bubble and changed function name

* fix: fixed theme and decryptedPrivateKey name (#616)

* fix: fixed theme and decryptedPrivateKey name

* fix: fixed bug

* fix: fixed theme reviews

* Message list (#615)

* fix: message list comp

* fix: message list comp

* fix: added pagination

* fix: added pagination

* fix: pagination

* fix: create useChatData hook

* fix: fixed minor bug

* fix: socket issues fixed

* fix: added theme in msgbubble (#620)

* fix: added theme in msgbubble

* fix: fixed import

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* fix: exported the theme (#623)

* fix: exported the theme

* fix: fixed issues

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* Typebar component (#631)

* feat: added typebar UI

* feat: added functions to typebar

* fix: added icon

* fix: fixed theme issues

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* feat: added connectbutton

* fix: fixed connectbtn ui and remove disconnect and fixed error on disconnect

* fix: fixed create account getting called twice

* Profile Header Component (#636)

* feat: profile header

* feat: update profile header

* fix: update hooks

* fix: video icon ui

* feat: add group modal

* fix: add modal info

* fix: edit components

* fix: commit modal theme

* fix: updating UI

* fix: ensname

* fix: add notifs

* fix: remove alerts

* fix: remove alert logs

* fix: push fixes

* fix: conflicts

* Message container (#635)

* fix: added theme in msgbubble

* fix: fixed import

* fix: fixed message-list

* fix: added approve intent

* fix: added fixes

* fix: fixed socket bug

* fix: fixed message from socket

* fix: fixed minor issues

* fix: fixed typebar theming

* fix: fixed env issue

* fix: fixed message not updating issue

* refactor: added isConnected prop in msgContainer

* refactor: resolve merge conflicts

* fix: fixed request sending

* fix: fixed decryption

* fix: fixed env issue

* feat: added profile header in message container

---------

Co-authored-by: KlausMikhaelson <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

* fix: updated svg to react component

* fix: changed svg to tsx component

* fix: fixed review changes (#646)

* fix: fixed review changes

* fix: resolved issues

---------

Co-authored-by: Nilesh Gupta <[email protected]>

* Profile Header -> Chat Profile fixes (#647)

* feat: profile header

* feat: update profile header

* fix: update hooks

* fix: video icon ui

* feat: add group modal

* fix: add modal info

* fix: edit components

* fix: commit modal theme

* fix: updating UI

* fix: ensname

* fix: add notifs

* fix: remove alerts

* fix: remove alert logs

* fix: push fixes

* fix: conflicts

* fix: notifs

* fix: correct theme colors

* fix: renaming profileHeader

* fix: qa fixes

* fix: loader

* refactor: resolved issues

* fix: edit types

---------

Co-authored-by: Nilesh Gupta <[email protected]>

* fix: resolved package not added issue

* Fix: modal issue in group info && alert remove members (#653)

* fix: modal

* fix: update changes

* refactor: resolved issue

---------

Co-authored-by: Nilesh Gupta <[email protected]>

* fix: QA fixes (#654)

---------

Co-authored-by: Monalisha Mishra <[email protected]>
Co-authored-by: Monalisha Mishra <[email protected]>
Co-authored-by: Satyam <[email protected]>
Co-authored-by: KlausMikhaelson <[email protected]>
Co-authored-by: Kolade <[email protected]>

* ci(restapi): 🎉 cut release to restapi-v1.4.11

* ci(restapi): 🎉 cut release to restapi-v1.4.12

* ci(uiweb): 🎉 cut release to uiweb-v1.1.11

* ci(restapi): 🎉 cut release to restapi-v1.4.13

* fix: update read me file

* ci(restapi): 🎉 cut release to restapi-v1.4.14

* ci(restapi): 🎉 cut release to restapi-v1.4.15

* ci(uiweb): 🎉 cut release to uiweb-v1.1.12

* Feat/chat components (#679)

* feat: created architechture

* fix: added context values (#594)

* Chat dataprovider (#596)

* feat: data provider for chat component

* fix: replaced react.usestate to usestate

* fix: added props as the initial state and changed state name

* fix: reverted chat context changes and renamed values

* fix: added test page for chat ui components (#597)

* added chatbubble component (#602)

* feat: added chatbubble component

* fix: made the messageBubble's width to fit-content

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* fix: added theme

* Group chat bubble (#604)

* feat: moved test component to testui folder & replaced dummy data with sdk response

* feat: added twitter card and address for group chat received msg

* feat: made the messageaddress reusable, added account from context

* fix: removed unnecessary div and unused props and console logs

* feat: adding pfp in text bubbles

* fix: replaced hook with function and added pfp to messagebubble

* fix: fixed image alignment

* fix: changed border-radius of msg bubble and changed function name

* fix: fixed theme and decryptedPrivateKey name (#616)

* fix: fixed theme and decryptedPrivateKey name

* fix: fixed bug

* fix: fixed theme reviews

* Message list (#615)

* fix: message list comp

* fix: message list comp

* fix: added pagination

* fix: added pagination

* fix: pagination

* fix: create useChatData hook

* fix: fixed minor bug

* fix: socket issues fixed

* fix: added theme in msgbubble (#620)

* fix: added theme in msgbubble

* fix: fixed import

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* fix: exported the theme (#623)

* fix: exported the theme

* fix: fixed issues

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* Typebar component (#631)

* feat: added typebar UI

* feat: added functions to typebar

* fix: added icon

* fix: fixed theme issues

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* feat: added connectbutton

* fix: fixed connectbtn ui and remove disconnect and fixed error on disconnect

* fix: fixed create account getting called twice

* Profile Header Component (#636)

* feat: profile header

* feat: update profile header

* fix: update hooks

* fix: video icon ui

* feat: add group modal

* fix: add modal info

* fix: edit components

* fix: commit modal theme

* fix: updating UI

* fix: ensname

* fix: add notifs

* fix: remove alerts

* fix: remove alert logs

* fix: push fixes

* fix: conflicts

* Message container (#635)

* fix: added theme in msgbubble

* fix: fixed import

* fix: fixed message-list

* fix: added approve intent

* fix: added fixes

* fix: fixed socket bug

* fix: fixed message from socket

* fix: fixed minor issues

* fix: fixed typebar theming

* fix: fixed env issue

* fix: fixed message not updating issue

* refactor: added isConnected prop in msgContainer

* refactor: resolve merge conflicts

* fix: fixed request sending

* fix: fixed decryption

* fix: fixed env issue

* feat: added profile header in message container

---------

Co-authored-by: KlausMikhaelson <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

* fix: updated svg to react component

* fix: changed svg to tsx component

* fix: fixed review changes (#646)

* fix: fixed review changes

* fix: resolved issues

---------

Co-authored-by: Nilesh Gupta <[email protected]>

* Profile Header -> Chat Profile fixes (#647)

* feat: profile header

* feat: update profile header

* fix: update hooks

* fix: video icon ui

* feat: add group modal

* fix: add modal info

* fix: edit components

* fix: commit modal theme

* fix: updating UI

* fix: ensname

* fix: add notifs

* fix: remove alerts

* fix: remove alert logs

* fix: push fixes

* fix: conflicts

* fix: notifs

* fix: correct theme colors

* fix: renaming profileHeader

* fix: qa fixes

* fix: loader

* refactor: resolved issues

* fix: edit types

---------

Co-authored-by: Nilesh Gupta <[email protected]>

* fix: resolved package not added issue

* Fix: modal issue in group info && alert remove members (#653)

* fix: modal

* fix: update changes

* refactor: resolved issue

---------

Co-authored-by: Nilesh Gupta <[email protected]>

* fix: QA fixes (#654)

* Connect btn revamp (#668)

* fix: added theme in msgbubble

* fix: fixed import

* fix: fixed message-list

* fix: added approve intent

* fix: added fixes

* fix: fixed socket bug

* fix: fixed message from socket

* fix: fixed minor issues

* fix: fixed typebar theming

* fix: fixed env issue

* fix: fixed message not updating issue

* refactor: added isConnected prop in msgContainer

* refactor: resolve merge conflicts

* fix: fixed request sending

* fix: fixed decryption

* fix: fixed env issue

* feat: added profile header in message container

* feat: adding rainbowkit for btn

* fix: fix issues

* fix: addec onnect functionality

* fix: connect button

* fix: added hack for rainbowkit css

---------

Co-authored-by: KlausMikhaelson <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

* Typebar UI issue (#666)

* fix: fixed typebar space not working and theme

* fix: fixed gif and emoji

---------

Co-authored-by: KlausMikhaelson <[email protected]>

* fix: fixed theme colours

* fix: added theme for brb

* fix: added filter  hat

* fix: merged with main

* fix: fixed msg border

* fix: fixed theme

* fix: fixed fonts

* fix: fixed bug

* Access control (#672)

* fix: fixed typebar space not working and theme

* feat: created access control UI

* feat: created verify access control hook

* fix: fixed access control hook issue

* feat: added access control verification

* feat: added onclick props for integration team to pass function and fixed btn ui

* fix: added link for learn more

* fix: fixed msg not updating in socket issue

* fix: added minor fix

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* fix: fixed padding issues

* fix(f): fixed build issues

* fix: fix for chat status test

* Check rules access control (#678)

* fix: fixed typebar space not working and theme

* feat: created access control UI

* feat: created verify access control hook

* fix: fixed access control hook issue

* feat: added access control verification

* feat: added onclick props for integration team to pass function and fixed btn ui

* fix: added link for learn more

* fix: fixed msg not updating in socket issue

* 662 group access control v2 changes (#663)

* fix: spaces access API

* fix: custom endpoint doc impl

* Update README.md

* Update README.md

* fix: review comments change

* fix: read me update

* Update README.md

* Update README.md

* fix: origin in user creation (#665)

* fix: origin in user creation

* Update README.md

* fix: review comments

* 662 group access control v2 changes (#677)

* fix: spaces access API

* fix: custom endpoint doc impl

* Update README.md

* Update README.md

* fix: review comments change

* fix: read me update

* Update README.md

* Update README.md

* fix(spaces): broadcast changes and UX fixes (#674)

* fix: fix UI grid view (#642)

* fix: fix UI grid view

* refactor: conditional added

* fix: resolved muting/unmuting try catch error (#657)

* fix(spaces): fix livepeer broadcast (#656)

* fix(spaces): fix livepeer broadcast

* fix(spaces): fix data shown for unjoined space & promote listener logic

---------

Co-authored-by: Madhur Gupta <[email protected]>

* refactor(spaces): use local state instead of get from server while meta message fire (#676)

---------

Co-authored-by: Arnab Chatterjee <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

* feat: added verification option to show only on token gated groups

* fix: fixing group access control

---------

Co-authored-by: Monalisha Mishra <[email protected]>
Co-authored-by: Mohammed S <[email protected]>
Co-authored-by: Madhur Gupta <[email protected]>
Co-authored-by: Arnab Chatterjee <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

* fix: fixed build

---------

Co-authored-by: Satyam <[email protected]>
Co-authored-by: KlausMikhaelson <[email protected]>
Co-authored-by: Kolade <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>
Co-authored-by: Mohammed S <[email protected]>
Co-authored-by: Madhur Gupta <[email protected]>
Co-authored-by: Arnab Chatterjee <[email protected]>

* ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.2

* fix: dummy change

* ci(uiweb): 🎉 cut release to uiweb-v1.1.13

* ci(restapi): 🎉 cut release to restapi-v1.4.16

* Join group option (#681)

* feat: created architechture

* fix: added context values (#594)

* Chat dataprovider (#596)

* feat: data provider for chat component

* fix: replaced react.usestate to usestate

* fix: added props as the initial state and changed state name

* fix: reverted chat context changes and renamed values

* fix: added test page for chat ui components (#597)

* added chatbubble component (#602)

* feat: added chatbubble component

* fix: made the messageBubble's width to fit-content

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* fix: added theme

* Group chat bubble (#604)

* feat: moved test component to testui folder & replaced dummy data with sdk response

* feat: added twitter card and address for group chat received msg

* feat: made the messageaddress reusable, added account from context

* fix: removed unnecessary div and unused props and console logs

* feat: adding pfp in text bubbles

* fix: replaced hook with function and added pfp to messagebubble

* fix: fixed image alignment

* fix: changed border-radius of msg bubble and changed function name

* fix: fixed theme and decryptedPrivateKey name (#616)

* fix: fixed theme and decryptedPrivateKey name

* fix: fixed bug

* fix: fixed theme reviews

* Message list (#615)

* fix: message list comp

* fix: message list comp

* fix: added pagination

* fix: added pagination

* fix: pagination

* fix: create useChatData hook

* fix: fixed minor bug

* fix: socket issues fixed

* fix: added theme in msgbubble (#620)

* fix: added theme in msgbubble

* fix: fixed import

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* fix: exported the theme (#623)

* fix: exported the theme

* fix: fixed issues

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* Typebar component (#631)

* feat: added typebar UI

* feat: added functions to typebar

* fix: added icon

* fix: fixed theme issues

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* feat: added connectbutton

* fix: fixed connectbtn ui and remove disconnect and fixed error on disconnect

* fix: fixed create account getting called twice

* Profile Header Component (#636)

* feat: profile header

* feat: update profile header

* fix: update hooks

* fix: video icon ui

* feat: add group modal

* fix: add modal info

* fix: edit components

* fix: commit modal theme

* fix: updating UI

* fix: ensname

* fix: add notifs

* fix: remove alerts

* fix: remove alert logs

* fix: push fixes

* fix: conflicts

* Message container (#635)

* fix: added theme in msgbubble

* fix: fixed import

* fix: fixed message-list

* fix: added approve intent

* fix: added fixes

* fix: fixed socket bug

* fix: fixed message from socket

* fix: fixed minor issues

* fix: fixed typebar theming

* fix: fixed env issue

* fix: fixed message not updating issue

* refactor: added isConnected prop in msgContainer

* refactor: resolve merge conflicts

* fix: fixed request sending

* fix: fixed decryption

* fix: fixed env issue

* feat: added profile header in message container

---------

Co-authored-by: KlausMikhaelson <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

* fix: updated svg to react component

* fix: changed svg to tsx component

* fix: fixed review changes (#646)

* fix: fixed review changes

* fix: resolved issues

---------

Co-authored-by: Nilesh Gupta <[email protected]>

* Profile Header -> Chat Profile fixes (#647)

* feat: profile header

* feat: update profile header

* fix: update hooks

* fix: video icon ui

* feat: add group modal

* fix: add modal info

* fix: edit components

* fix: commit modal theme

* fix: updating UI

* fix: ensname

* fix: add notifs

* fix: remove alerts

* fix: remove alert logs

* fix: push fixes

* fix: conflicts

* fix: notifs

* fix: correct theme colors

* fix: renaming profileHeader

* fix: qa fixes

* fix: loader

* refactor: resolved issues

* fix: edit types

---------

Co-authored-by: Nilesh Gupta <[email protected]>

* fix: resolved package not added issue

* Fix: modal issue in group info && alert remove members (#653)

* fix: modal

* fix: update changes

* refactor: resolved issue

---------

Co-authored-by: Nilesh Gupta <[email protected]>

* fix: QA fixes (#654)

* fix: fixed typebar space not working and theme

* feat: created access control UI

* feat: created verify access control hook

* Connect btn revamp (#668)

* fix: added theme in msgbubble

* fix: fixed import

* fix: fixed message-list

* fix: added approve intent

* fix: added fixes

* fix: fixed socket bug

* fix: fixed message from socket

* fix: fixed minor issues

* fix: fixed typebar theming

* fix: fixed env issue

* fix: fixed message not updating issue

* refactor: added isConnected prop in msgContainer

* refactor: resolve merge conflicts

* fix: fixed request sending

* fix: fixed decryption

* fix: fixed env issue

* feat: added profile header in message container

* feat: adding rainbowkit for btn

* fix: fix issues

* fix: addec onnect functionality

* fix: connect button

* fix: added hack for rainbowkit css

---------

Co-authored-by: KlausMikhaelson <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

* Typebar UI issue (#666)

* fix: fixed typebar space not working and theme

* fix: fixed gif and emoji

---------

Co-authored-by: KlausMikhaelson <[email protected]>

* fix: fixed theme colours

* fix: added theme for brb

* fix: fixed access control hook issue

* feat: added access control verification

* feat: added onclick props for integration team to pass function and fixed btn ui

* fix: added link for learn more

* fix: fixed msg not updating in socket issue

* fix: added filter  hat

* fix: merged with main

* fix: fixed msg border

* fix: fixed theme

* fix: fixed fonts

* fix: fixed bug

* Access control (#672)

* fix: fixed typebar space not working and theme

* feat: created access control UI

* feat: created verify access control hook

* fix: fixed access control hook issue

* feat: added access control verification

* feat: added onclick props for integration team to pass function and fixed btn ui

* fix: added link for learn more

* fix: fixed msg not updating in socket issue

* fix: added minor fix

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* fix: fixed padding issues

* fix(f): fixed build issues

* fix: fix for chat status test

* feat: added verification option to show only on token gated groups

* fix: fixing group access control

* Check rules access control (#678)

* fix: fixed typebar space not working and theme

* feat: created access control UI

* feat: created verify access control hook

* fix: fixed access control hook issue

* feat: added access control verification

* feat: added onclick props for integration team to pass function and fixed btn ui

* fix: added link for learn more

* fix: fixed msg not updating in socket issue

* 662 group access control v2 changes (#663)

* fix: spaces access API

* fix: custom endpoint doc impl

* Update README.md

* Update README.md

* fix: review comments change

* fix: read me update

* Update README.md

* Update README.md

* fix: origin in user creation (#665)

* fix: origin in user creation

* Update README.md

* fix: review comments

* 662 group access control v2 changes (#677)

* fix: spaces access API

* fix: custom endpoint doc impl

* Update README.md

* Update README.md

* fix: review comments change

* fix: read me update

* Update README.md

* Update README.md

* fix(spaces): broadcast changes and UX fixes (#674)

* fix: fix UI grid view (#642)

* fix: fix UI grid view

* refactor: conditional added

* fix: resolved muting/unmuting try catch error (#657)

* fix(spaces): fix livepeer broadcast (#656)

* fix(spaces): fix livepeer broadcast

* fix(spaces): fix data shown for unjoined space & promote listener logic

---------

Co-authored-by: Madhur Gupta <[email protected]>

* refactor(spaces): use local state instead of get from server while meta message fire (#676)

---------

Co-authored-by: Arnab Chatterjee <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

* feat: added verification option to show only on token gated groups

* fix: fixing group access control

---------

Co-authored-by: Monalisha Mishra <[email protected]>
Co-authored-by: Mohammed S <[email protected]>
Co-authored-by: Madhur Gupta <[email protected]>
Co-authored-by: Arnab Chatterjee <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

* fix: fixed build

* feat: added send request to join group

* fix: fixed verification on send

* fix: fixed verify access btn not showing after joining group

* fix: fixed join group showing for members too

* fix: fixed join group showing to members

* 667 chat.send enhancement (#673)

* fix: changes messageObj for meta and reaction message type

* fix: enhance send fn

* fix: fixed intent issues

* 680 group rules cosmetic changes (#682)

* fix: fixed guild condition

* fix: add did validation

* fix: fixed

* fix: fixed minor issues

* fix: fixe dissue

* fix: fixed minor issues

* fix: check for scroll

* fix: fixed scrolling

* fix: fixed theme

* fix: fixed

* fix: fixed

* fix: fixed

* fix: fixed issues

* fix: fixed

* feat: added toast in join group btn for pvt groups

* fix: fixed blurr

---------

Co-authored-by: Monalisha Mishra <[email protected]>
Co-authored-by: Monalisha Mishra <[email protected]>
Co-authored-by: Kolade <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>
Co-authored-by: Mohammed S <[email protected]>
Co-authored-by: Madhur Gupta <[email protected]>
Co-authored-by: Arnab Chatterjee <[email protected]>
Co-authored-by: Aman Gupta <[email protected]>

* ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.3

* Join group option (#687)

* feat: created architechture

* fix: added context values (#594)

* Chat dataprovider (#596)

* feat: data provider for chat component

* fix: replaced react.usestate to usestate

* fix: added props as the initial state and changed state name

* fix: reverted chat context changes and renamed values

* fix: added test page for chat ui components (#597)

* added chatbubble component (#602)

* feat: added chatbubble component

* fix: made the messageBubble's width to fit-content

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* fix: added theme

* Group chat bubble (#604)

* feat: moved test component to testui folder & replaced dummy data with sdk response

* feat: added twitter card and address for group chat received msg

* feat: made the messageaddress reusable, added account from context

* fix: removed unnecessary div and unused props and console logs

* feat: adding pfp in text bubbles

* fix: replaced hook with function and added pfp to messagebubble

* fix: fixed image alignment

* fix: changed border-radius of msg bubble and changed function name

* fix: fixed theme and decryptedPrivateKey name (#616)

* fix: fixed theme and decryptedPrivateKey name

* fix: fixed bug

* fix: fixed theme reviews

* Message list (#615)

* fix: message list comp

* fix: message list comp

* fix: added pagination

* fix: added pagination

* fix: pagination

* fix: create useChatData hook

* fix: fixed minor bug

* fix: socket issues fixed

* fix: added theme in msgbubble (#620)

* fix: added theme in msgbubble

* fix: fixed import

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* fix: exported the theme (#623)

* fix: exported the theme

* fix: fixed issues

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* Typebar component (#631)

* feat: added typebar UI

* feat: added functions to typebar

* fix: added icon

* fix: fixed theme issues

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* feat: added connectbutton

* fix: fixed connectbtn ui and remove disconnect and fixed error on disconnect

* fix: fixed create account getting called twice

* Profile Header Component (#636)

* feat: profile header

* feat: update profile header

* fix: update hooks

* fix: video icon ui

* feat: add group modal

* fix: add modal info

* fix: edit components

* fix: commit modal theme

* fix: updating UI

* fix: ensname

* fix: add notifs

* fix: remove alerts

* fix: remove alert logs

* fix: push fixes

* fix: conflicts

* Message container (#635)

* fix: added theme in msgbubble

* fix: fixed import

* fix: fixed message-list

* fix: added approve intent

* fix: added fixes

* fix: fixed socket bug

* fix: fixed message from socket

* fix: fixed minor issues

* fix: fixed typebar theming

* fix: fixed env issue

* fix: fixed message not updating issue

* refactor: added isConnected prop in msgContainer

* refactor: resolve merge conflicts

* fix: fixed request sending

* fix: fixed decryption

* fix: fixed env issue

* feat: added profile header in message container

---------

Co-authored-by: KlausMikhaelson <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

* fix: updated svg to react component

* fix: changed svg to tsx component

* fix: fixed review changes (#646)

* fix: fixed review changes

* fix: resolved issues

---------

Co-authored-by: Nilesh Gupta <[email protected]>

* Profile Header -> Chat Profile fixes (#647)

* feat: profile header

* feat: update profile header

* fix: update hooks

* fix: video icon ui

* feat: add group modal

* fix: add modal info

* fix: edit components

* fix: commit modal theme

* fix: updating UI

* fix: ensname

* fix: add notifs

* fix: remove alerts

* fix: remove alert logs

* fix: push fixes

* fix: conflicts

* fix: notifs

* fix: correct theme colors

* fix: renaming profileHeader

* fix: qa fixes

* fix: loader

* refactor: resolved issues

* fix: edit types

---------

Co-authored-by: Nilesh Gupta <[email protected]>

* fix: resolved package not added issue

* Fix: modal issue in group info && alert remove members (#653)

* fix: modal

* fix: update changes

* refactor: resolved issue

---------

Co-authored-by: Nilesh Gupta <[email protected]>

* fix: QA fixes (#654)

* fix: fixed typebar space not working and theme

* feat: created access control UI

* feat: created verify access control hook

* Connect btn revamp (#668)

* fix: added theme in msgbubble

* fix: fixed import

* fix: fixed message-list

* fix: added approve intent

* fix: added fixes

* fix: fixed socket bug

* fix: fixed message from socket

* fix: fixed minor issues

* fix: fixed typebar theming

* fix: fixed env issue

* fix: fixed message not updating issue

* refactor: added isConnected prop in msgContainer

* refactor: resolve merge conflicts

* fix: fixed request sending

* fix: fixed decryption

* fix: fixed env issue

* feat: added profile header in message container

* feat: adding rainbowkit for btn

* fix: fix issues

* fix: addec onnect functionality

* fix: connect button

* fix: added hack for rainbowkit css

---------

Co-authored-by: KlausMikhaelson <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

* Typebar UI issue (#666)

* fix: fixed typebar space not working and theme

* fix: fixed gif and emoji

---------

Co-authored-by: KlausMikhaelson <[email protected]>

* fix: fixed theme colours

* fix: added theme for brb

* fix: fixed access control hook issue

* feat: added access control verification

* feat: added onclick props for integration team to pass function and fixed btn ui

* fix: added link for learn more

* fix: fixed msg not updating in socket issue

* fix: added filter  hat

* fix: merged with main

* fix: fixed msg border

* fix: fixed theme

* fix: fixed fonts

* fix: fixed bug

* Access control (#672)

* fix: fixed typebar space not working and theme

* feat: created access control UI

* feat: created verify access control hook

* fix: fixed access control hook issue

* feat: added access control verification

* feat: added onclick props for integration team to pass function and fixed btn ui

* fix: added link for learn more

* fix: fixed msg not updating in socket issue

* fix: added minor fix

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* fix: fixed padding issues

* fix(f): fixed build issues

* fix: fix for chat status test

* feat: added verification option to show only on token gated groups

* fix: fixing group access control

* Check rules access control (#678)

* fix: fixed typebar space not working and theme

* feat: created access control UI

* feat: created verify access control hook

* fix: fixed access control hook issue

* feat: added access control verification

* feat: added onclick props for integration team to pass function and fixed btn ui

* fix: added link for learn more

* fix: fixed msg not updating in socket issue

* 662 group access control v2 changes (#663)

* fix: spaces access API

* fix: custom endpoint doc impl

* Update README.md

* Update README.md

* fix: review comments change

* fix: read me update

* Update README.md

* Update README.md

* fix: origin in user creation (#665)

* fix: origin in user creation

* Update README.md

* fix: review comments

* 662 group access control v2 changes (#677)

* fix: spaces access API

* fix: custom endpoint doc impl

* Update README.md

* Update README.md

* fix: review comments change

* fix: read me update

* Update README.md

* Update README.md

* fix(spaces): broadcast changes and UX fixes (#674)

* fix: fix UI grid view (#642)

* fix: fix UI grid view

* refactor: conditional added

* fix: resolved muting/unmuting try catch error (#657)

* fix(spaces): fix livepeer broadcast (#656)

* fix(spaces): fix livepeer broadcast

* fix(spaces): fix data shown for unjoined space & promote listener logic

---------

Co-authored-by: Madhur Gupta <[email protected]>

* refactor(spaces): use local state instead of get from server while meta message fire (#676)

---------

Co-authored-by: Arnab Chatterjee <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

* feat: added verification option to show only on token gated groups

* fix: fixing group access control

---------

Co-authored-by: Monalisha Mishra <[email protected]>
Co-authored-by: Mohammed S <[email protected]>
Co-authored-by: Madhur Gupta <[email protected]>
Co-authored-by: Arnab Chatterjee <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

* fix: fixed build

* feat: added send request to join group

* fix: fixed verification on send

* fix: fixed verify access btn not showing after joining group

* fix: fixed join group showing for members too

* fix: fixed join group showing to members

* 667 chat.send enhancement (#673)

* fix: changes messageObj for meta and reaction message type

* fix: enhance send fn

* fix: fixed intent issues

* 680 group rules cosmetic changes (#682)

* fix: fixed guild condition

* fix: add did validation

* fix: fixed

* fix: fixed minor issues

* fix: fixe dissue

* fix: fixed minor issues

* fix: check for scroll

* fix: fixed scrolling

* fix: fixed theme

* fix: fixed

* fix: fixed

* fix: fixed

* fix: fixed issues

* fix: fixed

* feat: added toast in join group btn for pvt groups

* fix: fixed blurr

* fix: fixed minor issues rules

* fix: fixed

* fix: fixed

---------

Co-authored-by: Satyam <[email protected]>
Co-authored-by: KlausMikhaelson <[email protected]>
Co-authored-by: Kolade <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>
Co-authored-by: Mohammed S <[email protected]>
Co-authored-by: Madhur Gupta <[email protected]>
Co-authored-by: Arnab Chatterjee <[email protected]>
Co-authored-by: Aman Gupta <[email protected]>

* ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.4

* Join group option (#688)

* feat: created architechture

* fix: added context values (#594)

* Chat dataprovider (#596)

* feat: data provider for chat component

* fix: replaced react.usestate to usestate

* fix: added props as the initial state and changed state name

* fix: reverted chat context changes and renamed values

* fix: added test page for chat ui components (#597)

* added chatbubble component (#602)

* feat: added chatbubble component

* fix: made the messageBubble's width to fit-content

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* fix: added theme

* Group chat bubble (#604)

* feat: moved test component to testui folder & replaced dummy data with sdk response

* feat: added twitter card and address for group chat received msg

* feat: made the messageaddress reusable, added account from context

* fix: removed unnecessary div and unused props and console logs

* feat: adding pfp in text bubbles

* fix: replaced hook with function and added pfp to messagebubble

* fix: fixed image alignment

* fix: changed border-radius of msg bubble and changed function name

* fix: fixed theme and decryptedPrivateKey name (#616)

* fix: fixed theme and decryptedPrivateKey name

* fix: fixed bug

* fix: fixed theme reviews

* Message list (#615)

* fix: message list comp

* fix: message list comp

* fix: added pagination

* fix: added pagination

* fix: pagination

* fix: create useChatData hook

* fix: fixed minor bug

* fix: socket issues fixed

* fix: added theme in msgbubble (#620)

* fix: added theme in msgbubble

* fix: fixed import

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* fix: exported the theme (#623)

* fix: exported the theme

* fix: fixed issues

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* Typebar component (#631)

* feat: added typebar UI

* feat: added functions to typebar

* fix: added icon

* fix: fixed theme issues

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* feat: added connectbutton

* fix: fixed connectbtn ui and remove disconnect and fixed error on disconnect

* fix: fixed create account getting called twice

* Profile Header Component (#636)

* feat: profile header

* feat: update profile header

* fix: update hooks

* fix: video icon ui

* feat: add group modal

* fix: add modal info

* fix: edit components

* fix: commit modal theme

* fix: updating UI

* fix: ensname

* fix: add notifs

* fix: remove alerts

* fix: remove alert logs

* fix: push fixes

* fix: conflicts

* Message container (#635)

* fix: added theme in msgbubble

* fix: fixed import

* fix: fixed message-list

* fix: added approve intent

* fix: added fixes

* fix: fixed socket bug

* fix: fixed message from socket

* fix: fixed minor issues

* fix: fixed typebar theming

* fix: fixed env issue

* fix: fixed message not updating issue

* refactor: added isConnected prop in msgContainer

* refactor: resolve merge conflicts

* fix: fixed request sending

* fix: fixed decryption

* fix: fixed env issue

* feat: added profile header in message container

---------

Co-authored-by: KlausMikhaelson <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

* fix: updated svg to react component

* fix: changed svg to tsx component

* fix: fixed review changes (#646)

* fix: fixed review changes

* fix: resolved issues

---------

Co-authored-by: Nilesh Gupta <[email protected]>

* Profile Header -> Chat Profile fixes (#647)

* feat: profile header

* feat: update profile header

* fix: update hooks

* fix: video icon ui

* feat: add group modal

* fix: add modal info

* fix: edit components

* fix: commit modal theme

* fix: updating UI

* fix: ensname

* fix: add notifs

* fix: remove alerts

* fix: remove alert logs

* fix: push fixes

* fix: conflicts

* fix: notifs

* fix: correct theme colors

* fix: renaming profileHeader

* fix: qa fixes

* fix: loader

* refactor: resolved issues

* fix: edit types

---------

Co-authored-by: Nilesh Gupta <[email protected]>

* fix: resolved package not added issue

* Fix: modal issue in group info && alert remove members (#653)

* fix: modal

* fix: update changes

* refactor: resolved issue

---------

Co-authored-by: Nilesh Gupta <[email protected]>

* fix: QA fixes (#654)

* fix: fixed typebar space not working and theme

* feat: created access control UI

* feat: created verify access control hook

* Connect btn revamp (#668)

* fix: added theme in msgbubble

* fix: fixed import

* fix: fixed message-list

* fix: added approve intent

* fix: added fixes

* fix: fixed socket bug

* fix: fixed message from socket

* fix: fixed minor issues

* fix: fixed typebar theming

* fix: fixed env issue

* fix: fixed message not updating issue

* refactor: added isConnected prop in msgContainer

* refactor: resolve merge conflicts

* fix: fixed request sending

* fix: fixed decryption

* fix: fixed env issue

* feat: added profile header in message container

* feat: adding rainbowkit for btn

* fix: fix issues

* fix: addec onnect functionality

* fix: connect button

* fix: added hack for rainbowkit css

---------

Co-authored-by: KlausMikhaelson <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

* Typebar UI issue (#666)

* fix: fixed typebar space not working and theme

* fix: fixed gif and emoji

---------

Co-authored-by: KlausMikhaelson <[email protected]>

* fix: fixed theme colours

* fix: added theme for brb

* fix: fixed access control hook issue

* feat: added access control verification

* feat: added onclick props for integration team to pass function and fixed btn ui

* fix: added link for learn more

* fix: fixed msg not updating in socket issue

* fix: added filter  hat

* fix: merged with main

* fix: fixed msg border

* fix: fixed theme

* fix: fixed fonts

* fix: fixed bug

* Access control (#672)

* fix: fixed typebar space not working and theme

* feat: created access control UI

* feat: created verify access control hook

* fix: fixed access control hook issue

* feat: added access control verification

* feat: added onclick props for integration team to pass function and fixed btn ui

* fix: added link for learn more

* fix: fixed msg not updating in socket issue

* fix: added minor fix

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* fix: fixed padding issues

* fix(f): fixed build issues

* fix: fix for chat status test

* feat: added verification option to show only on token gated groups

* fix: fixing group access control

* Check rules access control (#678)

* fix: fixed typebar space not working and theme

* feat: created access control UI

* feat: created verify access control hook

* fix: fixed access control hook issue

* feat: added access control verification

* feat: added onclick props for integration team to pass function and fixed btn ui

* fix: added link for learn more

* fix: fixed msg not updating in socket issue

* 662 group access control v2 changes (#663)

* fix: spaces access API

* fix: custom endpoint doc impl

* Update README.md

* Update README.md

* fix: review comments change

* fix: read me update

* Update README.md

* Update README.md

* fix: origin in user creation (#665)

* fix: origin in user creation

* Update README.md

* fix: review comments

* 662 group access control v2 changes (#677)

* fix: spaces access API

* fix: custom endpoint doc impl

* Update README.md

* Update README.md

* fix: review comments change

* fix: read me update

* Update README.md

* Update README.md

* fix(spaces): broadcast changes and UX fixes (#674)

* fix: fix UI grid view (#642)

* fix: fix UI grid view

* refactor: conditional added

* fix: resolved muting/unmuting try catch error (#657)

* fix(spaces): fix livepeer broadcast (#656)

* fix(spaces): fix livepeer broadcast

* fix(spaces): fix data shown for unjoined space & promote listener logic

---------

Co-authored-by: Madhur Gupta <[email protected]>

* refactor(spaces): use local state instead of get from server while meta message fire (#676)

---------

Co-authored-by: Arnab Chatterjee <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

* feat: added verification option to show only on token gated groups

* fix: fixing group access control

---------

Co-authored-by: Monalisha Mishra <[email protected]>
Co-authored-by: Mohammed S <[email protected]>
Co-authored-by: Madhur Gupta <[email protected]>
Co-authored-by: Arnab Chatterjee <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>

* fix: fixed build

* feat: added send request to join group

* fix: fixed verification on send

* fix: fixed verify access btn not showing after joining group

* fix: fixed join group showing for members too

* fix: fixed join group showing to members

* 667 chat.send enhancement (#673)

* fix: changes messageObj for meta and reaction message type

* fix: enhance send fn

* fix: fixed intent issues

* 680 group rules cosmetic changes (#682)

* fix: fixed guild condition

* fix: add did validation

* fix: fixed

* fix: fixed minor issues

* fix: fixe dissue

* fix: fixed minor issues

* fix: check for scroll

* fix: fixed scrolling

* fix: fixed theme

* fix: fixed

* fix: fixed

* fix: fixed

* fix: fixed issues

* fix: fixed

* feat: added toast in join group btn for pvt groups

* fix: fixed blurr

* fix: fixed minor issues rules

* fix: fixed

* fix: fixed

* fix: fixed socket issue

* fix: fixed

---------

Co-authored-by: Satyam <[email protected]>
Co-authored-by: KlausMikhaelson <[email protected]>
Co-authored-by: Kolade <[email protected]>
Co-authored-by: Nilesh Gupta <[email protected]>
Co-authored-by: Mohammed S <[email protected]>
Co-authored-by: Madhur Gupta <[email protected]>
Co-authored-by: Arnab Chatterjee <[email protected]>
Co-authored-by: Aman Gupta <[email protected]>

* ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.5

* fix: fixed (#689)

* ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.6

* chat Load issue fixed (#690)

* fix: fixed

* fix: fixed minor issues

* ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.7

* fix: fixed msg bubble width (#691)

* ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.8

* ci(restapi): 🎉 cut release to restapi-v1.4.17

* ci(restapi): 🎉 cut release to restapi-v1.4.18

* ci(restapi): 🎉 cut release to restapi-v1.4.19

* ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.33

* ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.33

* ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.9

* Onboarding blocknative (#702)

* fix: added reusable folder

* fix: fixed theme for modal

* fix: removed reusables from export

* fix: fixed fallback for message input

* feat: replaced rainbowkit with blocknative

* fix: removed unused code

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.10

* ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.33

* Fix connect button issue (#710)

* fix: fixed connect button blocknative

* fix: fixed message fetching

* fix: removed console

* ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.11

* fix: added condition while showing tokengatedIcon (#715)

* fix: added disconnect for wallet (#721)

* fix: added disconnect for wallet

* fix: added autoConnect

* Wallet disconnect (#722)

* fix: added disconnect for wallet

* fix: added autoConnect

* fix: changed onClick to onGetTokenClick

* Wallet disconnect (#723)

* fix: added disconnect for wallet

* fix: added autoConnect

* fix: changed onClick to onGetTokenClick

* fix: fixed errors

* ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.12

* Changed messageInput params Case (#725)

* fix: added disconnect for wallet

* fix: added autoConnect

* fix: changed onClick to onGetTokenClick

* fix: fixed errors

* ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.13

* ci(restapi): 🎉 cut release to restapi-v1.4.20

* Wallet disconnect (#728)

* fix: added disconnect for wallet

* fix: added autoConnect

* fix: changed onClick to onGetTokenClick

* fix: fixed errors

* fix: added coinbase wallet

* fix: img added

* fix: fixed metamask not showing if not present in it

---------

Co-authored-by: KlausMikhaelson <[email protected]>

* ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.14

* Wallet disconnect (#732)

* fix: added disconnect for wallet

* fix: added autoConnect

* fix: changed onClick to onGetTokenClick

* fix: fixed errors

* fix: added coinbase wallet

* fix: img added

* fix: fixed metamask not showing if not present in it

* fix: fixed injected wallets

---------

Co-authored-by: KlausMikhaelson <[email protected]>

* ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.15

* fix: added class based implementation for notification (#699)

* fix: added class based implementation for notification

* fix: class based implementation for notification

* fix: small fixes

* fix: minor fixes and testcases

* fix: fixes for testcases

* fix: updated core abi and minor fixes

* fix: removed comment

* fix: minor fixes and additional checks

* fix: minor fixes

* fix: viem support for contract and new folder structure

* fix: changed typescript 5.0.2 and configured eslint

* ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.34

* 720 pushstream class implementation (#729)

* chore: added an example of automated chat using the new class based initialization

* fix: fixed usecases

* chore: added an example of automated chat using the new class based i… (#712)

* chore: added an example of automated chat using the new class based initialization

* fix: fixed usecases

---------

Co-authored-by: aman035 <[email protected]>

* chore(automated chat example): tweaked automated chat example

* fix: stream changes

* fix: stream changes

* fix: added chat.decrypt (#726)

* fix: added chat.decrypt

* fix: fix examples

* fix: stream changes

* fix: PUSH Stream Changes

* fix: chat classes split

* fix: Notification socket initialisations and rules backward compatibility

* fix: added message decrypt

* fix: review comments

* fix: socket events

* fix: test case fix and UserInfo to user

* fix: rip PushNotification class

* fix: additional check

---------

Co-authored-by: harshrajat <[email protected]>
Co-authored-by: aman035 <[email protected]>
Co-authored-by: Harsh | Push <[email protected]>
Co-authored-by: akp111 <[email protected]>

* fix: remove only from test

* fix: error fixed

* ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.35

* ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.35

* fix: stream cases

* 720 pushstream class implementation (#737)

* fix: stream changes

* fix: stream changes

* fix: stream changes

* fix: PUSH Stream Changes

* fix: chat classes split

* fix: Notification socket initialisations and rules backward compatibility

* fix: added message decrypt

* fix: review comments

* fix: socket events

* fix: test case fix and UserInfo to user

* fix: rip PushNotification class

* fix: additional check

* fix: minor fixes

---------

Co-authored-by: Mohammed S <[email protected]>

* ci(restapi): 🎉 cut release to restapi-v1.4.21

* fix: corrected example

* fix: some changes on stream

* ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.36

* fix: minor fixes

* ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.37

* fix: error handling in socket events

* ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.38

* fix: more fixes

* ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.39

* fix: minor fixes

* fix: socket enabled

* ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.40

* fix: minor fixes

* ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.41

* Add counter for update channel (#740)

* fix: added counter to update group

* fix: added counter logic, moved delegate and alias function to channel class

* ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.42

* Add counter for update channel (#741)

* fix: added counter to update group

* fix: added counter logic, moved delegate and alias function to channel class

* fix: added readme for notification

* ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.43

* fix: minor fix

* ci(uiweb): 🎉 cut release to uiweb-v1.1.14

* fix: log removed

* ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.44

* docs: fix tests

* Feat/space backup (#746)

* refactor: added code for joining livekit room for listeners (#731)

* feat: drop in livekit inplace of livepeer (#736)

* feat: drop in livekit inplace of livepeer

* feat: added microphone

* feat: added mic

* feat: added access control

---------

Co-authored-by: Nilesh Gupta <[email protected]>

* fix: Notification event mutation

* Notification setting changes (#752)

* Arbitrum changes (#735)

* fix: inital implementation for arbitrum changes

* fix: more changes

* fix: added final changes

* fix: minor fixes

* fix: fixed typo

* fix: notification settings related changes

* fix: added index parameter for notification

* fix: restored config

* ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.45

* ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.16

* Arnab/livekit fixes (#754)

* refactor: added code for joining livekit room for listeners (#731)

* feat: drop in livekit inplace of livepeer

* feat: added microphone

* feat: added mic

* feat: added access control

* feat: fixes for livekit API call

---------

Co-authored-by: Nilesh Gupta <[email protected]>

* ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.17

* ci(restapi): 🎉 cut release to restapi-v1.4.22

* fix: added settings

* fix: added settings (#762)

* fix: build fix

* ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.46

* fix: minor fix

* ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.47

* fix: minor fix

* ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.48

* Create group chat comp (#766)

* Chat profile refractor (#727)

* fix: fixed minor bugs and made add wallets reusable

* fix: refactored code

* fix: fixed ens domains not working while adding more wallets to a group

* fix: fixed back btn in add wallet and cofirm btn ui

* fix: fixed theme in chat profile

* fix: refractor of addWallet

* fix: ens issues

* fix: adde changes

* fix: fixed lint issues

* fix: fixed review comments

* fix: fixed minor review comments

---------

Co-authored-by: KlausMikhaelson <[email protected]>

* Refactoring of messageInput, chatBubble, connectButton,chatViewList, chatViewComponent (#718)

* fix: added accoutn hook

* fix: refactoring code of messageInput chatlist chatbubble

* fix: fixed review comment

* fix: fixed

* fix: added reusables

* fix: fixed toast

* feat: create group modal

* fix: fixed condition in messageInput

* fix: fixed

* fix: fixed code

* feat: create group info validation done (#738)

* fix: fixed autoconnect issues

* Group criteria added (#764)

* feat: created define criteria and add criteria

* feat: added some more dropdowns in add criteria

* fix: added critera options

* feat: worked on criterias

* Arbitrum changes (#735)

* fix: inital implementation for arbitrum changes

* fix: more changes

* fix: added final changes

* fix: fixed few ui issues

* fix: fixed minor issue

* fix: added operstor

* fix: added dummy 2d data

* fix: fixed test

* feat: condition type added

* feat: adder done

* feat: all/any added on condition box

* fix: minor fixes

* fix: fixed typo

* fix: fixed upload group image ui

* Multiple group criteria (#747)

* fix: fixed multiple criteria Ui

* fix: fixed conditions code

---------

Co-authored-by: KlausMikhaelson <[email protected]>

* docs: added Class Examples (#739)

* docs: added documentation

* docs: fixed chat class examples

* docs: fix notif class

* docs: fixed stream examples

* docs: fix nft grp update

* docs: fixed logs

* Message Type Implementations (#730)

* fix: added video & audio messages

* fix: fixed meta, reaction & added intent & readReceipt

* fix: added reply

* fix: added composite, fixed receipt

* fix: local tests (#744)

* fix(env and index): fixes typo RECIPEINT to RECIPIENT (#743)

fix #733

* Update README.md (#742)

Changed the discord link

* feat: add criteria done

* fix: fixed themes

* feat: rule deletion done

* feat: condition update done

* feat: add criteria update lablel done

* feat: edit rule auto fill done

* feat: pr changes done

* feat: refactor type and hooks

* fix: fixed mobilde view

* fix: fixed scroll

* feat: added icon in groupinfo to show if it is token gated or not (#748)

* feat: added icon in groupinfo to show if it is token gated or not

* fix: fixed minor text

* feat: created group criteria info modal and fixed dropdown

* fix: made changes as per the review

* fix: removed more options from conditions in group info

* fix: fixed minor issues

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* feat: drop down labels

* fix: fixed

* fix: fixed dropdown

* Gp states fix (#763)

* feat: conditions to chat added

* feat: generation of payload done

* refactor: rule generation done

* feat: operator undefined fix

* fix: fixed condition ui

* feat: create group rest api call done

* fix: fixed dropdown

* feat: group detail info fix done

* fix: added validation for guild

---------

Co-authored-by: Abishek Bashyal <[email protected]>

---------

Co-authored-by: KlausMikhaelson <[email protected]>
Co-authored-by: Ashis Kumar Pradhan <[email protected]>
Co-authored-by: Abishek Bashyal <[email protected]>
Co-authored-by: akp111 <[email protected]>
Co-authored-by: Aman Gupta <[email protected]>
Co-authored-by: strykerin <[email protected]>
Co-authored-by: Rahul Pandey <[email protected]>
Co-authored-by: dinesh <[email protected]>
Co-authored-by: Satyam <[email protected]>

* feat: group msg fix (#765)

* feat: group msg fix

* fix: minor changes

---------

Co-authored-by: Monalisha Mishra <[email protected]>

---------

Co-authored-by: KlausMikhaelson <[email protected]>
Co-authored-by: Abishek Bashyal <[email protected]>
Co-authored-by: Ashis Kumar Pradhan <[email protected]>
Co-authored-by: akp111 <[email protected]>
Co-authored-by: Aman Gupta <[email protected]>
Co-authored-by: strykerin <[email protected]>
Co-authored-by: Rahul Pandey <[email protected]>
Co-authored-by: dinesh <[email protected]>
Co-authored-by: Satyam <[email protected]>

* ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.49

* ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.18

* Sub response (#767)

* fix: modified subscription response

* fix: modified error response

* Sub response (#770)

* fix: modified subscription response

* fix: modified error response

* fix: added docs

* Arnab/livekit depl (#775)

* refactor: added code for joining livekit room for listeners (#731)

* feat: drop in livekit inplace of livepeer

* feat: added microphone

* feat: added mic

* feat: added access control

* feat: fixes for livekit API call

* feat: meta messages added for joining

* fix: add meta message for accept

---------

Co-authored-by: Nilesh Gupta <[email protected]>

* Arnab/lk fix (#776)

* refactor: added code for joining livekit room for listeners (#731)

* feat: drop in livekit inplace of livepeer

* feat: added microphone

* feat: added mic

* feat: added access control

* feat: fixes for livekit API call

* feat: meta messages added for joining

* fix: add meta message for accept

* fix: fix meta message type

---------

Co-authored-by: Nilesh Gupta <[email protected]>

* ci(uiweb): 🎉 cut beta release to uiweb-v0.0.1-alpha.19

* fix: ui fixes for lk (#782)

* Create group chat comp (#778)

* Chat profile refractor (#727)

* fix: fixed minor bugs and made add wallets reusable

* fix: refactored code

* fix: fixed ens domains not working while adding more wallets to a group

* fix: fixed back btn in add wallet and cofirm btn ui

* fix: fixed theme in chat profile

* fix: refractor of addWallet

* fix: ens issues

* fix: adde changes

* fix: fixed lint issues

* fix: fixed review comments

* fix: fixed minor review comments

---------

Co-authored-by: KlausMikhaelson <[email protected]>

* Refactoring of messageInput, chatBubble, connectButton,chatViewList, chatViewComponent (#718)

* fix: added accoutn hook

* fix: refactoring code of messageInput chatlist chatbubble

* fix: fixed review comment

* fix: fixed

* fix: added reusables

* fix: fixed toast

* feat: create group modal

* fix: fixed condition in messageInput

* fix: fixed

* fix: fixed code

* feat: create group info validation done (#738)

* fix: fixed autoconnect issues

* Group criteria added (#764)

* feat: created define criteria and add criteria

* feat: added some more dropdowns in add criteria

* fix: added critera options

* feat: worked on criterias

* Arbitrum changes (#735)

* fix: inital implementation for arbitrum changes

* fix: more changes

* fix: added final changes

* fix: fixed few ui issues

* fix: fixed minor issue

* fix: added operstor

* fix: added dummy 2d data

* fix: fixed test

* feat: condition type added

* feat: adder done

* feat: all/any added on condition box

* fix: minor fixes

* fix: fixed typo

* fix: fixed upload group image ui

* Multiple group criteria (#747)

* fix: fixed multiple criteria Ui

* fix: fixed conditions code

---------

Co-authored-by: KlausMikhaelson <[email protected]>

* docs: added Class Examples (#739)

* docs: added documentation

* docs: fixed chat class examples

* docs: fix notif class

* docs: fixed stream examples

* docs: fix nft grp update

* docs: fixed logs

* Message Type Implementations (#730)

* fix: added video & audio messages

* fix: fixed meta, reaction & added intent & readReceipt

* fix: added reply

* fix: added composite, fixed receipt

* fix: local tests (#744)

* fix(env and index): fixes typo RECIPEINT to RECIPIENT (#743)

fix #733

* Update README.md (#742)

Changed the discord link

* feat: add criteria done

* fix: fixed themes

* feat: rule deletion done

* feat: condition update done

* feat: add criteria update lablel done

* feat: edit rule auto fill done

* feat: pr changes done

* feat: refactor type and hooks

* fix: fixed mobilde view

* fix: fixed scroll

* feat: added icon in groupinfo to show if it is token gated or not (#748)

* feat: added icon in groupinfo to show if it is token gated or not

* fix: fixed minor text

* feat: created group criteria info modal and fixed dropdown

* fix: made changes as per the review

* fix: removed more options from conditions in group info

* fix: fixed minor issues

---------

Co-authored-by: Monalisha Mishra <[email protected]>

* feat: drop down labels

* fix: fixed

* fix: fixed dropdown

* Gp states fix (#763)

* feat: conditions to chat added

* feat: generation of payload done

* refactor: rule generation done

* feat: operator undefined fix

* fix: fixed condition ui

* feat: create group rest api call done

* fix: fixed…
  • Loading branch information
19 people authored Dec 1, 2023
1 parent 0393cdf commit f50ea38
Show file tree
Hide file tree
Showing 8 changed files with 191 additions and 90 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ const ChatViewComponentTest = () => {
<h2>Chat UI Test page</h2>
{/* <CreateGroupModal onClose={()=>{console.log('in close')}} /> */}
<ChatViewComponentCard>
{/* <CreateGroupModal onClose={()=>{console.log('in close')}} modalBackground={MODAL_BACKGROUND_TYPE.OVERLAY} modalPositionType={MODAL_POSITION_TYPE.RELATIVE}/> */}
<CreateGroupModal onClose={()=>{console.log('in close')}} modalBackground={MODAL_BACKGROUND_TYPE.OVERLAY} modalPositionType={MODAL_POSITION_TYPE.RELATIVE}/>

<ChatView
onVerificationFail={() => console.log("BOIIII RETURNNNSSSSS")}
chatId='0x99A08ac6254dcf7ccc37CeC662aeba8eFA666666'
chatId='92ed5f3f3bcdf58976ce11395786398f6f9e3048d76dc7e6f53ea5d77092fdd6'

limit={10}
isConnected={true}
groupInfoModalBackground={MODAL_BACKGROUND_TYPE.OVERLAY}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ type AddWalletContentProps = {
groupMembers: any;
isLoading?: boolean;
modalHeader: string;
title?: string;
submitButtonTitle?: string;
};
export const AddWalletContent = ({
onSubmit,
Expand All @@ -44,6 +46,8 @@ export const AddWalletContent = ({
handleMemberList,
groupMembers,
isLoading,
title,
submitButtonTitle,
}: AddWalletContentProps) => {
const theme = useContext(ThemeContext);

Expand Down Expand Up @@ -86,6 +90,10 @@ export const AddWalletContent = ({

const addMemberToList = (member: User) => {
let errorMessage = '';
const isMemberAlreadyAdded = memberList?.find(
(user: any) => user.wallets.toLowerCase() === member.wallets.toLowerCase()
);
console.log('member', member);

errorMessage = addWalletValidation(
member,
Expand All @@ -101,7 +109,7 @@ export const AddWalletContent = ({
toastType: 'ERROR',
getToastIcon: (size) => <MdError size={size} color="red" />,
});
} else {
} else if(!isMemberAlreadyAdded) {
handleMemberList((prev: any) => [...prev, { ...member, isAdmin: false }]);
}

Expand All @@ -123,7 +131,7 @@ export const AddWalletContent = ({
flexDirection="column"
padding={isMobile ? '0px auto' : '0px 10px'}
>
<ModalHeader title='Add More Wallets' handleClose={onClose} handlePrevious={handlePrevious} />
<ModalHeader title={title ? title : 'Add More Wallets'} handleClose={onClose} handlePrevious={handlePrevious} />

<Section
margin="50px 0 10px 0"
Expand All @@ -137,8 +145,8 @@ export const AddWalletContent = ({

<Span fontSize="14px" color={theme.textColor?.modalSubHeadingText}>
{groupMembers
? `0${memberList?.length + groupMembers?.length} / 09 Members`
: `0${memberList?.length} / 09 Members`}
? `0${memberList?.length + groupMembers?.length} / 5000 Members`
: `0${memberList?.length} / 5000 Members`}
</Span>
</Section>

Expand All @@ -162,7 +170,7 @@ export const AddWalletContent = ({
) }

<MultipleMemberList>
{memberList?.map((member: any, index: any) => (
{memberList && memberList?.map((member: any, index: any) => (
<MemberListContainer
key={index}
memberList={memberList}
Expand All @@ -176,12 +184,15 @@ export const AddWalletContent = ({

<Section flex="1" alignSelf="center">
<ModalConfirmButton
onClick={() => onSubmit()}
onClick={() => {
// console.log(groupMembers);
onSubmit()
}}
isLoading={isLoading}
memberListCount={memberList?.length > 0}
theme={theme}
>
{!isLoading && groupMembers ? 'Add To Group' : ''}
{!isLoading && groupMembers ? (submitButtonTitle ? submitButtonTitle : 'Add To Group'): ''}
{isLoading && <Spinner size="30" color="#fff" />}
</ModalConfirmButton>
</Section>
Expand Down
95 changes: 95 additions & 0 deletions packages/uiweb/src/lib/components/chat/CreateGroup/AddWallets.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
import React from "react";
import { Section, Span } from "../../reusables";
import { ModalHeader } from "../reusables";
import { AddWalletContent } from "../ChatProfile/AddWalletContent";
import { GrouInfoType as GroupInfoType } from "../../chat/types/index"
import { ProfilePicture } from "../../../config";
import { MdCheckCircle, MdError } from "react-icons/md";
import { useCreateGatedGroup } from "../../../hooks/chat/useCreateGatedGroup";
import useToast from "../reusables/NewToast";
import { GroupInputDetailsType } from "./CreateGroupModal";

interface AddWalletsInCreateGroupProps {
groupInputDetails: GroupInputDetailsType;
setGroupInputDetails: React.Dispatch<React.SetStateAction<GroupInputDetailsType>>;
groupMembers: string[];
setGroupMembers: React.Dispatch<React.SetStateAction<string[]>>;
groupAdmins: string[];
criteriaStateManager: any;
checked: boolean;
groupEncryptionType: string;
onClose: () => void;
handlePrevious: () => void;
}

const AddWalletsInCreateGroup = ({ handlePrevious, onClose,groupInputDetails, groupEncryptionType, checked, criteriaStateManager, groupMembers, setGroupMembers }: AddWalletsInCreateGroupProps) => {
const { createGatedGroup } = useCreateGatedGroup();
const groupInfoToast = useToast();
const getEncryptionType = () => {
if (groupEncryptionType === 'encrypted') {
return false;
}
return true;
};

const showError = (errorMessage: string) => {
groupInfoToast.showMessageToast({
toastTitle: 'Error',
toastMessage: errorMessage,
toastType: 'ERROR',
getToastIcon: (size) => <MdError size={size} color="red" />,
});
};

const createGroupService = async () => {
const groupInfo: GroupInfoType = {
groupName: groupInputDetails.groupName,
groupDescription: groupInputDetails.groupDescription,
groupImage: groupInputDetails.groupImage || ProfilePicture,
isPublic: getEncryptionType(),
members: groupInputDetails.groupMembers.filter((member: any) => !member.isAdmin).map((member: any) => member.wallets),
admins: groupInputDetails.groupMembers.filter((member: any) => member.isAdmin).map((member: any) => member.wallets),
};
const rules: any = checked ? criteriaStateManager.generateRule() : {};
const isSuccess = await createGatedGroup(groupInfo, rules);
if (isSuccess === true) {
groupInfoToast.showMessageToast({
toastTitle: 'Success',
toastMessage: 'Group created successfully',
toastType: 'SUCCESS',
getToastIcon: (size: string | number | undefined) => <MdCheckCircle size={size} color="green" />,
});
onClose();
} else {
showError('Group creation failed');
}
}

const verifyAndCreateGroup = async () => {
if (groupEncryptionType.trim() === '') {
showError('Group encryption type is not selected');
return;
}

await createGroupService();
};

return (
<Section>
<AddWalletContent
title="Create Group"
submitButtonTitle="Create Group"
onSubmit={verifyAndCreateGroup}
onClose={onClose}
handlePrevious={handlePrevious}
memberList={groupMembers}
handleMemberList={setGroupMembers}
groupMembers={groupInputDetails.groupMembers}
isLoading={false}
modalHeader="Add Wallets"
/>
</Section>
)
}

export default AddWalletsInCreateGroup;
Loading

0 comments on commit f50ea38

Please sign in to comment.