-
Notifications
You must be signed in to change notification settings - Fork 8
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
[CP-2000] [Messages] Search results seems to be in random order. #1408
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #1408 +/- ##
===========================================
- Coverage 76.68% 76.67% -0.02%
===========================================
Files 918 921 +3
Lines 13665 13696 +31
Branches 2040 2051 +11
===========================================
+ Hits 10479 10501 +22
- Misses 2606 2616 +10
+ Partials 580 579 -1
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very cool job 🍻 As part of my review, I've included a few questions that shouldn't block the pull request and shouldn't have a significant impact on the proposed changes.
@@ -53,7 +53,7 @@ const mapStateToProps = (state: RootModel & ReduxRootState) => { | |||
allItemsSelected: state.contacts.selectedItems.allItemsSelected, | |||
resultState: contacts.resultState, | |||
contactList: contactsList, | |||
flatList: flatListSelector(state), | |||
contacts: contactsSelector(state), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
* For licensing, see https://github.com/mudita/mudita-center/blob/master/LICENSE.md | ||
*/ | ||
|
||
export const sortByLastNameAscending = <T extends { lastName?: string }>( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The function name seems to be isn't equal to a file name. Is it intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nope :D forget about it, thanks
import { ExportContactFailedModal } from "../export-contact-failed-modal/export-contact-failed-modal.component" | ||
import { applyValidationRulesToImportedContacts } from "App/contacts/helpers/apply-validation-rules-to-imported-contacts/apply-validation-rules-to-imported-contacts" | ||
import { ExportContactsResult } from "App/contacts/constants" | ||
import DeleteContactsPopup from "./delete-contacts-popup/delete-contacts-popup.component" | ||
import { differenceWith, isEqual } from "lodash" | ||
import { filterContacts } from "App/messages/helpers/messages.helpers" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure, so I'll ask if contact filtering should be the domain of messages? 🤔
…er if they select more files than they can add within the limit [Harmony] (#1402) Co-authored-by: Łukasz Kowalczyk <[email protected]> Co-authored-by: patryk-sierzega <[email protected]> Co-authored-by: Łukasz Kowalczyk <[email protected]> Co-authored-by: Daniel Karski <[email protected]>
The merge-base changed after approval.
Jira: CP-2000
Description