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: Add pagination in searched messages result screen (WPB-5498) #2277

Merged
merged 8 commits into from
Nov 30, 2023

Conversation

alexandreferris
Copy link
Contributor


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

There was a bit of a performance issue when search result was extensive.

Solutions

Added pagination to search result (now its so blazing fast that sometimes the loading icon doesn't even show 😢 )

Testing

Test Coverage (Optional)

  • I have added automated test to this contribution

How to Test

AR PR will follow and it will be able to test the feature there.

Notes (Optional)

djk

@alexandreferris alexandreferris self-assigned this Nov 29, 2023
@alexandreferris alexandreferris changed the title feat: Add pagination in searched messages result screen feat: Add pagination in searched messages result screen (WPB-5498) Nov 29, 2023
Copy link
Contributor

github-actions bot commented Nov 29, 2023

Unit Test Results

   393 files   -   86     393 suites   - 86   29s ⏱️ - 2m 27s
2 291 tests  - 380  2 225 ✔️  - 342  66 💤  - 38  0 ±0 

Results for commit 02b408e. ± Comparison against base commit 7600fa8.

♻️ This comment has been updated with latest results.

@alexandreferris alexandreferris requested review from a team, typfel, yamilmedina, borichellow, ohassine, saleniuk and Garzas and removed request for a team November 29, 2023 16:15
@alexandreferris alexandreferris added this pull request to the merge queue Nov 30, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 30, 2023
@alexandreferris alexandreferris added this pull request to the merge queue Nov 30, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 30, 2023
@alexandreferris alexandreferris added this pull request to the merge queue Nov 30, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 30, 2023
@alexandreferris alexandreferris added this pull request to the merge queue Nov 30, 2023
Merged via the queue into develop with commit 2c6d056 Nov 30, 2023
17 checks passed
@alexandreferris alexandreferris deleted the feat/search_messages_pagination branch November 30, 2023 11:06
MohamadJaara pushed a commit that referenced this pull request Nov 30, 2023
…2277)

* feat: add db query change and repository for paginating result

* feat: return empty list of normal message for now

* feat: add paginated data usecase and its repository extension

* feat: remove unnecessary messageId from pagination as it was needed for count

* feat: remove unused functions for db query

* chore: adjust detekt

* test: remove existing and add new tests

* chore: remove unused usecase, repository and tests
MohamadJaara pushed a commit that referenced this pull request Dec 1, 2023
…2277)

* feat: add db query change and repository for paginating result

* feat: return empty list of normal message for now

* feat: add paginated data usecase and its repository extension

* feat: remove unnecessary messageId from pagination as it was needed for count

* feat: remove unused functions for db query

* chore: adjust detekt

* test: remove existing and add new tests

* chore: remove unused usecase, repository and tests
@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. 🚨 Potential breaking changes 👕 size: XL type: feature ✨
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants