Commit Graph

735 Commits

Author SHA1 Message Date
Jorge Martin Espinosa
247071b196 Try avoiding trailing punctuation inside linkified URLs. (#4214)
Create `LinkfierHelper` and post-process URLSpans added to make sure they honor the actual URLs in text by removing unnecessarily added trailing punctuation.
2025-02-21 16:58:59 +00:00
Jorge Martin Espinosa
717a15bea5 When an emoji is used as the 'initial' for an avatar, use the whole emoji (#4277)
* When an emoji is used as the 'initial' for an avatar, use the whole emoji

Use `BreakIterator.getCharacterInstance()` for a simpler solution.
2025-02-18 20:15:11 +01:00
Benoit Marty
36d5528904 Merge branch 'develop' into feature/valere/support_verification_violation_banner 2025-02-18 15:42:08 +01:00
Benoit Marty
98f793b02e Merge pull request #4226 from element-hq/feature/bma/themeOverride
Theme override
2025-02-06 16:48:16 +01:00
Jorge Martin Espinosa
c040cec108 Create SyncOrchestrator (#4176)
* Create `SyncOrchestrator` to centralise the sync start/stop flow through the whole app: the decision is based on several inputs: sync state, network available, app in foreground, app in call, app needing to sync an event for a notification.

* Make network monitor return network connectivity status, not internet connectivity

* Don't stop the `SyncService` when network connection is lost, let it fail instead. This prevents an issue when using the offline mode of the SDK, which made the wrong UI states to be shown when the `SyncState` is `Idle` (that is, after the service being manually stopped).

* Rename `NetworkStatus.Online/Offline` to `Connected/Disconnected` so they're not easily mistaken with internet connectivity instead
2025-02-06 16:36:57 +01:00
Valere
1087b151a3 feature(crypto): verification violation handling and block sending 2025-02-06 16:27:19 +01:00
Benoit Marty
b8db5ebe16 Fix Text button color. 2025-02-06 15:10:15 +01:00
Benoit Marty
39cb6e03f0 Use color from ElementTheme. 2025-02-06 15:10:15 +01:00
Benoit Marty
0d6d74512f Use ElementTheme instead of MaterialTheme 2025-02-06 15:10:15 +01:00
Benoit Marty
484ecb5f6c Color aliases now use ElementTheme 2025-02-06 15:10:14 +01:00
Benoit Marty
468ef0f7fc Add ability to EnterpriseService to override theme colors 2025-02-06 15:10:14 +01:00
Benoit Marty
bfcc741312 Display a confirmation dialog before creating a DM. 2025-02-05 09:32:33 +01:00
Benoit Marty
84eed48b7d Fix minor warning. 2025-01-24 17:29:51 +01:00
Benoit Marty
9b0df915a6 Snackbar: SnackbarDispatcher.post does not need to be suspend. 2025-01-24 14:42:07 +01:00
Benoit Marty
0dc87cdf84 Snackbar: ensure that 2 snackbar with the same message will be displayed in a row. 2025-01-24 14:39:01 +01:00
ganfra
6111f68517 change(design) : introduce PreferenceDropdown component 2025-01-17 09:51:56 +01:00
ganfra
91753514c5 change(design) : Announcement clean up. 2025-01-15 11:17:25 +01:00
ganfra
19c61331ec change(design) : replace DialogLikeBannerMolecule by Announcement component 2025-01-14 16:35:37 +01:00
ganfra
69c555ae55 change(design) : introduce Announcement component 2025-01-14 16:12:43 +01:00
ganfra
818de2a134 change(design) : use ElementTheme.typography.fontBodyLgMedium for all button text. 2025-01-14 11:29:21 +01:00
Jorge Martin Espinosa
dfc2ade84e 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
05fc76822a 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
ganfra
d6f95fd47d design : introduce CounterAtom and ListItemContent.Counter 2025-01-03 15:30:28 +01:00
Benoit Marty
6609c93181 Fix DmAvatar rendering in RTL layout 2024-12-31 15:09:35 +01:00
Benoit Marty
9d70e459b8 Add preview for DmAvatars and Rtl layout. 2024-12-31 14:48:05 +01:00
Benoit Marty
654e7b14fa Remove unused ic_groups.xml 2024-12-17 14:35:19 +01:00
Benoit Marty
5bdd8bbb30 Replace ic_developer_options.xml by the icon from Compound. 2024-12-17 14:35:19 +01:00
Benoit Marty
caf8c7392e Add audio file support in the gallery and in the media viewer.
Make MediaPlayerControllerView compatible to control audio playback
2024-12-13 09:45:45 +01:00
Benoit Marty
28725a364f Media Gallery 2024-12-09 16:48:48 +01:00
ganfra
b603c0e289 Merge pull request #4005 from element-hq/feature/fga/requests_to_join_banner
feat(knock) : Knock Requests Banner UI
2024-12-09 11:54:43 +01:00
Benoit Marty
783166bba4 Merge pull request #4004 from element-hq/feature/bma/customAlertSolid
Add destructive param to BigIcon.Style.Default to be able to render icons with red tint
2024-12-06 16:58:05 +01:00
Benoit Marty
2518295271 Update doc and rename param. 2024-12-06 13:59:31 +01:00
ganfra
b149acff26 knock requests : start implementing banner ui 2024-12-06 13:29:31 +01:00
Benoit Marty
c80037d7b6 Fix BigIcon preview. 2024-12-06 13:22:56 +01:00
Benoit Marty
3cc1f46795 Add destructive param to BigIcon.Style.Default to be able to render icons with red tint. 2024-12-06 11:58:52 +01:00
ganfra
fdd0445906 Merge branch 'develop' into feature/fga/requests_to_join_list 2024-12-04 14:24:40 +01:00
ganfra
3803ec7544 fix : hide keyboard when TextComposer is removed from composition 2024-12-03 12:11:41 +01:00
Benoit Marty
9c31a15b36 Slider: import design. 2024-11-27 16:05:51 +01:00
ganfra
62dc795023 knock requests : start knock requests list view 2024-11-26 21:12:11 +01:00
Jorge Martin Espinosa
72d2265ae5 Replace textPlaceholder color usages with textSecondary (#3873)
* Replace `textPlaceholder` color usages with `textSecondary`

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2024-11-15 07:55:33 +00:00
ganfra
79b758c228 Merge pull request #3834 from element-hq/feature/fga/design_system_text_field
Design system : implement new TextField
2024-11-12 11:18:07 +01:00
ganfra
2f6a09f957 design : format textfield code 2024-11-08 15:41:07 +01:00
ganfra
a293ea0f2b design : TextField2 is now TextField 2024-11-08 15:37:10 +01:00
ganfra
6a68ebe467 design : remove some usages of TextField and LabelledTextField 2024-11-08 15:29:07 +01:00
ganfra
784b0a5c24 design : removes usage of OutlinedTextField 2024-11-08 15:15:08 +01:00
ganfra
a4b83fe024 design : updates TextField api 2024-11-08 15:14:48 +01:00
Benoit Marty
2091c5559d Ensure the invisible buttons have the correct size. 2024-11-07 18:51:44 +01:00
ganfra
612dfa4c9a design : new TextField api 2024-11-07 18:34:44 +01:00
Benoit Marty
e95613f3fe Merge pull request #3750 from element-hq/feature/bma/cryptoIteration
UI iteration on the encryption settings
2024-10-30 11:11:35 +01:00
Benoit Marty
907bbe7bdf Remove blank line. 2024-10-29 18:03:08 +01:00