Colin S
ebdd9459e7
messages: separate custom tab links from normal links
...
Some links in the `MessagesView` are part of Element X itself,
such as the help pages in `LearnMoreConfig` [1]. These links
should open in an "in-app" Chrome Custom Tab, because they are
basically part of the app.
Web links from chat messages, on the other hand, should open in
the user's preferred web browser as regular tabs.
Separate "regular" links from "custom tab" links with a new
parameter `onLinkClick(..., customTab)`. If true, the link
opens in a custom tab.
Links within `TimelineView` are always opened in a normal tab.
[1]: appconfig/src/main/kotlin/io/element/android/appconfig/LearnMoreConfig.kt
2025-01-28 20:53:22 -06:00
Colin S
31c3b0c881
messages: open web links in full web browser
...
In [1], all hyperlinks within `MessagesNode` switched to using
activity.openUrlInChromeCustomTab()
instead of with `openUrlInExternalApp()`.
This causes web links in chat messages to open in an "in-app"
Chrome Custom Tab [2] instead of the user's configured "full"
web browser. This is a UX nuisance. Open web links in a full
browser instead.
Closes #3885 [3].
[1]: 5baefd479f (Identity change: handle click on "learn more")
[2]: https://developer.chrome.com/docs/android/custom-tabs/guide-get-started#opening_a_custom_tab
[3]: https://github.com/element-hq/element-x-android/issues/3885
2025-01-25 21:07:22 -06:00
Benoit Marty
d26414f1d3
Provide duration
2025-01-22 16:22:18 +01:00
Benoit Marty
7df65b0350
Add support for files navigation (when coming from the gallery)
2025-01-22 16:22:15 +01:00
Benoit Marty
2e5323853c
Replace our firstIfSingle extension with singleOrNull from the Kotlin library.
2025-01-22 15:49:41 +01:00
bmarty
0f0b30d4c5
Sync Strings from Localazy
2025-01-20 00:26:57 +00:00
ganfra
599972adea
change(tracing) : update bug reporter tracing form data.
2025-01-17 16:59:31 +01:00
ganfra
7d27e6581b
change(tracing) : change how tracing is configured (ui and logic)
2025-01-17 09:52:32 +01:00
ganfra
3dd39855c2
change(flow) : remove developer entry point from OnBoarding
2025-01-17 09:37:35 +01:00
ganfra
46119aefa2
Merge pull request #4140 from element-hq/feature/fga/compound_design_announcement
...
change(design) : New component Announcement
2025-01-15 11:38:43 +01:00
Jorge Martin Espinosa
a74a62c090
Remove or replace unnecessary BackHandler calls ( #4148 )
...
* Remove/replace `BackHandler` calls:
- For `UserProfileView`, remove the redundant `BackHandler` -> `navigateUp()` call.
- For `SetupBiometricView`, remove the `enabled = true` parameter, as this is the default value.
2025-01-15 10:43:26 +01:00
ganfra
b8c0e5257b
change(design) : replace DialogLikeBannerMolecule by Announcement component
2025-01-14 16:35:37 +01:00
bmarty
bd1165179b
Sync Strings from Localazy
2025-01-13 00:30:35 +00:00
Jorge Martin Espinosa
65ce91a8fb
Close the media preview screen ASAP with sending queue enabled ( #4089 )
...
* Close the attachment preview screen ASAP when sending media with the send queue is enabled
* When the send queue FF is not enabled make sure to dismiss the screen after the media has been sent
* Make sure we get a scaled thumbnail from videos too, not only for images
* Unify several state holders into `SendActionState`.
* Fix lint issues, add `Flow.firstInstanceOf` extension fun
* Update screenshots
---------
Co-authored-by: ElementBot <android@element.io>
2025-01-08 15:49:17 +00:00
Jorge Martin Espinosa
bb74fed493
Replace the InfoListOrganism default bg color ( #4091 )
...
* Replace the `InfoListOrganism` default bg color
* Update screenshots
---------
Co-authored-by: ElementBot <android@element.io>
2025-01-07 14:01:42 +01:00
Benoit Marty
97f3be3dc5
Apply dual licenses: AGPL + Element Commercial to file headers.
...
2 replace all actions have been performed:
- "SPDX-License-Identifier: AGPL-3.0-only" to "SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial"
- "Please see LICENSE in the repository root for full details." to "Please see LICENSE files in the repository root for full details."
2025-01-07 10:05:04 +01:00
Benoit Marty
a33266ca0f
Merge pull request #4111 from surakin/sticker-mimetype-fallback
...
Change sticker mimetype fallback to image
2025-01-06 11:26:19 +01:00
Marco Antonio Alvarez
ec27ea4697
If there's no mime type in the sticker event we can safely assume it's an image anyway.
...
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
2025-01-04 19:41:04 +01:00
ganfra
7255fc0e3a
feature(knock) : use ListItemContent.Counter according to design
2025-01-03 15:30:52 +01:00
Benoit Marty
c048cd4ec5
Fix quality checks
2025-01-02 08:16:06 +01:00
Benoit Marty
df108adced
Add overlapRatio parameter
2025-01-02 07:04:35 +01:00
Benoit Marty
9f6f812377
Fix issue when rendering in RTL.
2025-01-02 07:04:34 +01:00
Benoit Marty
cd93ab9cd2
Add preview on AvatarRow
2025-01-02 07:04:33 +01:00
Benoit Marty
3add7be872
Extract AvatarRow to its own file
2025-01-02 07:04:31 +01:00
Benoit Marty
81f3a6a08a
Merge pull request #4100 from element-hq/sync-localazy
...
Sync Strings
2024-12-30 12:07:37 +01:00
Will Hunt
17d620cb14
Merge branch 'develop' into hs/log-line-fix
2024-12-30 10:23:47 +00:00
Will Hunt
3476cae00b
Update WebViewWidgetMessageInterceptor.kt
...
Improve parameter naming
2024-12-30 10:15:14 +00:00
bmarty
2758adb646
Sync Strings from Localazy
2024-12-30 10:12:13 +00:00
Benoit Marty
29f8f21a3c
Fix compilation issue after string key renamed.
2024-12-30 09:43:57 +01:00
Half-Shot
30a288a216
Add a log function for handling complex values to the WebView client.
2024-12-27 14:57:38 +00:00
bmarty
45db2a97ad
Sync Strings from Localazy
2024-12-23 00:16:39 +00:00
ganfra
7b1f458033
Merge pull request #4067 from element-hq/feature/fga/knock_requests_sdk
...
feat(knock requests) : branch logic for handling knock requests
2024-12-20 10:35:21 +01:00
ganfra
f4f669cbbb
knock requests : rename KnockRequestsActionTarget to KnockRequestAction
2024-12-19 20:08:14 +01:00
ganfra
602b891bd0
knock requests : rename fixture aKnockRequestPresentable
2024-12-19 19:34:11 +01:00
ganfra
189cc5c58e
knock requests : add KnockRequestsException
2024-12-19 19:31:53 +01:00
Benoit Marty
5c41de60fa
Move share and download actions to the bottom sheet
2024-12-19 16:20:50 +01:00
Benoit Marty
1c2be66d6b
Merge pull request #4065 from element-hq/feature/bma/recoveryKeyUi
...
Update recovery key UI
2024-12-18 21:26:14 +01:00
ganfra
9f0847f211
knock requests : fix test name
2024-12-18 20:36:40 +01:00
ganfra
80ae08648a
knock requests : rework knock requests service to avoid reloading of data (and weird ui glitch because of them)
2024-12-18 20:24:29 +01:00
ganfra
7f372282dc
knock requests : format and clean
2024-12-18 18:13:13 +01:00
ganfra
a973c8f028
knock requests : fix wrong string resource for error
2024-12-18 18:10:00 +01:00
ganfra
5275a3e5d3
Merge branch 'develop' into feature/fga/knock_requests_sdk
2024-12-18 17:21:16 +01:00
Benoit Marty
0648cf36f9
Merge pull request #4056 from element-hq/feature/bma/messageActionList
...
Update message action list
2024-12-18 16:47:51 +01:00
ganfra
38c3989c36
Merge pull request #4060 from element-hq/feature/fga/update_rust_sdk_0.2.72
...
depencies(sdk) : update rust sdk 0.2.72
2024-12-18 16:40:21 +01:00
Benoit Marty
4d89c76e7b
Update recovery key UI. Closes #4063
2024-12-18 16:07:02 +01:00
Benoit Marty
c240b5da1a
Format file (no other change)
2024-12-18 16:04:48 +01:00
ganfra
ae03c4c718
deps(sdk) : update rust sdk to 0.2.72 and fix api breaks
2024-12-18 15:24:04 +01:00
ganfra
34b81435fc
test(settings) : try to fix flakiness
2024-12-18 15:21:19 +01:00
Benoit Marty
865f877bb7
Fix flaky test by using CompletableDeferred
2024-12-17 15:42:50 +01:00
ganfra
e1f6c07ecd
knock requests : add tests to the feature
2024-12-17 15:36:30 +01:00