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
Harris
13dc28231d
fix: respect the incognito flag in the user's preferences
2021-10-11 14:38:10 +11:00
Harris
0516526923
refactor: use hilt to provide DB instead of our own factory, inject it in some places where possible
2021-10-04 18:51:19 +11:00
Harris
bf6c2d29f1
fix: Home activity crash handling from the seed view optimisations. added tests for that plus rendering URL crash
2021-08-09 10:06:58 +10:00
jubb
9cb7d9ece8
fix: conversation activity now receives extra text shared via intent and accepts content shared by IME
2021-07-12 15:44:46 +10:00
Niels Andriesse
c984d90b04
Re-organize files
2021-07-09 13:18:48 +10:00
Niels Andriesse
a9b5c269f6
Re-organize files & delete unused code
2021-07-09 11:14:21 +10:00
Niels Andriesse
ca85044a7b
Fix crash
2021-07-08 09:21:18 +10:00
jubb
21c0537432
fix: pass original missing to the quote view to prevent image with no content rendering
2021-07-05 16:52:56 +10:00
Niels Andriesse
93a417d322
Fix closed group quote handling bug
2021-07-01 11:27:52 +10:00
Niels Andriesse
7352dac638
Merge pull request #623 from hjubb/ui
...
Make Input Bar Edit Text Capitalize Sentences
2021-06-30 15:07:03 +10:00
jubb
8eb4da34d4
fix: capitalize sentences
2021-06-30 14:58:27 +10:00
Niels Andriesse
07de201fde
Hide input if the user isn't part of a group
2021-06-30 14:05:30 +10:00
Niels Andriesse
1e39762eb1
Fix invisible attachment buttons being tappable
2021-06-29 16:01:02 +10:00
Niels Andriesse
dbedc5039a
Implement image quoting
2021-06-29 14:05:32 +10:00
Niels Andriesse
fcdd3d9149
Fix quote clearing bug
2021-06-28 16:03:41 +10:00
Niels Andriesse
12b008c61c
Send quotes & link previews
2021-06-28 13:29:17 +10:00
Niels Andriesse
489516b03b
Hook up all voice message recording controls
2021-06-28 11:26:13 +10:00
Niels Andriesse
0da2487401
Send voice messages
2021-06-28 11:11:29 +10:00
Niels Andriesse
bf80f5c449
Re-implement attachment sending
2021-06-28 10:00:18 +10:00
Niels Andriesse
6140be6e56
Add back mentions business logic
2021-06-25 14:42:04 +10:00
Niels Andriesse
cc98ab5c9f
Send typing indicators & fix missing mention handling
2021-06-25 11:11:03 +10:00
Niels Andriesse
ec9df3adb2
Fix crash & add documentation
2021-06-25 09:19:21 +10:00
Niels Andriesse
2132e53fb0
Hook up cancel link preview draft button
2021-06-24 16:30:16 +10:00
Niels Andriesse
fe8b0c9798
Create link preview draft view
2021-06-24 16:23:37 +10:00
Niels Andriesse
c181dfec81
Clean & add documentation
2021-06-23 13:57:13 +10:00
Niels Andriesse
0291171fb8
Fix quote view sizing
2021-06-23 11:32:05 +10:00
Niels Andriesse
e674f70155
Drafts
2021-06-22 16:23:47 +10:00
Niels Andriesse
48df733773
Basic quote view attachment handling
2021-06-21 14:24:00 +10:00
Niels Andriesse
ce5f923b25
Adapt quote view for use in messages
2021-06-21 10:53:52 +10:00
Niels Andriesse
2aaacbd029
Debug
2021-06-18 16:24:56 +10:00
Niels Andriesse
9471db76c2
Fix height change handling
2021-06-18 16:04:22 +10:00
Niels Andriesse
123cd6d486
Handle text only quote drafts
2021-06-18 15:54:24 +10:00
Niels Andriesse
9419bafe93
Add preliminary quote draft view
2021-06-18 15:11:41 +10:00
Niels Andriesse
efc752e3a1
Add mention candidates view
2021-06-18 11:00:52 +10:00
Niels Andriesse
a5bf1a3c66
Remaining input bar animation
2021-06-18 09:51:44 +10:00
Niels Andriesse
f4621a4fee
More animation
2021-06-17 16:29:57 +10:00
Niels Andriesse
b5376cd60e
Handle voice message recording view hiding
2021-06-17 16:07:11 +10:00
Niels Andriesse
b7000aa58b
Tweak UI
2021-06-17 15:20:19 +10:00
Niels Andriesse
5a2baae15d
Clean
2021-06-17 14:57:47 +10:00
Niels Andriesse
092dad03b7
Add expanding attachment buttons
2021-06-17 14:34:50 +10:00
Niels Andriesse
4855f694e7
More UI
2021-06-17 14:01:43 +10:00
Niels Andriesse
8f2ccf9e70
Add voice message lock view
2021-06-17 11:24:54 +10:00
Niels Andriesse
7cacee8499
More animation
2021-06-17 10:53:56 +10:00
Niels Andriesse
c831c8a31b
More animation
2021-06-16 15:54:00 +10:00
Niels Andriesse
bdc5a0e5d9
Add animation
2021-06-16 15:49:39 +10:00
Niels Andriesse
5ae201b81b
Add basic voice message recording UI
2021-06-16 14:50:41 +10:00
Niels Andriesse
bf25a44f7b
Minor tweaks
2021-06-16 11:21:58 +10:00
Niels Andriesse
eac0a87e40
Add send button
2021-06-16 10:39:24 +10:00
Niels Andriesse
871bafe66d
Debug
2021-06-16 09:51:50 +10:00