Commit graph

4680 commits

Author SHA1 Message Date
ganfra
02e65e4eac Timeline : Scroll to end of timeline when sending a new message #1877 2023-11-24 16:31:20 +01:00
Benoit Marty
5606559568
Merge pull request #1875 from vector-im/feature/bma/testTimelineItemContentMessageFactory
Add test for TimelineItemContentMessageFactory
2023-11-23 21:20:28 +01:00
Benoit Marty
27daadd6ca Add test for TimelineItemContentMessageFactory 2023-11-23 20:18:53 +01:00
Benoit Marty
68463c2e0c Remove UnknownMessageType, should be handled by OtherMessageType now. 2023-11-23 20:18:53 +01:00
Benoit Marty
19883cd3bf Move test to impl sub package and optimize imports. 2023-11-23 20:17:39 +01:00
Benoit Marty
8583d22ba4
Merge pull request #1871 from vector-im/feature/bma/testNotifiableEventResolver
Add test for NotifiableEventResolver
2023-11-23 20:09:46 +01:00
Benoit Marty
9fe9d88dc8 Small rework code to avoid dead code. 2023-11-23 17:41:28 +01:00
Benoit Marty
ec459165db Add tests for NotifiableEventResolver 2023-11-23 17:36:23 +01:00
ganfra
40efe4844e
Merge pull request #1865 from vector-im/feature/fga/room_list_dynamic_api
RoomList : rework a bit the api and make usage of entriesWithDynamicAdapter
2023-11-23 12:07:55 +01:00
Jorge Martin Espinosa
d413aa1ee3
Add plain text representation of messages (#1850)
* Add plain text representation of messages.

This is used in the room list as the last message in a room, in the message summary when a message is selected, in the 'replying to' block, in the 'replied to' block in a message in the timeline, and in notifications.
2023-11-23 08:29:20 +01:00
Jorge Martin Espinosa
e13b204f4b
Run 'record screenshots' flow if label is present (#1860)
* Run 'record screenshots' flow if label is present

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-23 08:25:33 +01:00
ganfra
0fb4eb005c RoomList : rework a bit the api and make usage of entriesWithDynamicAdapters 2023-11-22 18:06:19 +01:00
Benoit Marty
68c4f1e6bc
Merge pull request #1845 from vector-im/feature/bma/sendingStateA11y
Content description: add for sending state and fix other issues.
2023-11-22 17:51:48 +01:00
Marco Romano
bc5c02c1cb
Show poll question in timeline replies (#1857)
Forgot to add this bit to: https://github.com/vector-im/element-x-android/pull/1848
2023-11-22 16:14:10 +01:00
Jorge Martin Espinosa
e269303361
Run Maestro flow only then Run-Maestro label is present in a PR (#1852)
* Run Maestro only when the `Run-Maestro` label is present in a PR.
2023-11-22 15:45:52 +01:00
Marco Romano
60f58f9915
Update poll icons from Compound (#1849)
* Use compound icons for polls

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-22 13:35:04 +01:00
Marco Romano
0f0bd34665
Reply to a poll (#1848)
<!-- Please read [CONTRIBUTING.md](https://github.com/vector-im/element-x-android/blob/develop/CONTRIBUTING.md) before submitting your pull request -->
 
## Type of change

- [x] Feature
- [ ] Bugfix
- [ ] Technical
- [ ] Other :

## Content

Polls can now be replied to.

## Motivation and context

User story: https://github.com/vector-im/element-meta/issues/1976

## Screenshots / GIFs

<!--
We have screenshot tests in the project, so attaching screenshots to a PR is not mandatory, as far as there
is a Composable Preview covering the changes. In this case, the change will appear in the file diff.
Note that all the UI composables should be covered by a Composable Preview.

Providing a video of the change is still very useful for the reviewer and for the history of the project.

You can use a table like this to show screenshots comparison.
Uncomment this markdown table below and edit the last line `|||`:
|copy screenshot of before here|copy screenshot of after here|

|Before|After|
|-|-|
|||
 -->

## Tests

<!-- Explain how you tested your development -->

- Step 1
- Step 2
- Step ...

## Tested devices

- [ ] Physical
- [ ] Emulator
- OS version(s):

## Checklist

<!-- Depending on the Pull Request content, it can be acceptable if some of the following checkboxes stay unchecked. -->

- [ ] Changes have been tested on an Android device or Android emulator with API 23
- [ ] UI change has been tested on both light and dark themes
- [ ] Accessibility has been taken into account. See https://github.com/vector-im/element-x-android/blob/develop/CONTRIBUTING.md#accessibility
- [ ] Pull request is based on the develop branch
- [ ] Pull request includes a new file under ./changelog.d. See https://github.com/vector-im/element-x-android/blob/develop/CONTRIBUTING.md#changelog
- [ ] Pull request includes screenshots or videos if containing UI changes
- [ ] Pull request includes a [sign off](https://matrix-org.github.io/synapse/latest/development/contributing_guide.html#sign-off)
- [ ] You've made a self review of your PR
2023-11-22 10:52:12 +01:00
Jorge Martín
a5b6ba7187 version++ 2023-11-22 10:37:16 +01:00
Jorge Martín
c5c85c1de3 Merge tag 'v0.3.2' into develop
Version 0.3.2
2023-11-22 10:34:37 +01:00
Jorge Martín
1952bfc8aa Merge branch 'release/0.3.2' 2023-11-22 10:34:27 +01:00
Jorge Martín
6c83cb5bb8 Adding fastlane file for version 0.3.2 2023-11-22 10:34:26 +01:00
Jorge Martín
ed37d1c647 Changelog for version 0.3.2 2023-11-22 10:30:15 +01:00
Benoit Marty
aae30fcf8c
Merge pull request #1815 from vector-im/renovate/androidx.compose.material3-material3-1.x
Update dependency androidx.compose.material3:material3 to v1.2.0-alpha11
2023-11-22 09:45:30 +01:00
Marco Romano
de646e4e5a
Voice message scrubbing improvements (#1847)
- Voice messages can be scrubbed (i.e. seeked to) even when they have not been played yet..
- The progress bar is displayed also when paused.
- Multiple voice messages can keep their state when paused.
- Tries to adhere as much as possible at the detailed "green cursor" behavior in the story (but might not be 100% compliant).

Story: https://github.com/vector-im/element-meta/issues/2113
2023-11-21 20:48:08 +01:00
Benoit Marty
0649cf1706
Merge pull request #1813 from vector-im/renovate/mobile-dev-inc-action-maestro-cloud-1.x
Update mobile-dev-inc/action-maestro-cloud action to v1.8.0
2023-11-21 17:43:52 +01:00
Jorge Martin Espinosa
97e9528e13
Add intentional mentions (#1843)
* Add intentional mentions
2023-11-21 17:34:00 +01:00
Benoit Marty
637f788d40 Replace Alertdialog (deprecated) by BasicAlertDialog. 2023-11-21 17:22:53 +01:00
Benoit Marty
0114d97acf Remove unused import 2023-11-21 17:18:29 +01:00
Benoit Marty
164269ef76 No need to have a SemanticColors parameter. 2023-11-21 16:53:09 +01:00
Benoit Marty
a8e0d1e66d Fix compilation issue 2023-11-21 16:51:50 +01:00
Benoit Marty
3e751e42ba Fix some contentDescription. 2023-11-21 16:48:38 +01:00
Benoit Marty
830bad2bcf Fix compilation warning, add opt in for ExperimentalMaterial3Api 2023-11-21 16:39:38 +01:00
renovate[bot]
a5fd082a3b
Update dependency androidx.compose.material3:material3 to v1.2.0-alpha11 2023-11-21 14:45:34 +00:00
Benoit Marty
67ed385e45 Prevent usage of hard-coded string for contentDescription, and fix existing issues. 2023-11-21 15:38:21 +01:00
Benoit Marty
2e6803ac41 Fix contentDescription for jump to bottom FAB. 2023-11-21 15:36:53 +01:00
Benoit Marty
3a21ee7a50 Fix contentDescription for Read Receipt. 2023-11-21 15:36:53 +01:00
Benoit Marty
311835962f Fix some contentDescription. 2023-11-21 14:58:36 +01:00
Benoit Marty
88a7cc9740 Fix some contentDescription. 2023-11-21 14:44:38 +01:00
Benoit Marty
de7b175501
Merge pull request #1837 from vector-im/renovate/com.squareup-kotlinpoet-1.x
Update dependency com.squareup:kotlinpoet to v1.15.1
2023-11-21 14:37:25 +01:00
Benoit Marty
b62f1ebb05 Add contentDescription for sending states. 2023-11-21 14:30:38 +01:00
Benoit Marty
92df82272b
Merge pull request #1842 from vector-im/renovate/io.sentry-sentry-android-6.x
Update dependency io.sentry:sentry-android to v6.34.0
2023-11-21 14:27:38 +01:00
renovate[bot]
bb51862fc4
Update mobile-dev-inc/action-maestro-cloud action to v1.8.0 2023-11-21 13:14:21 +00:00
Benoit Marty
edc876e7c8
Merge pull request #1823 from vector-im/renovate/media3
Update media3 to v1.2.0
2023-11-21 14:13:13 +01:00
Benoit Marty
99d0189281
Merge pull request #1836 from vector-im/renovate/wysiwyg
Update wysiwyg to v2.18.0
2023-11-21 14:09:20 +01:00
Benoit Marty
e3968d8749
Merge pull request #1844 from vector-im/feature/bma/themeSwitch
Feature/bma/theme switch
2023-11-21 14:06:20 +01:00
ElementBot
5e95da9911 Update screenshots 2023-11-21 11:21:43 +00:00
Benoit Marty
68f9c81628 Let the user choose theme (#1499) 2023-11-21 12:02:01 +01:00
Jorge Martin Espinosa
a8fbb882f2
Integrate mentions in the composer (#1799)
* Integrate mentions in the composer:

    - Add `MentionSpanProvider`.
    - Add custom colors needed for mentions.
    - Use the span provider to render mentions in the composer.
    - Allow selecting users from the mentions suggestions to insert a mention.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-20 18:14:02 +01:00
renovate[bot]
86a3ec6732
Update dependency io.sentry:sentry-android to v6.34.0 2023-11-20 15:44:46 +00:00
Benoit Marty
004804a7c8
Merge pull request #1834 from vector-im/feature/bma/readReceipts
Render send state and read receipts
2023-11-20 14:39:13 +01:00