Commit graph

4583 commits

Author SHA1 Message Date
Benoit Marty
1b9e6ae71e Read receipts: mapping 2023-11-16 14:05:00 +01:00
ganfra
ff3ee5a43e
Merge pull request #1818 from vector-im/renovate/androidx.browser-browser-1.x
Update dependency androidx.browser:browser to v1.7.0
2023-11-16 13:14:04 +01:00
ganfra
86ef94f892
Merge pull request #1814 from vector-im/renovate/activity
Update activity to v1.8.1
2023-11-16 13:13:35 +01:00
renovate[bot]
24235dccfb
Update plugin dependencyanalysis to v1.26.0 (#1819)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-16 07:54:43 +00:00
Jonas Platte
adff64059b
Fix a changelog typo (#1820) 2023-11-16 08:34:53 +01:00
renovate[bot]
fd5f8897f1
Update dependency androidx.browser:browser to v1.7.0 2023-11-15 21:18:50 +00:00
renovate[bot]
8d8ec3adc7
Update activity to v1.8.1 2023-11-15 18:38:56 +00:00
renovate[bot]
5418ef00e1
Update plugin dependencycheck to v8.4.3 (#1810)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-15 13:32:35 +00:00
Jorge Martin Espinosa
f752147837
Remove Element Call feature flag and revert base URL to call.element.io (#1809)
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-15 13:02:24 +00:00
Jorge Martin Espinosa
a5bad53c62
Iterate design on several screens: update icons, replace PreferenceTexts (#1771)
- Batch import new icons from the design team.
- Rename _september icons since they're just extra icons that need to be integrated in Compound in the future, and it should be ok if we don't distinguish between ic_september_*, ic_november_* etc., so all icons are now simply ic_* in the designsystem module.
- Create a new CompoundIconListPreviewProvider to add chunked lists of icons for previews. Add an exception for it to Konsist.
- Move some icons to use Compound icons.
- Remove most PreferenceText usages, use ListItem instead.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-15 10:52:37 +01:00
Benoit Marty
99783a6eed
Merge pull request #1805 from vector-im/feature/bma/renderReadMarker
Timeline: render TimelineItemReadMarkerModel
2023-11-15 09:34:29 +01:00
Benoit Marty
6bfb3162f6
Merge pull request #1806 from vector-im/feature/fga/lock_screen_composition
LockScreen : rework LoggedInFlowNode and Back management
2023-11-14 23:15:44 +01:00
Benoit Marty
2aa92b655c
Format comment 2023-11-14 23:15:27 +01:00
Benoit Marty
40ea49adf6
Merge pull request #1803 from vector-im/julioromano/app_lateinit
Remove lateinit from Application class
2023-11-14 23:11:05 +01:00
ElementBot
844768c9ec Update screenshots 2023-11-14 21:49:58 +00:00
ganfra
b4a19b91d9 #1806 fix compilation 2023-11-14 21:38:15 +01:00
ganfra
8b250fad33 #1806 add changelog 2023-11-14 21:07:58 +01:00
ganfra
97bbc37f6c LockScreen : avoid removing from composition the LoggedInFlowNode.Children when LockScreen is displayed. 2023-11-14 20:59:17 +01:00
Benoit Marty
d380cff645 Simplify config for Localazy 2023-11-14 18:25:05 +01:00
Benoit Marty
eb6252bed3 Timeline: render TimelineItemReadMarkerModel 2023-11-14 18:10:26 +01:00
Benoit Marty
33534195ba
Merge pull request #1801 from vector-im/feature/bma/timelineBeginning
Add a View to show the beginning of the timeline (parity with iOS)
2023-11-14 18:04:42 +01:00
ElementBot
be2bd99983 Update screenshots 2023-11-14 17:31:42 +01:00
Benoit Marty
2cb0060f96 Add a View to show the beginning of the timeline (parity with iOS) 2023-11-14 17:31:42 +01:00
jonnyandrew
5209627f67
Fix merge conflict (#1804) 2023-11-14 16:21:58 +00:00
Benoit Marty
55cbef9848
Merge pull request #1798 from vector-im/feature/bma/config
Configs object in appconfig and move strings to dedicated modules.
2023-11-14 16:53:46 +01:00
Marco Romano
96e4106410
Allow to seek a voice message before playing it (#1780) 2023-11-14 16:23:51 +01:00
jonnyandrew
c3471a1d5d
Show error dialog when voice message fails to send (#1796)
---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-14 15:05:07 +00:00
jonnyandrew
6eb012a7d5
Delay displaying the voice message download indicator (#1793)
---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-14 15:04:43 +00:00
Benoit Marty
a9ec8bbdc6
Merge pull request #1791 from vector-im/renovate/kotlin
Update dependency org.jetbrains.kotlinx:kotlinx-collections-immutable to v0.3.6
2023-11-14 15:38:57 +01:00
Marco Romano
a5f76da204
Remove lateinit from Application class
Just stumbled in this lateinit and thought we could just get rid of it.
2023-11-14 15:32:18 +01:00
Marco Romano
2c25e69df8
Persist state of VoiceMessagePresenter in memory (#1795)
Allows [VoiceMessagePresenter] instances to keep their progress and download states while going in and out of the timeline viewport.

This is implemented by caching each instance of a TimelineItem presenter inside the RoomScope. TimelineItem presenters can move some of their state outside of the `present()` function so that such state will survive scrollings of the timeline.
2023-11-14 14:24:24 +00:00
Benoit Marty
470613e451 Cleanup 2023-11-14 15:07:20 +01:00
jonnyandrew
0b1d41e861
Update voice message recording button behaviour (#1784)
Changes recording button behaviour so that
- tapping the record button starts a recording and displays the stop button
- tapping the stop button stops the recording
- tapping the delete button cancels the recording
- 'hold to record' tooltip is removed


---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-14 14:05:59 +00:00
Benoit Marty
1df3f6113a
Merge pull request #1802 from vector-im/feature/bma/emoteHtml
Fix rendering of emote when the message contains some formatting.
2023-11-14 14:58:31 +01:00
Benoit Marty
6cb4a9af6d Fix rendering of emote when the message contains some formatting. 2023-11-14 14:28:15 +01:00
Benoit Marty
74c13a7f79 Cleanup 2023-11-14 14:11:34 +01:00
Benoit Marty
4f146d7a1c Localazy: move report_content strings to the :features:messages:impl module. 2023-11-14 11:37:21 +01:00
Benoit Marty
2257652450 Localazy: move leave_room_alert_ strings to the :features:leaveroom:api module. 2023-11-14 11:26:40 +01:00
Benoit Marty
c6d34e8599 Localazy: move settings_rageshake strings to the :features:rageshake:api module. 2023-11-14 11:16:57 +01:00
Benoit Marty
0adc3b1f1d Localazy: move screen_notification_settings_ strings to the :features:preferences:impl module.
Need to also import `screen_notification_settings_edit_failed_updating_default_mode` to the module `:features:roomdetails:impl`.
2023-11-14 11:12:35 +01:00
Benoit Marty
2ebe7d3365 Localazy: move emoji_picker_category_ strings to the :features:messages:impl module. 2023-11-14 10:53:30 +01:00
Benoit Marty
d9f5fdccbc Localazy: move some strings to the :features:analytics:api module. 2023-11-14 10:48:02 +01:00
Benoit Marty
3628a0359c Create VoiceMessageConfig in appconfig module. 2023-11-14 10:31:25 +01:00
Benoit Marty
f073e51a84 Move PushConfig to the appconfig module. 2023-11-14 10:26:16 +01:00
Jorge Martin Espinosa
d648f85d75
Add active call icon to room list summaries (#1792)
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-13 15:35:11 +00:00
Marco Romano
58e05d139c
Always ensure media temp dir exists (#1790)
<!-- Please read [CONTRIBUTING.md](https://github.com/vector-im/element-x-android/blob/develop/CONTRIBUTING.md) before submitting your pull request -->
 
## Type of change

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

## Content

`RustMediaLoader` creates the "${cacheDir}/temp/media" dir only once at class creation. Unfortunately when clearing an app's cache this directory will be deleted and the app's process won't be killed, so subsequent usages of the same instance of `RustMediaLoader` will not work because `cacheDirectory` does not exists. This fix makes sure that such directory is always checked and created if needed.

## Motivation and context

Fixes https://github.com/vector-im/element-x-android/issues/1788

## 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-13 15:52:53 +01:00
Benoit Marty
abd4b17ca9
Merge pull request #1785 from vector-im/renovate/mobile-dev-inc-action-maestro-cloud-1.x
Update mobile-dev-inc/action-maestro-cloud action to v1.7.0
2023-11-13 15:25:30 +01:00
ElementBot
3bf34eae01
Sync Strings (#1789)
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2023-11-13 12:31:34 +01:00
renovate[bot]
93fc94cb8f
Update dependency org.jetbrains.kotlinx:kotlinx-collections-immutable to v0.3.6 2023-11-13 10:44:26 +00:00
Benoit Marty
de05c9b098
Merge pull request #1787 from vector-im/feature/bma/gradleCleanup
Gradle catalog cleanup
2023-11-13 11:43:57 +01:00