Skip to content

uha sms LB frontend changes redo of 4438#4700

Merged
one-community merged 9 commits intodevelopmentfrom
frontend-messaging
Apr 19, 2026
Merged

uha sms LB frontend changes redo of 4438#4700
one-community merged 9 commits intodevelopmentfrom
frontend-messaging

Conversation

@uhakruthi1
Copy link
Copy Markdown
Contributor

@uhakruthi1 uhakruthi1 commented Jan 11, 2026

Description
Screenshot 2026-01-11 at 9 40 28 PM
Screenshot 2026-01-11 at 9 40 35 PM

PR4438 was closed because it introduced a breaking issue. The work was redone and resubmitted in PR#4700 with the fixes applied.

Related PRS (if any):

This frontend PR is related to the PR#1999 backend PR.
Related PRs : PR1366, PR3476, PR#3311 , PR#1289

How to test:

  1. check into current branch
  2. do npm install and ... to run this PR locally
  3. Clear site data/cache
  4. log as admin user
  5. go to dashboard→ lbdashboard/messaging

Screenshots or videos of changes:

video2273694593.mp4

Note:

SMS notification support has been implemented as part of this work. However, the SMS provider requires a paid account for sending messages in the US, so end-to-end SMS delivery could not be fully tested in a live environment. The integration logic is in place and can be validated once a test or paid account is available.

@netlify
Copy link
Copy Markdown

netlify Bot commented Jan 11, 2026

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit cc56fe3
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/69e3bf53e443ec00080cf7c2
😎 Deploy Preview https://deploy-preview-4700--highestgoodnetwork-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@sonarqubecloud
Copy link
Copy Markdown

@uhakruthi1 uhakruthi1 changed the title frontend changes uha-frontend changes Jan 11, 2026
@uhakruthi1 uhakruthi1 changed the title uha-frontend changes uha frontend changes Jan 11, 2026
@uhakruthi1 uhakruthi1 changed the title uha frontend changes uha sms LB frontend changes Jan 12, 2026
@one-community one-community changed the title uha sms LB frontend changes uha sms LB frontend changes redo of 4438 Jan 12, 2026
Copy link
Copy Markdown

@Anusha-Gali Anusha-Gali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Uha,

I have reviewed your PR locally and though all functionalities do work as expected, the only issue is the notification. Do let me know if it is an issue from my end.

4700.mp4
Screenshot 2026-01-12 at 11 49 57 PM Screenshot 2026-01-12 at 11 50 09 PM Screenshot 2026-01-12 at 11 50 48 PM Screenshot 2026-01-12 at 11 51 15 PM Screenshot 2026-01-12 at 11 51 55 PM Screenshot 2026-01-13 at 12 03 58 AM

* @param {*} user - the user to be deleted
* @param {*} option - archive / delete
*/
export const deleteUser = (user, option) => {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The deleteUser function removes users from UI even when API delete fails , causing confusion when deleted users reappear after refresh

* @param {*} option - archive / delete
*/
export const deleteUser = (user, option) => {
const requestData = { option, userId: user._id };
Copy link
Copy Markdown

@naznin07 naznin07 Mar 7, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the optimistic UI only to implement rollback.

PR # 4700

@SharadhaKasiviswanathan
Copy link
Copy Markdown
Contributor

Tested the functionality locally which works as expected but unable to receive any notifications at my end.
Screenshot 2026-03-29 at 6 13 57 PM

@uhakruthi1 uhakruthi1 force-pushed the frontend-messaging branch 2 times, most recently from 46fa39b to 7cad209 Compare April 12, 2026 01:42
rajanidi1999
rajanidi1999 previously approved these changes Apr 15, 2026
Copy link
Copy Markdown

@rajanidi1999 rajanidi1999 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,
I have tested your PR review its running successfully.

Image

Anusha-Gali
Anusha-Gali previously approved these changes Apr 17, 2026
Copy link
Copy Markdown

@Anusha-Gali Anusha-Gali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Uha,

Thank you for fixing the notification issue. The feature works as per requirement.

Image Image
4700.mov

# Conflicts:
#	package-lock.json
#	src/components/Header/Header.module.css
@uhakruthi1 uhakruthi1 dismissed stale reviews from Anusha-Gali and rajanidi1999 via cc56fe3 April 18, 2026 17:28
@sonarqubecloud
Copy link
Copy Markdown

@one-community
Copy link
Copy Markdown
Member

Thank you all, merging!

@one-community one-community merged commit 5bc63f2 into development Apr 19, 2026
10 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.

7 participants