Skip to content

fix(pickers): show people the server found even when the row text differs - #570

Merged
anantjain341 merged 1 commit into
devfrom
fix/people-picker-server-search
Dec 1, 2026
Merged

anantjain341 merged 1 commit into
devfrom
fix/people-picker-server-search

Conversation

@anantjain341

Copy link
Copy Markdown

The people pickers (use case People & Organisations, collaborative People, publication Contributors) now show every person searchUsers returns, even when the row's name and grey line do not contain the typed text.

Before, the picker filtered the server's results again in the browser on the row's name + grey line. Someone found by their full email address or login name was hidden, because the row shows neither.

Rows from searchUsers now carry the search text they were found for (matchedSearch on EntityRow) and are shown for exactly that text. Organisation rows (not searched on the server) and results still on screen from an earlier search keep the browser filter. The Add member dialog is unchanged (it already shows the server's results as they are).

Needed for CivicDataLab/DataSpaceBackend#341, which stops sending other users' email and email-like login names. Safe to merge before it: on the current backend it only shows rows the server already returned.

What testers will see once DataSpaceBackend#341 is live (expected, not bugs):

  • People outside your organisations have no grey line under their name.
  • Typing part of an email finds no one; typing the full email finds the person.
  • People with no first or last name show the part of their email before the @.

…fers

The people pickers (use case, collaborative, publication contributors)
filtered the server's searchUsers results again in the browser, keeping
only rows whose name or grey line contained the typed text. A person
found by their full email address or login name was therefore hidden,
because the row shows neither.

Rows from searchUsers now carry the search text they were found for and
are shown for exactly that text. Organisation rows, which are not
searched on the server, and results still shown from an earlier search
keep the text filter.
@anantjain341
anantjain341 merged commit 3477c52 into dev Dec 1, 2026
2 checks passed

This branch was successfully deployed

1 active deployment
development — 90bee9cf Deployed Dec 1, 2026 by anantjain341 via build (24.x) #946
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