Commit Graph

3234 Commits

Author SHA1 Message Date
Benoit Marty
a2a9fda583 Add preview for SunsetPage and fix warnings about Modifiers. 2023-08-25 14:38:34 +02:00
Benoit Marty
addb0dc3bc Fix warning. 2023-08-25 14:37:55 +02:00
Benoit Marty
04bab22f62 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
c2cfa4a606 Add the Migrate session screen (#1145) 2023-08-25 13:52:32 +02:00
Benoit Marty
7a602790ab Localazy: move string screen_migration_ to ftue/impl module and sync the strings. 2023-08-25 13:52:32 +02:00
Benoit Marty
4ecd4c636f Extract Composable to new SunsetPage. 2023-08-25 13:49:40 +02:00
Benoit Marty
37f2a9a669 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
fc563f355b Remove translation with issue. Will be synced later. 2023-08-25 12:50:53 +02:00
ElementBot
8914522c31 Update screenshots 2023-08-25 10:22:22 +00:00
Benoit Marty
cd558bc09f Import strings with Localazy. 2023-08-25 12:15:06 +02:00
Florian Renaud
a70149d86d 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
9999b95852 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
a77571a85b cleanup 2023-08-25 10:12:21 +02:00
Florian Renaud
4eb49383e1 Rename modifier 2023-08-25 09:36:21 +02:00
Florian Renaud
875c38a191 Rename TimestampPosition.Above to Overlay 2023-08-25 09:30:05 +02:00
ElementBot
4d2fd9176b Update screenshots 2023-08-25 07:14:37 +00:00
ElementBot
8aebb94006 Update screenshots 2023-08-25 09:07:10 +02:00
Florian Renaud
3c8cf0ef67 Add default timestamp position 2023-08-25 09:07:10 +02:00
Florian Renaud
23b8573ad4 Improve timestamp rendering for poll event content 2023-08-25 09:07:10 +02:00
Florian Renaud
87e314fe4d Use a single preview for radio buttons with checked & unchecked states 2023-08-25 09:01:20 +02:00
renovate[bot]
76b7a0e0f4 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
9942710207 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
7f50671a45 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
ebf6a98c34 Merge remote-tracking branch 'origin/develop' into feature/fre/improve_poll_event_timeline_rendering 2023-08-24 14:42:16 +02:00
Marco Romano
b6518c595d Update rust sdk to 0.1.47 (#1142) 2023-08-24 14:14:59 +02:00
Jorge Martin Espinosa
39ef780fe7 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
f5fd505bc2 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
3712e48d39 Merge pull request #1139 from vector-im/feature/bma/prTemplate
PR template
2023-08-24 11:18:39 +02:00
Benoit Marty
5c6ecd8327 Fix grammar 2023-08-24 11:15:37 +02:00
Benoit Marty
94007bac94 Update pull request template for Element X. 2023-08-24 10:07:10 +02:00
Benoit Marty
6b96a3adf2 Element X 2023-08-24 09:55:29 +02:00
Benoit Marty
c41db7daa4 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
6457f3c4f5 Fix sent videos being cropped (#1124) 2023-08-24 09:41:58 +02:00
Benoit Marty
2fadaa9cf5 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]
f9057029cf 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
a7a36a9435 Update screenshots 2023-08-24 06:26:31 +00:00
renovate[bot]
bd8585e6d2 Update dependency androidx.compose.material3:material3 to v1.2.0-alpha06 2023-08-23 20:33:52 +00:00
Benoit Marty
6941bc69f6 Merge pull request #1127 from vector-im/feature/bma/finishOidc
Enable OIDC support
2023-08-23 17:01:41 +02:00
Benoit Marty
281df6aec5 Changelog. 2023-08-23 16:04:55 +02:00
ElementBot
d9ff14d9bc Update screenshots 2023-08-23 13:28:17 +00:00
Jorge Martin Espinosa
80aaa8b8ab When event has no id, just cancel parsing the latest room message (#1126) 2023-08-23 12:50:22 +00:00
Benoit Marty
10e8517766 Implement didRefreshTokens(): update database with updated SessionData. 2023-08-23 14:42:46 +02:00
Benoit Marty
3f8e7eaef8 Add missing tests. 2023-08-23 13:49:03 +02:00
Benoit Marty
9c46ac8f5c Merge pull request #1112 from vector-im/feature/bma/fixButtonTheme
Fix button theme
2023-08-23 13:16:26 +02:00
Benoit Marty
79aa128377 Add setting entry point to manage account (OIDC) 2023-08-23 12:54:22 +02:00
Benoit Marty
06a9b129d0 Restore OIDC support. 2023-08-23 12:18:42 +02:00
Michael Telatynski
09efc2d358 Update localazy config generator - specify force_underscore=yes (#1122) 2023-08-23 11:59:09 +02:00
renovate[bot]
92fe22d9d7 Update dependency org.matrix.rustcomponents:sdk-android to v0.1.45 2023-08-23 09:25:22 +02:00
renovate[bot]
2c39a6173a 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
8c9643f8b8 Simplify code (code review). 2023-08-22 18:10:49 +02:00