Sort by inbox position to match phone after link

This commit is contained in:
Josh Perez 2020-03-09 17:43:09 -07:00 committed by Scott Nonnenberg
parent 1f5cb9e8af
commit 4830213a12
25 changed files with 707 additions and 1029 deletions

View file

@ -17,6 +17,7 @@ describe('state/selectors/conversations', () => {
activeAt: Date.now(),
name: 'No timestamp',
timestamp: 0,
inboxPosition: 0,
phoneNumber: 'notused',
isArchived: false,
@ -36,6 +37,7 @@ describe('state/selectors/conversations', () => {
activeAt: Date.now(),
name: 'B',
timestamp: 20,
inboxPosition: 21,
phoneNumber: 'notused',
isArchived: false,
@ -55,6 +57,7 @@ describe('state/selectors/conversations', () => {
activeAt: Date.now(),
name: 'C',
timestamp: 20,
inboxPosition: 22,
phoneNumber: 'notused',
isArchived: false,
@ -74,6 +77,7 @@ describe('state/selectors/conversations', () => {
activeAt: Date.now(),
name: 'Á',
timestamp: 20,
inboxPosition: 20,
phoneNumber: 'notused',
isArchived: false,
@ -93,6 +97,7 @@ describe('state/selectors/conversations', () => {
activeAt: Date.now(),
name: 'First!',
timestamp: 30,
inboxPosition: 30,
phoneNumber: 'notused',
isArchived: false,