Commit Graph

1696 Commits

Author SHA1 Message Date
Benoit Marty 8cb7c3211c Element call: Pass in custom call URL query parameters 2023-09-26 16:19:38 +02:00
Benoit Marty f0d5c46eaa Element call URL must have https scheme. 2023-09-26 15:41:31 +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 1b5aa7adaa Test that permission is requested, instead of giving the permission directly. 2023-09-21 15:00:47 +02:00
Benoit Marty dd5d67d186 Move open system setting to the PermissionsPresenter 2023-09-21 14:20:41 +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 292e21e5ad Cleanup 2023-09-21 12:18:41 +02:00
Benoit Marty e4ca2484ba Resume action once persmission has been granted. 2023-09-21 12:16:30 +02:00
Benoit Marty dcb1677bf1 Open app settings from the permission dialog. 2023-09-21 11:37:59 +02:00
Benoit Marty f3456cafa7 Rename Event for clarity 2023-09-21 11:29:29 +02:00
Benoit Marty 31eca73e8d Request Camera permission before launching the external Camera app (#1395) 2023-09-21 10:54:02 +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 97f2d211ae Detekt: Rename LargeHeightPreview to PreviewWithLargeHeight to follow naming convention.
MultiPreview annotations should start with `Preview` as prefix

Detekt: Rename `LargeHeightPreview` to `PreviewWithLargeHeight` to follow naming convention.
Custom Preview annotations should start with `Preview` as prefix
2023-09-21 08:30:15 +02:00
Benoit Marty e622f8d869 Merge pull request #1392 from vector-im/feature/bma/iterateOnIcons
Iterate on icons
2023-09-20 23:20:28 +02:00
Benoit Marty 48fd833f8b More cleanup 2023-09-20 17:32:32 +02:00
Benoit Marty 03d69146aa Remove unused resource, and use compound icons when possible. 2023-09-20 16:45:38 +02:00
Benoit Marty d531e71cd8 Migrate other icons to compound icons. 2023-09-20 16:44:59 +02:00
Benoit Marty b2b93317f1 Use CommonDrawables 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 b73fe69dd6 No need to decode the parameter value, getQueryParameter already does it. 2023-09-20 11:20:40 +02:00
Benoit Marty 040da1324d Add one more test. 2023-09-20 11:19:47 +02:00
Benoit Marty 1d0af23d52 Add test for the scheme io.element.call 2023-09-20 11:18:51 +02:00
Benoit Marty 1244761be2 Avoid code duplication 2023-09-20 11:09:21 +02:00
Benoit Marty 73d71b9ddb CallIntentDataParser is now a class. 2023-09-20 11:07:10 +02:00
Benoit Marty acbdac70be Add support for io.element.call:/?url=some-encoded-url uri 2023-09-20 11:05:15 +02:00
Benjamin Bouvier ffb1302211 feat: use the raw homeserver URL instead of manually removing the scheme
On the one hand, the SDK knows what to do and will clean up the URL if needs be,
guessing what the best scheme (http or https) is based on the prefix. On the other
hand, trimming the scheme as done here doesn't allow for manual testing on insecure
servers, which is handy in e2e testing situations.
2023-09-19 19:23:11 +02:00
Benoit Marty 12955d7c2d Fix vertical icon alignment 2023-09-19 14:18:28 +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
David Langley 0d172dfcf1 Merge branch 'develop' into dla/feature/room_list_decoration 2023-09-18 16:48:37 +01:00
Benoit Marty 635a4eb6a8 Merge pull request #1366 from vector-im/feature/bma/syncStrings
Sync strings
2023-09-18 17:45:44 +02:00
David Langley bd97cca6aa Merge branch 'develop' of https://github.com/vector-im/element-x-android into dla/feature/room_list_decoration 2023-09-18 16:44:13 +01:00
David Langley 67b9e94e19 Fix unused import. 2023-09-18 16:24:54 +01:00
David Langley 6497d2184f Add test. 2023-09-18 16:03:30 +01:00
Benoit Marty 0453ea5904 Localazy sync 2023-09-18 16:42:35 +02:00
David Langley c160a37b2c Merge branch 'dla/feature/room_list_decoration' of https://github.com/vector-im/element-x-android into dla/feature/room_list_decoration 2023-09-18 15:05:50 +01:00