Commit Graph

11861 Commits

Author SHA1 Message Date
Benoit Marty 292c09b176 Cleanup: Use extension, use setArguments() and avoid direct usage of Mavericks.KEY_ARG 2021-11-19 17:03:18 +01:00
Benoit Marty d0f5a10c76 Use extension 2021-11-19 16:45:32 +01:00
Benoit Marty 909e93b6d6 Fix crash (#4520) 2021-11-19 16:42:56 +01:00
Benoit Marty 430e171f85 Remove useless module, it's a miss of the migration to hilt 2021-11-19 16:09:27 +01:00
Benoit Marty eb32fd95e4
Merge pull request #4521 from vector-im/feature/bma/di_cleanup
Fix "@JvmStatic used for @Provides function in an object class" Lint warning
2021-11-19 16:08:32 +01:00
Adam Brown cca50ed669 using project terminoloy for rendering ui states on views 2021-11-19 15:03:37 +00:00
Adam Brown 9ce228c5bc fixing import ordering 2021-11-19 15:03:01 +00:00
Adam Brown f140dbc0a0 update text composer classes to message composer (as they include voice not just text) 2021-11-19 15:03:01 +00:00
Adam Brown 8837640b5a renaming text composer files to message composer 2021-11-19 15:03:01 +00:00
Adam Brown b5055453d1 moving voice recording logic to the TextComposerViewModel (name to be updated) from the RoomDetailViewModel 2021-11-19 15:03:01 +00:00
Benoit Marty 35f9bef94a
Merge pull request #4515 from vector-im/feature/adm/voice-state
Voice recording UI state in ViewModel
2021-11-19 15:59:17 +01:00
Adam Brown 7d0d105e82 adding changelog entry 2021-11-19 14:53:20 +00:00
Benoit Marty 0240aa15a6
Merge pull request #4506 from vector-im/feature/adm/non-dismissing-notifications
Non dismissing notifications
2021-11-19 15:45:49 +01:00
Benoit Marty d80a25feac Fix "@JvmStatic used for @Provides function in an object class" Lint warning.
See https://github.com/google/dagger/releases/tag/dagger-2.25.2 point 2.ii. : @Module object classes no longer need @JvmStatic on the provides methods.
Ensure this warning does not appear again.
2021-11-19 15:29:11 +01:00
Adam Brown 331bcbfc8a separating the drag state from the main UI state in order to clarify which actions should be handled in each layer 2021-11-19 11:31:10 +00:00
ryg-git 289339f2db
Issue 4343 (#4490)
Remove image in text composer if message to be replied is updated to message that does not have image or show image in text composer if message to be replied is updated to message that has image.
2021-11-19 10:39:19 +01:00
Adam Brown 7693f3bc6c lifting the persistence out of the notification state 2021-11-19 09:33:28 +00:00
Adam Brown 55fd362b3d removing unused default constructor param and making queue a data class since it's only manipulating its own internal data 2021-11-19 09:14:18 +00:00
Benoit Marty f622468f3b
Merge pull request #4516 from vector-im/feature/adm/ui-test-ci-tweaks
UI test CI tweaks
2021-11-19 09:32:18 +01:00
Benoit Marty b22a3af090
Merge pull request #4518 from vector-im/dependabot/gradle/org.robolectric-robolectric-4.7.1
Bump robolectric from 4.7 to 4.7.1
2021-11-19 09:28:16 +01:00
Benoit Marty 7d35891b01
Merge pull request #4504 from vector-im/feature/bma/upgrade_jitsi
Jitsi android-sdk-3.1.0 -> android-sdk-3.10.0
2021-11-19 09:27:46 +01:00
dependabot[bot] 6efe9b82f4
Bump robolectric from 4.7 to 4.7.1
Bumps [robolectric](https://github.com/robolectric/robolectric) from 4.7 to 4.7.1.
- [Release notes](https://github.com/robolectric/robolectric/releases)
- [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.7...robolectric-4.7.1)

---
updated-dependencies:
- dependency-name: org.robolectric:robolectric
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-18 23:07:04 +00:00
Adam Brown cc27c37c1e fixing ktlint errors 2021-11-18 18:50:51 +00:00
Adam Brown 08f9fad23e adding logs to try and find out where the github actions are failing 2021-11-18 18:43:59 +00:00
Adam Brown 1c6b2ceb4b adding retrying to the reaction long pressing and extra visibilty check for dialogs 2021-11-18 17:53:52 +00:00
Adam Brown 1b5868644a add wait for dialogs 2021-11-18 17:53:34 +00:00
Adam Brown 38f0640d2c tapping the timeline settings via the overflow small devices can't tap the title
- waiting for the message edits bottom sheet
- waiting for the reactions bottom sheet
2021-11-18 17:52:45 +00:00
Adam Brown 97d768e392 adding expected open/closed state to the bottom sheet waiting 2021-11-18 17:52:20 +00:00
Adam Brown 69745ea74e waiting until the room avatar item is ready as the title and list have a loading state 2021-11-18 17:51:57 +00:00
Adam Brown b57d414189 increase app timeout as sign out can block for a long time 2021-11-18 17:51:34 +00:00
Adam Brown b9e7357e04 using Pixel 5 profile and ensuring jobs stay marked as failed after collecting screenshots and logs 2021-11-18 17:49:35 +00:00
Adam Brown 7d262ebc32 removing no longer needed message delete on animation end, we delete the file straight away 2021-11-18 17:28:08 +00:00
Adam Brown 1afc1b51e5 separating the cancelled and ended events to make the consumption simpler 2021-11-18 17:25:30 +00:00
Adam Brown 4dbb150ac2 clarifying why we do nothing when the state is locked on voice recording ended 2021-11-18 17:21:03 +00:00
Adam Brown 16ca7d5040 adding sending of voice message on send pressed 2021-11-18 17:18:13 +00:00
Adam Brown c5746a59ae updating voice view interface method names for consistency 2021-11-18 17:11:10 +00:00
Adam Brown 734e7df910 renaming display function as its updating state, rather than directly displaying 2021-11-18 17:00:47 +00:00
Benoit Marty d00277a81f
Merge pull request #4512 from vector-im/yostyle/disable_bot_on_forked_project
Disable sync data jobs in forks
2021-11-18 17:24:42 +01:00
yostyle bf3bf6a509 Disable sync data jobs in forks 2021-11-18 17:03:37 +01:00
Adam Brown bf374371b8 removing no longer needed cancelled status check 2021-11-18 15:14:46 +00:00
Adam Brown dfc67b832c updating the state rather than calling display directly 2021-11-18 15:06:43 +00:00
Benoit Marty 5e99972d95 Remove dead code 2021-11-18 16:01:01 +01:00
Adam Brown be685bc56a aligning the locked recording view to the send message button without the margin, fixes the layout jumping when the mic button switches to a send 2021-11-18 14:59:06 +00:00
Benoit Marty e233915c0f Jitsi android-sdk-3.1.0 -> android-sdk-3.10.0 2021-11-18 15:58:40 +01:00
Valere feda53bfb7 Improve crypto log to debug UISI 2021-11-18 15:39:13 +01:00
Adam Brown 9ae03b76cd allows locking and cancelling to occur after choosing either option
- fixes other quirks caused by porting to the inverted display logic
2021-11-18 14:15:55 +00:00
Adam Brown e895dbd923 replacing chained ifs with when 2021-11-18 14:15:55 +00:00
Adam Brown 2ad121e96e moving the recording ui state to the textcomposer view model and state 2021-11-18 14:15:55 +00:00
Adam Brown 40d762c37d lifting current recording state out of the view 2021-11-18 14:15:55 +00:00
Adam Brown f2690552a2 lifting voice display logic out of the view and to the layer above 2021-11-18 14:15:55 +00:00