Commit graph

536 commits

Author SHA1 Message Date
Matthew Chen
647d80d79d Unify the cell and avatar sizes. 2018-06-15 11:15:21 -04:00
Matthew Chen
1acf51ea5c Unify the cell and avatar sizes. 2018-06-15 11:08:01 -04:00
Matthew Chen
261719e53b Unify the cell and avatar sizes. 2018-06-15 10:42:38 -04:00
Matthew Chen
40e5bcc23f Respond to CR. 2018-06-15 10:03:15 -04:00
Matthew Chen
dd49c6225f Auto-size contact cells everywhere. 2018-06-15 10:01:16 -04:00
Matthew Chen
a51e9b78b0 Improve search query construction. 2018-06-14 16:18:13 -04:00
Matthew Chen
95ac17bb7e Merge tag '2.26.0.24' 2018-06-14 15:07:47 -04:00
Michael Kirk
0dec029a69 Don't mark as read when callscreen is active
// FREEBIE
2018-06-13 15:42:01 -04:00
Matthew Chen
c8fee4efa7 Add swift logging to SSK. 2018-06-13 13:56:55 -04:00
Matthew Chen
44b23d44fd Respond to CR. 2018-06-13 12:40:34 -04:00
Matthew Chen
99677899b1 Respond to CR. 2018-06-13 12:37:34 -04:00
Matthew Chen
f0c1805de9 Strip snippet formatting. 2018-06-13 12:34:24 -04:00
Matthew Chen
9639d3cbae Clean up ahead of PR. 2018-06-13 12:34:24 -04:00
Matthew Chen
3f9f2abcd8 Style the search results. 2018-06-13 12:34:24 -04:00
Matthew Chen
f4a559156c Style the search results. 2018-06-13 12:34:24 -04:00
Matthew Chen
646073c92d Check contacts access when notified of contacts changes. 2018-06-13 11:19:02 -04:00
Matthew Chen
ebc5356a9f Respond to CR. 2018-06-13 11:05:53 -04:00
Matthew Chen
758913f959 Respond to CR. 2018-06-13 11:03:52 -04:00
Matthew Chen
4abd3f58cd Order the search results. 2018-06-13 11:03:52 -04:00
Matthew Chen
37d3dfdfb6 Merge tag '2.26.0.23' 2018-06-13 10:25:19 -04:00
Matthew Chen
8164b893ad Respond to CR. 2018-06-12 12:55:20 -04:00
Matthew Chen
999e8c8e31 Respond to CR. 2018-06-12 12:44:32 -04:00
Matthew Chen
13e9f11b4e Open message search results. 2018-06-12 12:44:32 -04:00
Matthew Chen
27b6a5e5bb Open message search results. 2018-06-12 12:44:32 -04:00
Michael Kirk
72e4de0950 Fix unresponsive interface after swipe on root VC
Don't start interactive pop gesture for root VC

// FREEBIE
2018-06-12 10:43:31 -04:00
Michael Kirk
549342c702 Show empty results text
// FREEBIE
2018-06-11 16:42:25 -04:00
Michael Kirk
ecdaad06ff Handle no results
In line with other messaging apps, we intentionally don't show a "No Results"
cell. We simply don't display any cells. Though we could easily modify this in
the future.

// FREEBIE
2018-06-11 16:42:25 -04:00
Michael Kirk
fff8474150 adapt to rebase conflicts 2018-06-11 13:52:59 -04:00
Michael Kirk
f415827da6 Contact search results
// FREEBIE
2018-06-11 13:51:29 -04:00
Michael Kirk
b3705196b3 remove unused code/comments 2018-06-11 10:14:48 -04:00
Michael Kirk
21788f5f93 Avatar, label fonts, resignFirstResponder on scroll
-[] Backend
  -[] indexes e5.25
    -[x] wire up results: Contacts / Conversations / Messages actual: 3hr
    -[x] group thread est: actual:
      -[x] group name actual: e.25
      -[x] group member name: e.25
      -[x] group member number: e.25
    -[ ] contact thread e.5
      -[ ] name
      -[ ] number
    -[x] messages e1
      -[x] content
-[] Frontend e10.75
  -[x] wire up VC's a.5
  -[x] show search results only when search box has content a.25
  -[] show search results: Contact / Conversation / Messages e2
   -[x] wire up matchs
   -[] style contact cell
   -[] style conversation cell
   -[] style messages cell
  -[] tapping thread search result takes you to conversation e1
  -[] tapping message search result takes you to message e1
  -[x] show snippet text for matched message e1
  -[] highlight matched text in thread e3
  -[] No Results page
2018-06-11 09:58:36 -04:00
Michael Kirk
3a03c4f74c WIP: message indexing 2018-06-11 09:58:36 -04:00
Michael Kirk
f360bcfd35 Less confusing class names
-[] Backend
  -[] indexes e5.25
    -[x] wire up results: Contacts / Conversations / Messages actual: 3hr
    -[ ] group thread est: actual:
      -[x] group name actual: e.25
      -[ ] group member name: e.25
      -[ ] group member number: e.25
    -[ ] contact thread e.5
      -[ ] name
      -[ ] number
    -[ ] messages e1
      -[ ] content
-[] Frontend e10.75
  -[x] wire up VC's a.5
  -[x] show search results only when search box has content a.25
  -[] show search results: Contact / Conversation / Messages e2
   -[x] wire up matchs
   -[] style contact cell
   -[] style conversation cell
   -[] style messages cell
  -[] tapping thread search result takes you to conversation e1
  -[] tapping message search result takes you to message e1
  -[] show snippet text for matched message e1
  -[] highlight matched text in thread e3
  -[] go to next search result in thread e2
  -[] No Results page
  -[] Hide search unless pulled down
2018-06-11 09:58:36 -04:00
Michael Kirk
a9e2834d9f WIP: FTS - rudimentary show results
-[] Backend
  -[] indexes e5.25
    -[x] wire up results: Contacts / Conversations / Messages actual: 3hr
    -[ ] group thread est: actual:
      -[x] group name actual: e.25
      -[ ] group member name: e.25
      -[ ] group member number: e.25
    -[ ] contact thread e.5
      -[ ] name
      -[ ] number
    -[ ] messages e1
      -[ ] content
-[] Frontend e10.75
  -[x] wire up VC's a.5
  -[x] show search results only when search box has content a.25
  -[] show search results: Contact / Conversation / Messages e2
   -[x] wire up matchs
   -[] style contact cell
   -[] style conversation cell
   -[] style messages cell
  -[] tapping thread search result takes you to conversation e1
  -[] tapping message search result takes you to message e1
  -[] show snippet text for matched message e1
  -[] highlight matched text in thread e3
  -[] go to next search result in thread e2
  -[] No Results page
  -[] Hide search unless pulled down
2018-06-11 09:58:36 -04:00
Michael Kirk
ffea3a020f WIP: FTS - wired up Search VC
-[] Backend
  -[] indexes e5.25
    -[x] wire up results: Contacts / Conversations / Messages actual: 3hr
    -[ ] group thread est: actual:
      -[x] group name actual: e.25
      -[ ] group member name: e.25
      -[ ] group member number: e.25
    -[ ] contact thread e.5
      -[ ] name
      -[ ] number
    -[ ] messages e1
      -[ ] content
-[] Frontend e10.75
  -[x] wire up VC's a.5
  -[x] show search results only when search box has content a.25
  -[] show search results: Contact / Conversation / Messages e2
  -[] tapping thread search result takes you to conversation e1
  -[] tapping message search result takes you to message e1
  -[] show snippet text for matched message e1
  -[] highlight matched text in thread e3
  -[] go to next search result in thread e2
2018-06-11 09:58:36 -04:00
Michael Kirk
429af7854a WIP: Full Text Search
-[ ] indexes
  -[x] results: Contacts / Conversations / Messages
  -[ ] group thread
    -[x] group name
    -[ ] group member name
    -[ ] group member number
  -[ ] contact thread
    -[ ] name
    -[ ] number
  -[ ] messages
    -[ ] content
- [ ] show search results: Contact / Conversation / Messages
- [ ] tapping thread search result takes you to conversation
- [ ] tapping message search result takes you to message
- [ ] show snippet text for matched message
- [ ] highlight matched text in thread
- [ ] go to next search result in thread
2018-06-11 09:58:36 -04:00
Matthew Chen
19c9e226fb Respond to CR. 2018-06-01 17:51:18 -04:00
Matthew Chen
3964b78ff7 Reduce usage of JSQ. 2018-06-01 17:44:18 -04:00
Matthew Chen
6579857a42 Respond to CR. 2018-06-01 12:43:14 -04:00
Matthew Chen
6f0c1a975b Fix build warnings. 2018-06-01 12:39:13 -04:00
Matthew Chen
3cd6a33aa6 Fix build warnings. 2018-06-01 12:39:13 -04:00
Matthew Chen
40729dbdd2 Use background task while downloading profile avatar. 2018-06-01 09:49:08 -04:00
Óscar Morales Vivó
69b5272547 More code review polish. 2018-06-01 09:38:38 -04:00
Óscar Morales Vivó
4b98352a38 Changes suggested by code review. Added iPhone 4 screen size to iPhoneX test so Signal doesn't blow up in iPad's iPhone compatibility mode. 2018-06-01 09:38:38 -04:00
Matthew Chen
fefc9843b1 Modify views to observe changes when active, not just foreground. 2018-05-31 16:31:51 -04:00
Matthew Chen
812210a63c Modify views to observe changes when active, not just foreground. 2018-05-31 16:31:51 -04:00
Matthew Chen
40879461b0 Suppress animations in nav bar around call window. 2018-05-30 15:44:45 -04:00
Matthew Chen
4342b04bd3 Include response data in 'request over websocket' failures. 2018-05-30 15:37:59 -04:00
Matthew Chen
5e166c238f Respond to CR. 2018-05-30 15:33:00 -04:00
Matthew Chen
01cf2fc1bd Clear the contacts cache if access to the system contacts is revoked. 2018-05-30 15:30:52 -04:00