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

feat: Search inside conversation (WPB-4915) #2358

Merged
merged 39 commits into from
Oct 23, 2023

Conversation

alexandreferris
Copy link
Contributor

@alexandreferris alexandreferris commented Oct 20, 2023

StoryWPB-4915 [Android] search for text inside the conversation


PR Submission Checklist for internal contributors

  • The PR Title

    • conforms to the style of semantic commits messages¹ supported in Wire's Github Workflow²
    • contains a reference JIRA issue number like SQPIT-764
    • answers the question: If merged, this PR will: ... ³
  • The PR Description

    • is free of optional paragraphs and you have filled the relevant parts to the best of your ability

What's new in this PR?

Issues

No way to search messages from a conversation.

Causes (Optional)

Not implemented.

Solutions

Addition of screen to search messages of selected conversation.
Entry points:

  • Group Details Screen
  • Other User Profile Screen

There is a minimum of 2 characters to start the search and a debounce of 500ms in between each search.

This PR aims only to display the searched messages and not being able to select a message and navigate to its place in Conversation screen.

Dependencies (Optional)

Needs releases with:

Testing

Test Coverage (Optional)

  • I have added automated test to this contribution

How to Test

  • Open App
  • Open a Conversation (Group or 1:1)
  • Open Search
  • Type desired message to search
  • Results will be displayed but not selectable yet.

Attachments (Optional)

Default No Results
One Result Multiple Results

# Conflicts:
#	app/src/main/kotlin/com/wire/android/ui/home/conversations/ConversationScreen.kt
# Conflicts:
#	app/src/main/kotlin/com/wire/android/ui/home/conversations/details/GroupConversationDetailsScreen.kt
Copy link
Contributor

@yamilmedina yamilmedina left a comment

Choose a reason for hiding this comment

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

Looks pretty good and solid to me 🚀
Just added small suggestions, so if it does not makes sense, juit skip them :D

@yamilmedina yamilmedina self-requested a review October 23, 2023 08:44
@github-actions
Copy link
Contributor

APKs built during tests are available here. Scroll down to Artifacts!

@AndroidBob
Copy link
Collaborator

Build 1465 succeeded.

The build produced the following APK's:

Copy link
Member

@vitorhugods vitorhugods left a comment

Choose a reason for hiding this comment

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

Awesome work. Just one suggestion to make MessageItem more reusable.

@github-actions
Copy link
Contributor

APKs built during tests are available here. Scroll down to Artifacts!

@AndroidBob
Copy link
Collaborator

Build 1471 succeeded.

The build produced the following APK's:

@alexandreferris alexandreferris added this pull request to the merge queue Oct 23, 2023
Merged via the queue into develop with commit 046f846 Oct 23, 2023
12 checks passed
@alexandreferris alexandreferris deleted the feat/search_inside_conversation branch October 23, 2023 14:20
@echoes-hq echoes-hq bot added the echoes: product-roadmap Work aligned with the customer-announced roadmap, targeting a specific release date. label Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
echoes: product-roadmap Work aligned with the customer-announced roadmap, targeting a specific release date. size/XXL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants