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

chore: Change user search name surname highlight logic #WPB-6536 #3545

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

m-zagorski
Copy link
Contributor

@m-zagorski m-zagorski commented Oct 23, 2024

BugWPB-6536 [Android] Highlight missing at @ sign while searching for a user

https://wearezeta.atlassian.net/browse/WPB-6536

What's new in this PR?

Issues

When we're searching for users, we were not highlighting @

Solutions

We take into considerations the prefix, and now queries with @ highlight properly. There is an edge case where our search for @mat would return results without @ and we do not highlight anything, but I confirmed with Vina that it is fine in that case.

Testing

How to Test

Search for users with @ and without, check if proper parts of name and surname are highlighted. In the task description there are also places where it shouldnt change after this changes


PR Post Submission Checklist for internal contributors (Optional)

  • Wire's Github Workflow has automatically linked the PR to a JIRA issue

PR Post Merge Checklist for internal contributors

  • If any soft of configuration variable was introduced by this PR, it has been added to the relevant documents and the CI jobs have been updated.

References
  1. https://sparkbox.com/foundry/semantic_commit_messages
  2. https://github.com/wireapp/.github#usage
  3. E.g. feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764.

@echoes-hq echoes-hq bot added the echoes: unplanned Any work item that isn’t part of the product or technical roadmap. label Oct 23, 2024
Copy link

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 45.30%. Comparing base (bc37f84) to head (562b6fb).
Report is 3 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3545      +/-   ##
===========================================
- Coverage    45.31%   45.30%   -0.02%     
===========================================
  Files          470      469       -1     
  Lines        15710    15714       +4     
  Branches      2629     2630       +1     
===========================================
  Hits          7119     7119              
- Misses        7844     7847       +3     
- Partials       747      748       +1     

see 10 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bc37f84...562b6fb. Read the comment docs.

Copy link
Contributor

Built wire-android-staging-compat-pr-3545.apk is available for download

Copy link
Contributor

Built wire-android-dev-debug-pr-3545.apk is available for download

@MohamadJaara MohamadJaara added this pull request to the merge queue Oct 24, 2024
Merged via the queue into develop with commit af36e51 Oct 24, 2024
12 of 13 checks passed
@MohamadJaara MohamadJaara deleted the chore/change-user-search-highlights branch October 24, 2024 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
echoes: unplanned Any work item that isn’t part of the product or technical roadmap. size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants