Commit graph

3233 commits

Author SHA1 Message Date
Benoit Marty
3a8eefc927 Fix warning. 2023-08-25 14:37:55 +02:00
Benoit Marty
d8459093a5 Introduce LoggedInAppScopeFlowNode. It's a Node just responsible to set up the Dagger SessionScope.
This allow to inject objects with SessionScope in the node `LoggedInFlowNode` and all it's dependency (in my case `FtueState` and `MatrixClient`)
2023-08-25 13:52:32 +02:00
Benoit Marty
ff749947f8 Add the Migrate session screen (#1145) 2023-08-25 13:52:32 +02:00
Benoit Marty
0ef0accdf6 Localazy: move string screen_migration_ to ftue/impl module and sync the strings. 2023-08-25 13:52:32 +02:00
Benoit Marty
0c5675e307 Extract Composable to new SunsetPage. 2023-08-25 13:49:40 +02:00
Benoit Marty
a0e0d3a502
Merge pull request #1148 from vector-im/feature/bma/syncStrings
Sync strings and record screenshot
2023-08-25 13:48:56 +02:00
Benoit Marty
89f1492233 Remove translation with issue. Will be synced later. 2023-08-25 12:50:53 +02:00
ElementBot
cc604e8f9d Update screenshots 2023-08-25 10:22:22 +00:00
Benoit Marty
8415826a97 Import strings with Localazy. 2023-08-25 12:15:06 +02:00
Florian Renaud
f185bb75bf
Merge pull request #1141 from vector-im/bugfix/fre/improve_timestamp_position
Improve timestamp rendering for poll event content
2023-08-25 10:45:23 +02:00
Florian Renaud
360c24dd18
Merge pull request #1113 from vector-im/feature/fre/improve_poll_event_timeline_rendering
[Poll] Render ended poll and improve UI in the timeline
2023-08-25 10:14:15 +02:00
Florian Renaud
2dc2f7c521 cleanup 2023-08-25 10:12:21 +02:00
Florian Renaud
a9846c95e8 Rename modifier 2023-08-25 09:36:21 +02:00
Florian Renaud
dab331b9bf Rename TimestampPosition.Above to Overlay 2023-08-25 09:30:05 +02:00
ElementBot
7fc44e6369 Update screenshots 2023-08-25 07:14:37 +00:00
ElementBot
0c9db25715 Update screenshots 2023-08-25 09:07:10 +02:00
Florian Renaud
20bd7764ef Add default timestamp position 2023-08-25 09:07:10 +02:00
Florian Renaud
2a29c67b96 Improve timestamp rendering for poll event content 2023-08-25 09:07:10 +02:00
Florian Renaud
8f2647799e Use a single preview for radio buttons with checked & unchecked states 2023-08-25 09:01:20 +02:00
renovate[bot]
1378a7cb9d
Update dependency com.google.firebase:firebase-bom to v32.2.3 (#1147)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-25 08:11:45 +02:00
Marco Romano
0abda97d6f
ListItem: Don't apply clickable modifier if onClick is null. (#1146)
If it is applied but disabled (like before this PR) it will hijack all touch input from the view and no other component in it can respond to clicks.
2023-08-24 15:11:13 +00:00
Jorge Martin Espinosa
b326ca28cc
Improve list items: add lists to dialogs, rework ListItem customizations (#1119)
* Improve list items:

- Create `ListItemContent`.
- Create `ListItemStyle`.
- Apply those to `ListItem` components.
- Create helper list item components for checkboxes, switches, radio buttons.
* Create single/multiple selection dialogs.
* Create `SingleSelectionListItem` and `MultipleSelectionListItem`
- Add `subtitle` to `AlertDialogContents`.
- Fix paddings and margins inside dialogs.
- Add `ListOption`.
* Adds small delay before hiding the single selection dialog.
---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-08-24 15:11:05 +02:00
Florian Renaud
e6490b3a89 Merge remote-tracking branch 'origin/develop' into feature/fre/improve_poll_event_timeline_rendering 2023-08-24 14:42:16 +02:00
Marco Romano
cbeab3111d
Update rust sdk to 0.1.47 (#1142) 2023-08-24 14:14:59 +02:00
Jorge Martin Espinosa
c670fc9e9c
Prevent verification while initial sync is in progress (#1138)
* Prevent verification while initial sync is in progress

* Add `canVerifySessionFlow` to simplify the check
2023-08-24 11:43:36 +00:00
Marco Romano
9fb0216272
Surface send poll start API from rust sdk (#1140)
Rust api added in: https://github.com/matrix-org/matrix-rust-sdk/pull/2391

Closes https://github.com/vector-im/element-meta/issues/2010
2023-08-24 11:54:01 +02:00
Benoit Marty
44ee806d2e
Merge pull request #1139 from vector-im/feature/bma/prTemplate
PR template
2023-08-24 11:18:39 +02:00
Benoit Marty
82c3b4896c Fix grammar 2023-08-24 11:15:37 +02:00
Benoit Marty
f2b7252a88 Update pull request template for Element X. 2023-08-24 10:07:10 +02:00
Benoit Marty
dd515423cc Element X 2023-08-24 09:55:29 +02:00
Benoit Marty
13ff443b4a Move the file pull_request_template.md to the parent folder to make it the default template. 2023-08-24 09:54:14 +02:00
Jorge Martin Espinosa
648e2c378d
Fix sent videos being cropped (#1124) 2023-08-24 09:41:58 +02:00
Benoit Marty
4218a836d5
Merge pull request #1129 from vector-im/renovate/androidx.compose.material3
Update dependency androidx.compose.material3:material3 to v1.2.0-alpha06
2023-08-24 09:04:20 +02:00
renovate[bot]
53840c1009
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.46 (#1130)
* Update dependency org.matrix.rustcomponents:sdk-android to v0.1.46

* Remove poll end code. The poll end event isn't shown in the timeline anymore.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Marco Romano <marcor@element.io>
2023-08-24 06:43:05 +00:00
ElementBot
7764b7b367 Update screenshots 2023-08-24 06:26:31 +00:00
renovate[bot]
b1a1646c4e
Update dependency androidx.compose.material3:material3 to v1.2.0-alpha06 2023-08-23 20:33:52 +00:00
Benoit Marty
14c568dea2
Merge pull request #1127 from vector-im/feature/bma/finishOidc
Enable OIDC support
2023-08-23 17:01:41 +02:00
Benoit Marty
01bb850ee9 Changelog. 2023-08-23 16:04:55 +02:00
ElementBot
eff3a53c52 Update screenshots 2023-08-23 13:28:17 +00:00
Jorge Martin Espinosa
7eb1f1c7bf
When event has no id, just cancel parsing the latest room message (#1126) 2023-08-23 12:50:22 +00:00
Benoit Marty
d293cae47f Implement didRefreshTokens(): update database with updated SessionData. 2023-08-23 14:42:46 +02:00
Benoit Marty
8cf48986e7 Add missing tests. 2023-08-23 13:49:03 +02:00
Benoit Marty
6822e6dacb
Merge pull request #1112 from vector-im/feature/bma/fixButtonTheme
Fix button theme
2023-08-23 13:16:26 +02:00
Benoit Marty
bc57a03a39 Add setting entry point to manage account (OIDC) 2023-08-23 12:54:22 +02:00
Benoit Marty
6928dc6e44 Restore OIDC support. 2023-08-23 12:18:42 +02:00
Michael Telatynski
2910911da2
Update localazy config generator - specify force_underscore=yes (#1122) 2023-08-23 11:59:09 +02:00
renovate[bot]
7df985baed Update dependency org.matrix.rustcomponents:sdk-android to v0.1.45 2023-08-23 09:25:22 +02:00
renovate[bot]
e4d4865c4e
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.6.0 (#1121)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-23 07:52:59 +02:00
Benoit Marty
7ea9512642 Simplify code (code review). 2023-08-22 18:10:49 +02:00
Florian Renaud
29cd8f287f Add missing modifier 2023-08-22 16:11:57 +02:00