Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In-App chat notifications #1945

Merged
merged 16 commits into from
Nov 7, 2024
Merged

In-App chat notifications #1945

merged 16 commits into from
Nov 7, 2024

Conversation

mishramonalisha76
Copy link
Collaborator

@mishramonalisha76 mishramonalisha76 commented Oct 29, 2024

Pull Request Template

Ticket Number

Description

  • Problem/Feature:

Type of Change

  • Bug fix
  • New feature
  • Code refactor
  • Documentation update
  • Other (please describe):

Checklist

  • Quick PR: Is this a quick PR? Can be approved before finishing a coffee.
    • Quick PR label added
  • Not Merge Ready: Is this PR dependent on some other PR/tasks and not ready to be merged right now.
    • DO NOT Merge PR label added

Frontend Guidelines

Build & Testing

  • No errors in the build terminal
  • Engineer has tested the changes on their local environment
  • Engineer has tested the changes on deploy preview

Screenshots/Video with Explanation

image image image image

Additional Context

Review & Approvals

  • Self-review completed
  • Code review by at least one other engineer
  • Documentation updates if applicable

Notes

Copy link

All looks good.

Copy link

github-actions bot commented Oct 29, 2024

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

Copy link

In the FillCircle component in FillCircle.tsx:

  1. The width and height attributes should not be set to "inherit" but to specific values like "20" for a consistent size.
  2. The stroke attribute is missing in the circle element.

In the Image component in Image.tsx:

  1. Several path elements are missing the opening tag <path>.
  2. The stroke attributes should be wrapped in the path tags.

In the Notification component in Notification.tsx:

  1. The Notification component function is missing a return statement.
  2. The notification object is not properly closed with curly braces.
  3. There is an extra closing curly brace at the end of the file before exporting.

Other than these issues, the code structure and logic seem fine.

Please address the mentioned issues and run a thorough test before proceeding.

All looks good.

Copy link

All looks good.

@mishramonalisha76 mishramonalisha76 linked an issue Oct 29, 2024 that may be closed by this pull request
@mishramonalisha76 mishramonalisha76 self-assigned this Oct 29, 2024
Copy link

I have reviewed the code in the specified files:

  • In FillCircle.tsx and Image.tsx files, there seems to be a formatting issue in the SVG paths. The paths are not correctly enclosed within <path> tags and there are missing <path> tags for some paths. The CircleFilled and Image components are also missing closing tags for some elements.

  • In Notification.tsx, there is a missing closing bracket for the useGetGroupInfo function.

  • In Common.utils.tsx, there is a missing closing bracket for the formatSubscriberCount function, and the isValidURL function is missing a closing bracket and a return statement.

  • In Notification.types.ts, the closeOnTimeout property should be replaced with onAutoClose.

  • There are several incomplete files and directories with no content or incomplete content.

Please make the necessary corrections and completion of the files and directories mentioned above. Let me know if you need further assistance.

Copy link

github-actions bot commented Nov 7, 2024

All looks good.

Copy link

github-actions bot commented Nov 7, 2024

All looks good.

src/common/components/InAppChatNotifications.tsx Outdated Show resolved Hide resolved
src/queries/hooks/chat/useGetGroupInfo.ts Outdated Show resolved Hide resolved
src/queries/hooks/chat/useGetGroupInfo.ts Outdated Show resolved Hide resolved
src/queries/hooks/chat/useGetGroupInfo.ts Outdated Show resolved Hide resolved
src/queries/hooks/user/useGetProfileDetails.ts Outdated Show resolved Hide resolved
Copy link

github-actions bot commented Nov 7, 2024

All looks good.

@rohitmalhotra1420 rohitmalhotra1420 merged commit 66344c3 into main Nov 7, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable in-app notifications for push-chat
2 participants