Skip to content

Commit

Permalink
822 other self notification (#823)
Browse files Browse the repository at this point in the history
* Spaces backend examples (#522)

* fix: spaces documentation

* Update README.md

* fix: formatting issues

* fix: uncommented code

* Spaces SDK alpha publish (#520)

* refactor: added initial SpacesUI class architecture

* Update packages/uiweb/src/lib/components/space/SpacesUI.tsx

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

* Update packages/uiweb/src/lib/components/space/SpacesUI.tsx

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

* fix: refine code structure

* refactor: change structure and added a test sample

* feat: added themeprovider for spaces ui components (#436)

* feat: feat: add themeprovider for spaces

* fix: resolved conflicts

* refactor: cleaned up provider

* refactor: resolved comments

* feat: added colors and themeing in demoreactapp

* refactor: cleaned code

* refactor: resolved comments

* refactor: added a basic style structure for ease of use (#453)

* feat: SpaceBanner Component (#438)

* feat: SpaceBanner

* refactor: removed-optionals

* feat: space-banner functionality

* fix: reverted app.tsx

* fix: reverted app.tsx

* fix: removed test svg file

* refactor: change structure and added a test sample

* feat: space-banner functionality

* refactor: api-implementation

* fix: removed-svg

* refactor: mobile version

* Revert "fix: removed test svg file"

This reverts commit 7af756badaeb8435db60712c42ca57ef9ce9f74c.

* Revert "refactor: change structure and added a test sample"

This reverts commit b1e8745948a9ce5e0485ad51a8cffd07010a5186.

* fix: revert

* refactor: lastest-pull

* feat: added-spaceBanner-test

* refactor: cache-to-context

* refactor: custom hook added for data

* refactor: spaceDTO

* fix: SpaceDTO implementation

* refactor: participant-container

* refactor: cleanups

* fix: ui-fixes

* fix: EOF newlines

* fix: overflow-fixed

* refactor: tweaked context structure a bit

---------

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

* refactor: updated theme object along with light and dark theme

* feat: Create Space Component (#454)

* refactor: resolved merge conflicts

* feat: added modals and modal behaviour logic

* feat: modal inputs

* feat: change modal logic + integr8 API

* feat: added CSS for modals and inputs

* fix: resolved PR comments

* refactor: improve css

* refactor: rft create modal

* feat: added search input component

* Refactor/space widget component (#458)

* refactor: added basic design

* refactor: added full widget with style

* refactor: reduced fixed height of scheduled widget content

* refactor: changes requested

* refactor: resolved review comments

* feat: add spaces info component (#474)

* Feat/added members modal (#477)

* refactor: added modal

* refactor: added members modal

* refactor: review comments

* refactor: resolve review comments

* fix: review comments

* 424 spaces functions webrtc logic (#482)

* fix: add spaces for functions

* fix: Separate page for space in the demo react APP

* fix: start/stop spaces functions

* fix: fix image and description types

* fix: added functions to add and remove members from group

* fix: spaces functions

* fix: spaces functions refactoring

* fix: few more changes

* fix: spaces function testing

* fix: spaces functions

* fix: SDK bug fixes

* fix: SDK bug fixes

* fix: minor fixes

* fix: minor fix

* fix: minor fix

* feat(video): add create mesh connection logic in Video class

* feat(spaces): make video mesh compatible & add spaces class

* feat(spaces): add backend methods in Space class

---------

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

* refactor: spaces UI Components refactor (#478)

> replaced hardcoded styles with context theme >added smoother animations on collapsoble components
>added profile cards to invite modal

* refactor: added spaceUI class variables into context as well (#488)

* refactor: added spaceUI class variables into context as well

* refactor: resolve review comments

* refactor: added a clickHandler in spaceBanner component for extra flexibility (#489)

* fix(spaces): fix console errs and refactor create, update methods (#492)

* fix: add spaces for functions

* fix: Separate page for space in the demo react APP

* fix: start/stop spaces functions

* fix: fix image and description types

* fix: added functions to add and remove members from group

* fix: spaces functions

* fix: spaces functions refactoring

* fix: few more changes

* fix: spaces function testing

* fix: spaces functions

* fix: SDK bug fixes

* fix: SDK bug fixes

* fix: minor fixes

* fix: minor fix

* fix: minor fix

* feat(video): add create mesh connection logic in Video class

* feat(spaces): make video mesh compatible & add spaces class

* feat(spaces): add backend methods in Space class

* fix: Merge branch 'alpha' into 424-spaces-functions-webrtc-logic

* fix(spaces): fix console errors and move out create, update functions from Space class

---------

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

* refactor: modified init class method

* refactor/added-space-feed-component(#481)

* feat: space-feed

* refactor: space-feed

* Deployment (#440)

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

* fix(component): dummy

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

* fix(component): dummy

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

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

* fix(component): dummy

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

* fix(component): dummy

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

* fix(component): dummy

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

* fix: success progressHook

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

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

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

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

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

* fix(component): dummy

* fix(component): dummy

* fix(component): dummy

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

* fix(component): dummy

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

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

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

* fix: local for local development (#295)

Co-Authored-By: aman035 <[email protected]>

* fix: version update

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

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

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

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

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

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

* ci(socket): 🎉 cut release to socket-v0.5.0

* fix: test commit

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

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

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

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

* fix: added ci-version-beta

* fix: added ci-version-beta

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

* fix: added releaseType

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

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

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

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

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

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

* fix: linkedListHash test cases removed & CI version corrected

* fix: update name to beta

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

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

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

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

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

* fix: update package json

* fix: updated socket version

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

* fix: socket lib update

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

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

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

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

* ci(socket): 🎉 cut release to socket-v0.5.1

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

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

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

---------

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

* feat: space-feed

* refactor: space-feed

* fix: api-call-custom-hooks

* fix: api-call

* refactor: enums/changes

* fix: scrollable

* fix: scrolling-issue

* feat: filter-changes

* fix: added types

* fix: loader-issue

* fix: tab-button-color

* feat: new-filter and prop

* fix: ended-logic && participant-number logic

* refactor: add onBannerClick

* fix: conflicts

* revert: messed-up spaceBanner

* fix: onClick issue

* fix: onClick and cleanups

* refactor: new pagination interface

* fix: scroll-logic

* fix: scroll-final

* fix: ..

* fix: removed any

* fix: onClick-issue

* fix: loading-context-to-state

* refactor: add-NoSpaceIcons

* refactor: new-ui-layout

* refactor: new-ui-layout

---------

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

* refactor: added structure for spaces invites modal component

* refactor: invite-component

* fix: minor-bug

* feat: Create Space API Integration (#494)

* feat: create spaces integration

* feat: added datetime picker

* feat: completed create space API integration

* feat: changed flow and time component

* feat(spaces): initiate livepeer playback in start method (#499)

* fix: add spaces for functions

* fix: Separate page for space in the demo react APP

* fix: start/stop spaces functions

* fix: fix image and description types

* fix: added functions to add and remove members from group

* fix: spaces functions

* fix: spaces functions refactoring

* fix: few more changes

* fix: spaces function testing

* fix: spaces functions

* fix: SDK bug fixes

* fix: SDK bug fixes

* fix: minor fixes

* fix: minor fix

* fix: minor fix

* feat(video): add create mesh connection logic in Video class

* feat(spaces): make video mesh compatible & add spaces class

* feat(spaces): add backend methods in Space class

* fix: Merge branch 'alpha' into 424-spaces-functions-webrtc-logic

* fix(spaces): fix console errors and move out create, update functions from Space class

* feat(spaces): initiate livepeer playback in start method

* feat(spaces): store livepeer playback id in space description

---------

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

* Add initialize method (#505)

* fix: add spaces for functions

* fix: Separate page for space in the demo react APP

* fix: start/stop spaces functions

* fix: fix image and description types

* fix: added functions to add and remove members from group

* fix: spaces functions

* fix: spaces functions refactoring

* fix: few more changes

* fix: spaces function testing

* fix: spaces functions

* fix: SDK bug fixes

* fix: SDK bug fixes

* fix: minor fixes

* fix: minor fix

* fix: minor fix

* feat(video): add create mesh connection logic in Video class

* feat(spaces): make video mesh compatible & add spaces class

* feat(spaces): add backend methods in Space class

* fix: Merge branch 'alpha' into 424-spaces-functions-webrtc-logic

* fix(spaces): fix console errors and move out create, update functions from Space class

* feat(spaces): initiate livepeer playback in start method

* feat(spaces): store livepeer playback id in space description

* feat(spaces): add intitialize method

---------

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

* refactor: resolved css in space banner

* refactor: added a skeleton loading effect on space Banner component

* feat: add invite functionality to create space (#506)

* feat: added invite functionality

* fix: add logic for time selector

* fix: css fixes

* refactor: info-on-widget (#504)

* refactor: info-on-widget

* refactor: add Space class to context

* fix: padding, added new mic icons

* fix: added-ref to context

* feat: start added

* fix: remove optional spaceId

* fix: inf-bug

* fix: effectAdded

* fix(spaces): add is supported check in start

* refactor: added-join-functionalities (#507)

* refactor: added-join-functionalities

* fix: screens

* fix(spaces): fix livepeer stream creation in start

---------

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

* Fix join and pgpPrivateKey in demoreact (#508)

* refactor: info-on-widget

* refactor: add Space class to context

* fix: padding, added new mic icons

* fix: added-ref to context

* feat: start added

* fix: remove optional spaceId

* fix: inf-bug

* fix: effectAdded

* fix(spaces): add is supported check in start

* refactor: added-join-functionalities

* fix: screens

* refactor: added-join-functionalities (#507)

* refactor: added-join-functionalities

* fix: screens

* fix(spaces): fix livepeer stream creation in start

* fix: join function

---------

Co-authored-by: samarendra-push <[email protected]>
Co-authored-by: Samarendra Gouda <[email protected]>

* refactor: added feature of triggering widget from sdk

* fix(spaces): fix join as speaker and listner

* fix: resolved updating env and other class variables

* Spaces/UI migration (#510)

* fix: ui-migration

* fix: migration fixes

* refactor: added notification socket for space in uiweb

* feat: add remove and admin func to invite modal (#509)

* feat: add remove and admin func to invite modal

* fix: fix null

* fix(spaces): fix start

* feat: add join functionality to invited spaces (#512)

* feat: add join functionality to invited spaces

* fix: open space widget after joining

* refactor: add audio playback from space speakers (#511)

* refactor: added a hidden Video container

* fix: migrated initSpaceObject to parent component

* feat(spaces): add user feeds socket handler logic

* fix: fix create invite UI edge cases (#515)

* fix: fix create invite UI edge cases

* fix: fix env

* fix: fix state behaviour

* fix: add wallet as name if name string empty

add wallet as name if name string empty

* refactor: added join function and socket code (#517)

* refactor: added join function and socket code

* refactor(spaces): fix mesh creation logic

* refactor(spaces): remove unused imports from context

* refactor(spaces): remove unused code and improve positioning of code blocks

---------

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

* Fix isJoined, add hidden video tag (#514)

* refactor: added a hidden Video container

* fix: migrated initSpaceObject to parent component

* fix: WIP isJoined

* fix: join as a listener

---------

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

* fix(spaces): add create audio call before join for speakers (#518)

* Widget/videoplayer (#519)

* refactor: added a hidden Video container

* fix: migrated initSpaceObject to parent component

* fix: WIP isJoined

* fix: revert husky

* fix: nx.json revert

* fix: join as a listener

* fix: start ui-logic refactor

* fix: merge-conflicts

* fix: isListener

* fix(spaces): fix isSpeaker and isListner logic

* feat: added blockies (#523)

---------

Co-authored-by: Nilesh Gupta <[email protected]>
Co-authored-by: Arnab Chatterjee <[email protected]>
Co-authored-by: Samarendra Gouda <[email protected]>
Co-authored-by: Samarendra Gouda <[email protected]>
Co-authored-by: Shoaib Mohammed <[email protected]>
Co-authored-by: aman035 <[email protected]>
Co-authored-by: samarendra-push <[email protected]>

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

* Update README.md

* fix: rename chats to spaces

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

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

* fix: spaces examples fixes

* fix: renamed spaces variables and removed some unused variables

* Update README.md

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

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

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

* fix: corrections

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

* fix: space api

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

* fix: use SpaceIFeeds

* fix: signer compatibility with viem and ethers

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

* fix: space feed API path fix

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

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

* fix: revert space changes

* fix: merge main

* fix: signer compatibility with viem and ethers (#567)

* fix: signer compatibility with viem and ethers

* fix: revert space changes

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

* Update README.md

* Update README.md

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

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

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

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

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

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

* fix: add: scw sig verification (#593)

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

* fix: url correction

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

* ci(socket): 🎉 cut release to socket-v0.5.2

* fix: fixed subscribe and unsubscribe

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

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

* Feat/chat components (#621)

* 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]>

---------

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

* fix: add alpha support to UI web

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

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

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

* Feat/chat components (#625)

* 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]>

---------

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

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

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

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

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

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

* 632 group access control sdk changes (#640)

* fix: group access control changes

* fix: get group access SDK fix

* fix: removed unnecessary param

* Update README.md

* Update README.md

* Update README.md

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

* Reduce profile creation signature to 2 (#639)

* fix: reduced signatures

* fix: fixed examples

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

* 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: KlausMikh…
  • Loading branch information
17 people authored Nov 7, 2023
1 parent 8e61f6b commit 297e68c
Show file tree
Hide file tree
Showing 4 changed files with 101 additions and 10 deletions.
1 change: 1 addition & 0 deletions packages/restapi/src/lib/payloads/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export const SOURCE_TYPES = {
ARBITRUMONE_MAINNET: "ARBITRUMONE_MAINNET",
THE_GRAPH: 'THE_GRAPH',
PUSH_VIDEO: 'PUSH_VIDEO',
SIMULATE: 'SIMULATE'
};

export enum IDENTITY_TYPE {
Expand Down
47 changes: 44 additions & 3 deletions packages/restapi/src/lib/payloads/sendNotifications.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,14 @@ import {
isValidCAIP10NFTAddress,
isValidETHAddress,
} from '../helpers';
import { IDENTITY_TYPE, DEFAULT_DOMAIN } from './constants';
import {
IDENTITY_TYPE,
DEFAULT_DOMAIN,
NOTIFICATION_TYPE,
SOURCE_TYPES,
} from './constants';
import { ENV } from '../constants';

import { getChannel } from '../channels/getChannel';
/**
* Validate options for some scenarios
*/
Expand Down Expand Up @@ -53,6 +58,35 @@ function validateOptions(options: any) {
}
}

/**
*
* @param payloadOptions channel, recipient and type tp verify whether it is a simulate type
* @returns boolean
*/
async function checkSimulateNotification(payloadOptions: {
channel: string;
recipient: string | string[] | undefined;
type: NOTIFICATION_TYPE;
env: ENV | undefined;
}): Promise<boolean> {
const { channel, recipient, type, env } = payloadOptions || {};
// fetch channel info
const channelInfo = await getChannel({
channel: channel,
env: env,
});
// check if channel exists, if it does then its not simulate type
if (channelInfo) return false;
else {
// if no channel info found, check if channel address = recipient and notification type is targeted
const convertedRecipient =
typeof recipient == 'string' && recipient?.split(':').length == 3
? recipient.split(':')[2]
: recipient;
return channel == convertedRecipient && type == NOTIFICATION_TYPE.TARGETTED;
}
}

export async function sendNotification(options: ISendNotificationInputOptions) {
try {
const {
Expand Down Expand Up @@ -133,7 +167,14 @@ export async function sendNotification(options: ISendNotificationInputOptions) {
ipfsHash,
});

const source = getSource(chainId, identityType, senderType);
const source = (await checkSimulateNotification({
channel: options.channel,
recipient: options.recipients,
type: options.type,
env: options.env,
}))
? SOURCE_TYPES.SIMULATE
: getSource(chainId, identityType, senderType);

const apiPayload = {
verificationProof,
Expand Down
61 changes: 55 additions & 6 deletions packages/restapi/tests/lib/pushNotification/channel.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ describe('PushAPI.channel functionality', () => {
let account1: string;
let signer2: any;
let account2: string;
let userNoChannel: PushAPI;
let noChannelSigner: any;
let noChannelAddress: string;

beforeEach(async () => {
signer1 = new ethers.Wallet(`0x${process.env['WALLET_PRIVATE_KEY']}`);
Expand All @@ -29,6 +32,11 @@ describe('PushAPI.channel functionality', () => {
provider
);
account2 = await signer2.getAddress();

const WALLET = ethers.Wallet.createRandom();
noChannelSigner = new ethers.Wallet(WALLET.privateKey);
noChannelAddress = await noChannelSigner.getAddress();

enum ENV {
PROD = 'prod',
STAGING = 'staging',
Expand All @@ -39,12 +47,14 @@ describe('PushAPI.channel functionality', () => {
LOCAL = 'local',
}
// initialisation with signer and provider
userKate = await PushAPI.initialize(signer2, {env: ENV.DEV})
userKate = await PushAPI.initialize(signer2, { env: ENV.DEV });
// initialisation with signer
userAlice = await PushAPI.initialize(signer2);
// TODO: remove signer1 after chat makes signer as optional
//initialisation without signer
userBob = await PushAPI.initialize(signer1);
// initialisation with a signer that has no channel
userNoChannel = await PushAPI.initialize(noChannelSigner);
});

describe('channel :: info', () => {
Expand All @@ -65,15 +75,15 @@ describe('PushAPI.channel functionality', () => {
const res = await userBob.channel.info(
'eip155:5:0x93A829d16DE51745Db0530A0F8E8A9B8CA5370E5'
);
// console.log(res);
// console.log(res);
expect(res).not.null;
});
});

describe('channel :: search', () => {
it('Without signer and account : Should return response', async () => {
const res = await userBob.channel.search(' ');
// console.log(res);
// console.log(res);
expect(res).not.null;
});

Expand Down Expand Up @@ -207,7 +217,7 @@ describe('PushAPI.channel functionality', () => {
body: 'testing with random body',
cta: 'https://google.com/',
embed: 'https://avatars.githubusercontent.com/u/64157541?s=200&v=4',
category: 2
category: 2,
},
}
);
Expand Down Expand Up @@ -258,6 +268,41 @@ describe('PushAPI.channel functionality', () => {
);
expect(res.status).to.equal(204);
});

it('With signer : subset : Should send notification with title and body along with additional options for alias', async () => {
const res = await userAlice.channel.send(
[
'eip155:97:0xD8634C39BBFd4033c0d3289C4515275102423681',
'eip155:97:0x93A829d16DE51745Db0530A0F8E8A9B8CA5370E5',
],
{
notification: {
title: 'hi',
body: 'test-subset',
},
payload: {
title: 'testing first subset notification',
body: 'testing with random body',
cta: 'https://google.com/',
embed: 'https://avatars.githubusercontent.com/u/64157541?s=200&v=4',
},
channel: 'eip155:97:0xD8634C39BBFd4033c0d3289C4515275102423681',
}
);
expect(res.status).to.equal(204);
});
it('With signer : SIMULATED : Should send notification with title and body', async () => {
const res = await userNoChannel.channel.send(
[`eip155:5:${noChannelAddress}`],
{
notification: {
title: 'hi',
body: 'test-targeted-simulated',
},
}
);
expect(res.status).to.equal(204);
});
});

describe.skip('channel :: update', () => {
Expand Down Expand Up @@ -289,9 +334,13 @@ describe('PushAPI.channel functionality', () => {
describe('channel :: settings', () => {
it('Should create channel', async () => {
const res = await userKate.channel.setting([
{type: 2, default: 5, description: "My notif setting 2", data: {upper:100, lower:5, ticker: 10, enabled: true}},
{
type: 2,
default: 5,
description: 'My notif setting 2',
data: { upper: 100, lower: 5, ticker: 10, enabled: true },
},
{ type: 1, default: 1, description: 'My Notif Settings' },

]);
// console.log(res)
expect(res).not.null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('PushAPI.notification functionality', () => {
`0x${process.env['NFT_HOLDER_WALLET_PRIVATE_KEY_1']}`
);
account1 = await signer1.getAddress();

const provider = new ethers.providers.JsonRpcProvider(
'https://goerli.blockpi.network/v1/rpc/public'
);
Expand Down

0 comments on commit 297e68c

Please sign in to comment.