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

fix: show all matching users in CreatedBy filter popup #7516

Conversation

devin-ai-integration[bot]
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot commented Dec 20, 2024

Fix username filtering in CreatedBy filter popup

Description

When typing in the CreatedBy filter popup to search for users, some usernames were being hidden even when they matched the search text. This was happening because the filtering was restricted to only show users that were either previously selected or referenced in existing documents.

This change removes that restriction when searching, allowing all users that match the search pattern to be shown in the popup.

Changes

  • Modified ObjectFilter.svelte to show all matching users when searching, not just those in the targets set
  • Keeps the original behavior when not searching (showing only referenced/selected users)

Testing

The changes have been tested manually to verify:

  • All usernames that match the search text are now shown in the popup
  • Previously selected users are still preserved
  • The filter still works correctly when applying/removing users

Link to Devin run

https://app.devin.ai/sessions/ae05206c8c514a52bb3a94bce3f646bf

Huly®: UBERF-8984

When typing in the CreatedBy filter popup to search for users, some usernames
were being hidden even when they matched the search text. This was because
the filtering was restricted to only show users that were either previously
selected or referenced in existing documents.

This change removes that restriction when searching, allowing all users that
match the search pattern to be shown in the popup.

Co-Authored-By: aonnikov@hardcoreeng.com <aonnikov@hardcoreeng.com>
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR
  • Look at CI failures and help fix them

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Add "(aside)" to your comment to have me ignore it.

@Chunosov Chunosov closed this Dec 20, 2024
@Chunosov Chunosov deleted the devin/1734678338-fix-username-filter-popup branch December 20, 2024 07:40
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.

1 participant