push-protocol / push-dapp

The Push Protocol Dapp
https://app.push.org
Other
42 stars 36 forks source link

[BUMP SDK IN DAPP] - Fix the the modal close behaviour on click outside modal #1611

Closed abhishek-01k closed 5 days ago

abhishek-01k commented 1 month ago

Pull Request Template

Description

Create Group Modal will not be closed when clicked outside.

Type of Change

Checklist

Frontend Guidelines

Build & Testing

Screenshots/Video with Explanation

Additional Context

Review & Approvals

Notes

CreateGroupModal from @pushprotocol/uiweb

UserProfile from @pushprotocol/uiweb

ChatView from @pushprotocol/uiweb

Things that you need to test

github-actions[bot] commented 1 month ago

All looks good.

github-actions[bot] commented 1 month ago

PR Preview Action v1.4.7 :---: Preview removed because the pull request was closed. 2024-07-02 08:57 UTC

mishramonalisha76 commented 1 month ago

@abhishek-01k should we close the modal when disconnect the wallet in the dapp? because i think if we dont close it creating a group will give error.

github-actions[bot] commented 6 days ago

All looks good.

github-actions[bot] commented 6 days ago

In the package.json file:

  1. In the "start" script, there is a typo in "node dev-mode-link-local-sdk.mjs prodsdk cleanup nostart && yarn dev". It should be "node dev-mode-link-local-sdk.mjs prodsdk cleanup nostart && vite dev".
  2. In the "build" script, there is a typo in "NODE_OPTIONS=--max-old-space-size=8192 node dev-mode-link-local-sdk.mjs prodsdk cleanup nostart && vite build". It should be "NODE_OPTIONS=--max-old-space-size=8192 node dev-mode-link-local-sdk.mjs prodsdk cleanup nostart && vite build".
  3. In the "change" script, the second command "node build.mjs dev" is missing the "&&" before it. It should be "node dev-mode-link-local-sdk.mjs prodsdk cleanup nostart && node build.mjs dev".

In the ChatSection.tsx file:

  1. There is an unclosed comment block after "<Welcome".
  2. The styled component "IntroContainer" is missing a closing curly brace "}" at the end.
  3. The styled component "BackContainer" is missing a closing curly brace "}" at the end as well.

These are the corrections needed in the provided files.

rohitmalhotra1420 commented 5 days ago

@abhishek-01k This looks good to me. Please go ahead and make a alpha release for this and update this PR with the alpha release.

github-actions[bot] commented 5 days ago

In the package.json file, there are no apparent mistakes or typos. The scripts and dependencies seem to be correctly defined.

In the ChatSection.tsx file, there is a missing closing curly brace for the onChatSelected prop inside the Welcome component.

However, in the yarn.lock file, everything seems to be in order as well. The dependencies and resolutions are correctly specified.

All looks good.