Skip to content

Peterson fixed the bug where the dropdown does not filter the users table#3860

Open
peterson337 wants to merge 6 commits intodevelopmentfrom
Peterson-fix-the-bug-where-the-dropdown-does-not-filter-the-users-table-2
Open

Peterson fixed the bug where the dropdown does not filter the users table#3860
peterson337 wants to merge 6 commits intodevelopmentfrom
Peterson-fix-the-bug-where-the-dropdown-does-not-filter-the-users-table-2

Conversation

@peterson337
Copy link
Copy Markdown
Contributor

Description

This PR was opened to fix the bug that prevents the filter from updating the users table on the User Management page.

Related PRS (if any):

None.

Main changes explained:

The UserManagement.jsx component has been modified to fix the bug.

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 in as an admin or owner user
  5. Go to Other Links → User Management
  6. Click on the dropdown named "Show" and select any option. A message should appear, and after some time, it should be hidden. Then, the users table should be filtered according to the selected option.

Screenshots or videos of changes:

Before my fix

Before my fix

After my fix

After my fix

Note:

None.

@peterson337 peterson337 added the do not review Do not review or look at code without full context label Aug 7, 2025
@netlify
Copy link
Copy Markdown

netlify Bot commented Aug 7, 2025

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit 824efa8
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/69e8005ae00b4200089c829f
😎 Deploy Preview https://deploy-preview-3860--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.

@peterson337 peterson337 removed the do not review Do not review or look at code without full context label Aug 7, 2025
Namitha7070
Namitha7070 previously approved these changes Aug 7, 2025
Copy link
Copy Markdown
Contributor

@Namitha7070 Namitha7070 left a comment

Choose a reason for hiding this comment

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

After selecting the inactive and pause options, the user table is getting filtered and displaying the correct table. Everything is working as expected.

Recording.2025-08-07.130842.mp4

@nikitha2n
Copy link
Copy Markdown

I interacted with the "Show" dropdown, selected different options, and confirmed that the notification message appeared briefly and then disappeared as expected. The users table filtered correctly according to the selected option each time. Everything is working as intended. No issues found.

PR_3860.mp4

Nahiyan-16
Nahiyan-16 previously approved these changes Aug 10, 2025
Copy link
Copy Markdown
Contributor

@Nahiyan-16 Nahiyan-16 left a comment

Choose a reason for hiding this comment

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

Nice work, Peterson! The refactor makes the logic cleaner, especially splitting out updateGetFilteredData for reuse. The table filtering after the "Show" dropdown works as expected now — message displays, disappears, and the results update correctly. Just make sure the extra commas and formatting are consistent throughout for readability.

Recording.2025-08-09.231617.mp4

Copy link
Copy Markdown

@Naveen-Kumar-Reddy-27 Naveen-Kumar-Reddy-27 left a comment

Choose a reason for hiding this comment

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

PR Review Summary:

Checked out the branch and ran npm install successfully.
Cleared cache and logged in as an admin/owner.
Navigated to Other Links → User Management.
Verified the "Show" dropdown: selecting an option displays a temporary message and filters the users table correctly.
Everything is working as expected.

PR 3860 PR 3860 filter

@beblicarl
Copy link
Copy Markdown
Contributor

This functionality works as intended and the code is great

https://www.loom.com/share/db8f5a56a0134dc4814e21b8247923c1?sid=d40813e8-e100-4944-be1a-19dabf5ee7fd

@beblicarl beblicarl self-requested a review August 28, 2025 13:46
beblicarl
beblicarl previously approved these changes Aug 28, 2025
@hemanthvenkat
Copy link
Copy Markdown

Navigated to Other Links → User Management, selected an option from the Show dropdown, verified that the message displayed and then disappeared after a short time, and confirmed that the users table was correctly filtered based on the selected option.

PR3860.mp4
image

@AbhishekSrikanth
Copy link
Copy Markdown
Contributor

The Show table filter button is functional. Each filter takes about a second to filter and the results are displayed after loading message. Working as expected.

PR3860.mp4

Copy link
Copy Markdown
Contributor

@deep3072 deep3072 left a comment

Choose a reason for hiding this comment

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

Reviewed the changes and the message appears when any filter is changed next to "Show" button. It appears on every filter change. The code changes looks good. Approved.

Screen.Recording.2025-09-20.at.23.24.58.mov

@peterson337 peterson337 dismissed stale reviews from beblicarl, Nahiyan-16, and Namitha7070 via 9f8f2b1 April 21, 2026 20:47
@peterson337 peterson337 force-pushed the Peterson-fix-the-bug-where-the-dropdown-does-not-filter-the-users-table-2 branch from 9f8f2b1 to 76c72a6 Compare April 21, 2026 21:01
@sonarqubecloud
Copy link
Copy Markdown

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.

9 participants