Commit Graph

577 Commits

Author SHA1 Message Date
Benoit Marty c9c7af6e06 Simplify the management of inReplyToEventTimelineItem 2023-09-27 11:31:12 +02:00
Benoit Marty a192a8823f Ensure getEventTimelineItemByEventId is called when we enter in reply mode. 2023-09-27 10:48:31 +02:00
Benoit Marty 8e24d5991c Merge pull request #1436 from vector-im/feature/bma/mutableIntFloat
Mutable int float
2023-09-26 18:31:36 +02:00
Benoit Marty f607b557ff Merge pull request #1432 from vector-im/feature/bma/installApk
Install apk from the app - REQUEST_INSTALL_PACKAGES
2023-09-26 18:15:35 +02:00
Benoit Marty 702c137ead Replace mutableStateOf by mutableIntStateOf and mutableFloatStateOf. Use intValue and floatValue to avoid unboxing. 2023-09-26 18:07:53 +02:00
Benoit Marty 3eb112381d Call openFile instead of open and avoid unwrapping the Activity context. 2023-09-26 17:48:26 +02:00
Benoit Marty bf49078e40 Detekt: fix OptionalUnit issue. 2023-09-26 17:48:26 +02:00
Benoit Marty 3f73443ebb Be able to install APK from Element X. 2023-09-26 17:48:26 +02:00
Benoit Marty e7ba973e7b Improve default mime type. 2023-09-26 17:48:26 +02:00
Marco Romano 2e6581a5ad Show poll creator view in timeline (#1429)
- Shows edit/end poll buttons when the user is the creator of the poll.
- Only the end poll button is wired right now as there is no "edit poll" screen yet.
2023-09-26 11:19:24 +02:00
Benoit Marty d8fbf216f1 Merge pull request #1419 from vector-im/sync-localazy
Sync Strings
2023-09-26 10:05:46 +02:00
Marco Romano 7464cbb769 Use eventSink method reference in TimelinePresenter.kt (#1428)
Has been changed in https://github.com/vector-im/element-x-android/pull/1172 but in general method references should always be preferred to lambdas in composable functions (because they have higher stability guarantees).
2023-09-25 21:56:41 +02:00
Marco Romano f4b46aa2bb Push TimelineEvents further down the UI tree. (#1424)
So that timeline items don't have to route their callback all the way down to TimelinePresenter.
2023-09-25 15:31:10 +00:00
bmarty c72bb92ef2 Sync Strings from Localazy 2023-09-25 00:09:17 +00:00
Benoit Marty 03eacdc454 Add animation on the timeline content, to avoid glitch (#1323) 2023-09-21 18:43:46 +02:00
bmarty a7ce12d91d Sync Strings from Localazy 2023-09-21 15:51:21 +00:00
Benoit Marty 0255ec6771 Merge pull request #1400 from vector-im/feature/bma/fixCrashPhoto
Fix crash when user wants to use the camera
2023-09-21 16:31:36 +02:00
Benoit Marty 56a57de3e1 Suppress LargeClass on test. 2023-09-21 16:31:08 +02:00
Benoit Marty 5a8f2c5efa Add missing test on this Presenter 2023-09-21 15:54:59 +02:00
Benoit Marty 658c59d489 Add missing test on this Presenter 2023-09-21 15:40:27 +02:00
Benoit Marty d19b624c6f Rename Event for clarity 2023-09-21 15:33:03 +02:00
Benoit Marty 08b455afd3 Create FakePermissionsPresenterFactory, to reduce boilerplate. 2023-09-21 12:54:15 +02:00
Benoit Marty f644d314f3 Request Camera permission before launching the external Camera app - when sending attachment to a room (#1395) 2023-09-21 12:48:03 +02:00
Benoit Marty 0e4c146e87 Detekt: Rename DayNightPreviews to PreviewsDayNight to follow naming convention.
MultiPreview annotations should start with `Previews` as prefix
2023-09-21 08:30:36 +02:00
Benoit Marty 48fd833f8b More cleanup 2023-09-20 17:32:32 +02:00
Benoit Marty d531e71cd8 Migrate other icons to compound icons. 2023-09-20 16:44:59 +02:00
Benoit Marty 085b3bbfa4 Iterate on icons (#1320) 2023-09-20 16:44:59 +02:00
Benoit Marty c652606f56 Remove VectorIcons object, inline the values. 2023-09-20 16:44:59 +02:00
Benoit Marty f808dcd6ea Merge pull request #1372 from vector-im/feature/bma/dayNightPreview
Day night preview annotation
2023-09-19 14:04:49 +02:00
jonnyandrew ee8d27e927 [Rich text editor] Add link functionality to rich text editor (#1309)
* Add link functionality to rich text editor
* Add 'list dialog' component compound design library
* Add 'text field list item' component to compound design library
2023-09-19 11:20:07 +00:00
Benoit Marty 2819448cd4 Use DayNightPreview 2023-09-19 11:49:12 +02:00
Benoit Marty 0453ea5904 Localazy sync 2023-09-18 16:42:35 +02:00
bmarty d2f9b02bbf Sync Strings from Localazy 2023-09-18 00:09:19 +00:00
Benoit Marty 32f4141480 Fix typo in fun names. 2023-09-14 19:48:20 +02:00
Benoit Marty 7d9b865575 Show "View Event" if the developer mode is enabled. 2023-09-14 19:48:20 +02:00
Benoit Marty 0424192834 Rename Developer -> ViewSource 2023-09-14 19:48:20 +02:00
Benoit Marty 657ac05e01 Remove feature flag RichTextEditor, it's replaced by an advanced settings. 2023-09-14 19:47:41 +02:00
ganfra 239730702d Merge pull request #1298 from vector-im/feature/fga/timeline_thread_decoration
Feature/fga/timeline thread decoration
2023-09-14 18:45:33 +02:00
jonnyandrew 15eb976ffb [Rich text editor] Fix 'text formatting' option only partially visible (#1335) 2023-09-14 16:32:15 +00:00
Benoit Marty 4e5036f962 Avoid lint false positive. 2023-09-14 18:16:10 +02:00
ganfra cc33e39dc6 Merge branch 'develop' into feature/fga/timeline_thread_decoration 2023-09-14 16:57:20 +02:00
ganfra b382993cbb Sync Strings from Localazy 2023-09-14 14:38:49 +00:00
ganfra 96fbdb91c7 Thread decoration : pr review 2023-09-14 14:57:39 +02:00
Jorge Martin Espinosa 754671303a Fix long click on simple formatted messages (#1327) 2023-09-14 11:51:10 +02:00
ganfra 0fb93d1cca Thread decoration: update preview with new changes 2023-09-13 16:36:35 +02:00
ganfra b36ea5cedf Thread decoration: add "Reply in thread" context 2023-09-13 16:00:44 +02:00
Marco Romano 7fdd83bf91 GRemove the @JvmField annotation whenever using WarmUpRule. 2023-09-13 15:19:26 +02:00
Marco Romano b426084415 Test analytics when sending messages (#1296)
Covers changes in https://github.com/vector-im/element-x-android/pull/1288
2023-09-13 13:43:17 +02:00
ganfra 36fdf243cc Thread decoration: add and branch isThreaded method 2023-09-13 12:05:50 +02:00
ganfra 30436e4406 Merge branch 'develop' into feature/fga/timeline_thread_decoration 2023-09-13 11:42:46 +02:00