Commit Graph

1485 Commits

Author SHA1 Message Date
Jorge Martin Espinosa
7929181c0f Bug reporter crashes when 'send logs' is disabled. (#1184)
* Bug reporter crashes when 'send logs' is disabled.

* Make sure generated files are cleaned up when uploading the logs fails.
2023-08-30 12:49:58 +02:00
Benoit Marty
e67c7ac9f1 Merge pull request #1177 from vector-im/feature/bma/analyticsSettingLink
Fix issue on analytics setting link
2023-08-30 11:16:46 +02:00
Benoit Marty
79c5bd25c3 Compact the code and reorder vals for code clarity 2023-08-30 10:24:57 +02:00
Benoit Marty
c88b087feb Remove unused lambda parameter. The link is opened by the LocalUriHandler now. 2023-08-30 10:21:27 +02:00
Jorge Martín
0a77590e76 Split link text into a ListSupportingText component.
This also requires some internal changes to `ListSupportingText`, `ClickableLinkText` and `TimelineTextView` to match the behaviour and design.
2023-08-30 09:33:53 +02:00
Florian Renaud
45a653be03 Fix test compilation 2023-08-30 09:31:55 +02:00
Florian Renaud
e599777b89 Merge pull request #1161 from vector-im/feature/fre/polls_timeline_item_tests
[Polls] Add unit tests for TimelineItemContentPollFactory
2023-08-30 08:32:21 +02:00
renovate[bot]
78eb7aea81 Update kotlin to 1.9.10 (#1123)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-30 08:28:06 +02:00
Marco Romano
b4e6d83fb7 "Create poll" UI (#1143)
NB: This is missing analytics, which will be added once https://github.com/matrix-org/matrix-analytics-events/pull/85 is merged.

Closes https://github.com/vector-im/element-meta/issues/2011
2023-08-29 22:31:21 +02:00
Benoit Marty
1a12e97524 Fix style (typo and color) for supporting content. 2023-08-29 18:03:29 +02:00
Benoit Marty
e8b6cddd6b format. 2023-08-29 16:46:59 +02:00
Benoit Marty
fb743e72c3 OptIn screen: make only the here word be clickable. 2023-08-29 16:46:42 +02:00
Benoit Marty
d80005ecf3 Remove preview Text. 2023-08-29 16:39:59 +02:00
Benoit Marty
88786cdda6 Use buildAnnotatedStringWithStyledPart and remove copied code. 2023-08-29 16:38:21 +02:00
Benoit Marty
03864b3eb0 Make the link open the policy url in the analytics setting screen. 2023-08-29 16:33:03 +02:00
Benoit Marty
62d92d3296 Fix rendering issue of the link. 2023-08-29 16:11:08 +02:00
Benoit Marty
506336401a Format. 2023-08-29 16:10:02 +02:00
Benoit Marty
ccff1d8137 Migrate AnalyticsPreferencesView from PreferenceSwitch to ListItem. 2023-08-29 16:09:26 +02:00
Florian Renaud
65ee52bb27 Factorize code and remove unused field in TimelineItemPollContent 2023-08-29 16:02:06 +02:00
Florian Renaud
c710cb7432 Add unit tests for TimelineItemContentPollFactory 2023-08-29 16:00:18 +02:00
Benoit Marty
011fa6af67 Merge pull request #1128 from vector-im/feature/bma/cleanupOidc
Cleanup OIDC
2023-08-28 15:08:36 +02:00
Benoit Marty
ecd2a9ad36 Remove useless dependency. 2023-08-28 14:31:36 +02:00
Benoit Marty
802c93b98e Fix typo in test class name. 2023-08-28 14:31:36 +02:00
Benoit Marty
bcede44407 Move module features.analytics.test to services.analytics.test. FakeAnalyticsService was not implemented at the correct location. 2023-08-28 14:31:36 +02:00
Benoit Marty
2dd5c12ff1 Fix typo 2023-08-28 13:03:04 +02:00
Benoit Marty
56c637ce7d Merge branch 'develop' into feature/bma/settingUpAccount 2023-08-28 13:02:44 +02:00
Benoit Marty
1a6376e723 Merge branch 'develop' into feature/bma/dataObject 2023-08-28 10:56:02 +02:00
Benoit Marty
fae5737356 Use a safer algorithm, and limit the size of the hashed string.
Fix an issue reported by Sonar.
2023-08-25 15:49:50 +02:00
Benoit Marty
8b1fe9b5dc Add test for MigrationScreenPresenter. 2023-08-25 15:49:50 +02:00
Benoit Marty
6ed2b0d1db Fix regression on WaitListView. 2023-08-25 14:55:52 +02:00
Benoit Marty
45c815f405 Upgrade DefaultFtueStateTests regarding the new FTUE step MigrationScreen. 2023-08-25 14:51:19 +02:00
Benoit Marty
a2a9fda583 Add preview for SunsetPage and fix warnings about Modifiers. 2023-08-25 14:38:34 +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
fc563f355b Remove translation with issue. Will be synced later. 2023-08-25 12:50:53 +02: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
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
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
ebf6a98c34 Merge remote-tracking branch 'origin/develop' into feature/fre/improve_poll_event_timeline_rendering 2023-08-24 14:42:16 +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
Benoit Marty
52853101d9 migrate object to data object (#1135) 2023-08-24 09:32:44 +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
Benoit Marty
fefc8fa3da Add a workaround to detect the Chrome Custom Tab closing (when there is no redirection). 2023-08-23 18:11:08 +02:00
Benoit Marty
7278fae142 Handle remarks from PR #1127 2023-08-23 17:23:12 +02:00
Benoit Marty
3f8e7eaef8 Add missing tests. 2023-08-23 13:49:03 +02:00