Skip to content

fix(search): also search for user mentions#8312

Merged
mejo- merged 1 commit intomainfrom
fix/search_mentions
Mar 9, 2026
Merged

fix(search): also search for user mentions#8312
mejo- merged 1 commit intomainfrom
fix/search_mentions

Conversation

@mejo-
Copy link
Member

@mejo- mejo- commented Mar 6, 2026

Adds user mentions to results if the display name starts with search query.

If search query starts with @, strip it before checking if user mention matches.

Contributes to nextcloud/collectives#2299

🖼️ Screenshots

🏚️ Before 🏡 After
image image
image image

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits
  • Tests (unit, integration and/or end-to-end) passing and the changes are covered with tests

@mejo- mejo- self-assigned this Mar 6, 2026
@mejo- mejo- added bug Something isn't working 3. to review labels Mar 6, 2026
@mejo- mejo- force-pushed the fix/search_mentions branch from bf01bed to 1593113 Compare March 6, 2026 19:58
Adds user mentions to results if the display name starts with search
query.

If search query starts with `@`, strip it before checking if user
mention matches.

Contributes to nextcloud/collectives#2299

Signed-off-by: Jonas <jonas@freesources.org>
@mejo- mejo- force-pushed the fix/search_mentions branch from 1593113 to da792be Compare March 6, 2026 19:59
@codecov
Copy link

codecov bot commented Mar 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@mejo- mejo- merged commit 01747e2 into main Mar 9, 2026
60 of 64 checks passed
@mejo- mejo- deleted the fix/search_mentions branch March 9, 2026 20:23
@mejo-
Copy link
Member Author

mejo- commented Mar 9, 2026

/backport to stable33

1 similar comment
@mejo-
Copy link
Member Author

mejo- commented Mar 10, 2026

/backport to stable33

@mejo-
Copy link
Member Author

mejo- commented Mar 10, 2026

/backport to stable32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants