Commit Graph

23 Commits

Author SHA1 Message Date
Harris dd1da6b1a4
Add a global search (#834)
* feat: modifying search functionalities to include contacts

* feat: add global search UI input layouts and color attributes

* feat: add global search repository and model content

* feat: adding diff callbacks and wiring up global search vm to views

* feat: adding scroll to message, figuring out new query for recipient thread search

* feat: messing with the search and highlighting functionality after wiring up bindings

* fix: compile error from merge

* fix: gradlew build errors

* feat: filtering contacts by existing un-archived threads

* refactor: prevent note to self breaking, update queries and logic in search repo to include member->group reverse searches

* feat: adding home screen new redesigns for search

* feat: replacing designs and adding new group subtitle text

* feat: small design improvements and incrementing gradle build number to install on device

* feat: add scrollbars for search

* feat: replace isVisible for cancel button now that GlobalSearchInputLayout.kt replaces header

* refactor: all queries are debounced not just all but 2 char

* refactor: remove visibility modifiers for cancel icon

* refactor: use simplified non-db and context related models in display, remove db get group members call from binding data

* fix: use threadId instead of group's address

* refactor: better close on cancel, removing only yourself from group member list in open groups

* refactor: seed view back to inflated on create and visibility for empty placeholder and seed view text

* refactor: fixing build issues and new designs for message list

* refactor: use dynamic limit

* refactor: include raw session ID string search for non-empty threads

* fix: build lint errors

* fix: build issues

* feat: add in path to the settings activity

* refactor: remove wildcard imports
2022-02-07 17:06:27 +11:00
ceokot c113a447cf
refactor: Use view binding to replace Kotlin synthetics (#824)
* refactor: Migrate home screen to data binding

* Add view binding

* Migrate ConversationView to view binding

* Migrate ConversationActivityV2 to view binding

* View model refactor

* Move more functionality to the view model

* Add ui state events flow

* Update conversation item bindings

* Update profile picture view bindings

* Replace Kotlin synthetics with view bindings

* Fix qr code fragment binding and optimize imports

* View binding refactors

* Make TextSecurePreferences an interface and add an implementation to improve testability

* Add conversation repository

* Migrate remaining TextSecurePreferences functions into the interface

* Add unit conversation unit tests

* Add unit test coverage for remaining view model functions
2022-01-14 07:56:15 +02:00
jubb b329402faf fix: audio waveforms decoded on the attachment download 2021-07-01 17:06:42 +10:00
Niels Andriesse e42b884b13 Upgrade Kryo 2021-05-21 09:05:55 +10:00
Harris 99e6382f2e refactor: use lazysodium version on maven central instead of bintray (no longer available) 2021-05-19 15:12:35 +10:00
Niels Andriesse 7208bb0421 Fix build 2021-05-18 15:03:17 +10:00
Niels Andriesse 68225e00be Clean 2021-05-18 14:45:37 +10:00
Niels Andriesse 8a20c46bd4 Fix missing compile target 2021-05-18 14:08:21 +10:00
Niels Andriesse 81b0530163 Clean up libsession Gradle file 2021-05-18 13:27:51 +10:00
jubb 3a09d23337 feat: add contact syncing, UI improvements for profile syncing and conversation threads in the home screen 2021-03-01 17:16:15 +11:00
Ryan ZHAO 9eacdd7b3e sync update to libsession & clean 2021-01-27 10:54:25 +11:00
Brice 7cc7cc60c7 serialization functions added to Job classes 2021-01-22 13:30:00 +11:00
Ryan ZHAO 17f401c356 make things compile 2021-01-21 15:42:43 +11:00
Ryan ZHAO 2d239541b9 WIP make things compile 2021-01-18 14:58:11 +11:00
Ryan ZHAO a5e37fd171 WIP make things compile 2021-01-14 16:33:03 +11:00
Ryan ZHAO 0820e577e8 Merge branch 'refactor' of https://github.com/RyanRory/loki-messenger-android into refactor 2021-01-08 11:13:12 +11:00
Ryan ZHAO e45462588f update gradle 2021-01-08 11:12:39 +11:00
Brice 3a9304098b fix conflict 2021-01-05 14:17:42 +11:00
Ryan ZHAO 5924d90b12 refactor unidentified access (sealed sender) 2020-12-03 14:20:49 +11:00
Ryan ZHAO 55b68c3db9 Merge branch 'refactor' of https://github.com/RyanRory/loki-messenger-android into refactor 2020-12-02 16:40:35 +11:00
Ryan ZHAO 5789c146de add dependencies 2020-12-02 16:36:40 +11:00
Brice 888eda4ba9 change package name + start of implementation 2020-11-27 15:56:16 +11:00
Ryan ZHAO 7a66a47520 restructure and unite service android/java to libsignal 2020-11-26 09:46:52 +11:00