Skip to content

Peterson implemented the 'No user found' message in the autocomplete#3855

Merged
one-community merged 3 commits into
developmentfrom
peterson-implement-no-user-found-message-in-autocomplete-2
May 14, 2026
Merged

Peterson implemented the 'No user found' message in the autocomplete#3855
one-community merged 3 commits into
developmentfrom
peterson-implement-no-user-found-message-in-autocomplete-2

Conversation

@peterson337
Copy link
Copy Markdown
Contributor

Description

On the Permission Management page, there is a modal called 'Manage User Permissions' that contains an input field with an autocomplete feature. As the user types in the input, the autocomplete displays user names that match the typed text. However, if the user enters a non-existent user name, no message is shown in the autocomplete. This PR was opened to add a message indicating that no user was found when this situation occurs.

Related PRS (if any):

None.

Main changes explained:

The UserPermissionsPopUp.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→ Permissions Management → Manage User Permissions
  6. Type the name of a user that does not exist, and the message 'No user found' should be displayed in the autocomplete.

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 6, 2025
@netlify
Copy link
Copy Markdown

netlify Bot commented Aug 6, 2025

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit cf21499
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/6a05297350547a0008094472
😎 Deploy Preview https://deploy-preview-3855--highestgoodnetwork-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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 6, 2025
@Rishitha1810
Copy link
Copy Markdown

Navigated to Other Links → Permissions Management → Manage User Permissions. Tested the autocomplete functionality by typing the name of a non-existent user. Verified that the message 'No user found' is correctly displayed, confirming expected behavior for empty search results.
Screenshot 2025-08-06 at 2 06 25 PM

Copy link
Copy Markdown
Contributor

@shashankm9 shashankm9 left a comment

Choose a reason for hiding this comment

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

I have tested this PR. 'No user found' is displayed in the autocomplete when typed unexciting user name in the Manage User Permissions search bar.
Screenshot 2025-08-06 205738

ShravyaKudlu
ShravyaKudlu previously approved these changes Aug 7, 2025
Copy link
Copy Markdown
Contributor

@ShravyaKudlu ShravyaKudlu left a comment

Choose a reason for hiding this comment

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

Works well in light and dark and mode
Screenshot from 2025-08-07 10-41-13
Screenshot from 2025-08-07 10-41-24

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.

Verified that the message "No user found" is correctly displayed upon entering a non-existent user name.

Untitled.video.-.Made.with.Clipchamp.4.mp4

@nikitha2n
Copy link
Copy Markdown

I navigated to Other Links → Permissions Management → Manage User Permissions and tested the autocomplete by entering a non-existent user name. The message "No user found" was displayed as expected, confirming correct behavior for empty search results.

PR_3855

Copy link
Copy Markdown
Contributor

@sohailuddinsyed sohailuddinsyed left a comment

Choose a reason for hiding this comment

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

On typing in the name of a user that does not exist, the message 'No user found' is displayed in the autocomplete.

Screenshot 2025-08-09 230036

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.

Checked out branch, installed dependencies, cleared cache, and logged in as admin.
Navigated to Other Links → Permissions Management → Manage User Permissions.
Typed a non-existent username; verified "No user found" message appears in autocomplete.
Functionality works as expected.

PR 3855

@beblicarl
Copy link
Copy Markdown
Contributor

This feature works as intended and the code is great

https://www.loom.com/share/b4d9dc2972ae4f6aad5a02fc688922cc?sid=c30347d4-73bc-4e63-a902-380aebfedc10

@beblicarl beblicarl self-requested a review August 22, 2025 13:48
beblicarl
beblicarl previously approved these changes Aug 22, 2025
@AbhishekSrikanth
Copy link
Copy Markdown
Contributor

Autocomplete displays 'No user found' when a user does not exist in the drop down in Permissions Management page.

PR3855.mp4

@sonarqubecloud
Copy link
Copy Markdown

@one-community
Copy link
Copy Markdown
Member

Thank you all, merging!

@one-community one-community merged commit 8d22d61 into development May 14, 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.