Commit graph

992 commits

Author SHA1 Message Date
Benoit Marty
a70249769d Migrate to coil3 2025-03-03 12:30:26 +01:00
Benoit Marty
fe1559425d Fix small regression on Preview. 2025-02-26 22:44:30 +01:00
Benoit Marty
eda18f8b78 Replace Material icons with Compound icons wherever it's possible 2025-02-26 22:19:19 +01:00
Benoit Marty
280287b023 Change CompoundIcons.Error to CompoundIcons.ErrorSolid 2025-02-26 18:52:31 +01:00
ganfra
25d39c285b feat(join by alias) : add TextFieldValidity.None instead of nullable 2025-02-25 20:27:54 +01:00
ganfra
6f8ca62261 feat(join by alias) : format code 2025-02-25 15:56:14 +01:00
ganfra
786c2adc97 design(text field) : allow setting validity (instead of just isError bool) 2025-02-25 15:45:43 +01:00
Jorge Martin Espinosa
5d8403b310
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
5e1bdbd5d9
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
cc9c7b1b03
Merge branch 'develop' into feature/valere/support_verification_violation_banner 2025-02-18 15:42:08 +01:00
Benoit Marty
5456f0e38e
Merge pull request #4226 from element-hq/feature/bma/themeOverride
Theme override
2025-02-06 16:48:16 +01:00
Jorge Martin Espinosa
3c87fb05b2
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
52c57d4d8e feature(crypto): verification violation handling and block sending 2025-02-06 16:27:19 +01:00
Benoit Marty
d173d67e77 Fix Text button color. 2025-02-06 15:10:15 +01:00
Benoit Marty
cc7fd55269 Use color from ElementTheme. 2025-02-06 15:10:15 +01:00
Benoit Marty
07d4778ae5 Use ElementTheme instead of MaterialTheme 2025-02-06 15:10:15 +01:00
Benoit Marty
4f5155c314 Color aliases now use ElementTheme 2025-02-06 15:10:14 +01:00
Benoit Marty
1654f569a0 Add ability to EnterpriseService to override theme colors 2025-02-06 15:10:14 +01:00
Benoit Marty
9a255c5e31 Display a confirmation dialog before creating a DM. 2025-02-05 09:32:33 +01:00
Benoit Marty
1f15573fef Fix minor warning. 2025-01-24 17:29:51 +01:00
Benoit Marty
1ecb704e24 Snackbar: SnackbarDispatcher.post does not need to be suspend. 2025-01-24 14:42:07 +01:00
Benoit Marty
d909bb0c3d Snackbar: ensure that 2 snackbar with the same message will be displayed in a row. 2025-01-24 14:39:01 +01:00
ganfra
fd3b99765d change(design) : introduce PreferenceDropdown component 2025-01-17 09:51:56 +01:00
ganfra
24a1b31df5 change(design) : Announcement clean up. 2025-01-15 11:17:25 +01:00
ganfra
b8c0e5257b change(design) : replace DialogLikeBannerMolecule by Announcement component 2025-01-14 16:35:37 +01:00
ganfra
dff29fa270 change(design) : introduce Announcement component 2025-01-14 16:12:43 +01:00
ganfra
a6a0cb083f change(design) : use ElementTheme.typography.fontBodyLgMedium for all button text. 2025-01-14 11:29:21 +01: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
ganfra
cc530d7ebf design : introduce CounterAtom and ListItemContent.Counter 2025-01-03 15:30:28 +01:00
Benoit Marty
37cd9efc34 Fix DmAvatar rendering in RTL layout 2024-12-31 15:09:35 +01:00
Benoit Marty
896123979d Add preview for DmAvatars and Rtl layout. 2024-12-31 14:48:05 +01:00
Benoit Marty
9d34275d90 Remove unused ic_groups.xml 2024-12-17 14:35:19 +01:00
Benoit Marty
df400a531f Replace ic_developer_options.xml by the icon from Compound. 2024-12-17 14:35:19 +01:00
Benoit Marty
ce09aac59d 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
3e1b1c29d1 Media Gallery 2024-12-09 16:48:48 +01:00
ganfra
9dac27a165
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
d1cfad4ec8
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
4cf0fdb00e Update doc and rename param. 2024-12-06 13:59:31 +01:00
ganfra
84299fc37a knock requests : start implementing banner ui 2024-12-06 13:29:31 +01:00
Benoit Marty
175431fa86 Fix BigIcon preview. 2024-12-06 13:22:56 +01:00
Benoit Marty
21f7bcd9f8 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
d57ec1c2f8 Merge branch 'develop' into feature/fga/requests_to_join_list 2024-12-04 14:24:40 +01:00
ganfra
a475cb8568 fix : hide keyboard when TextComposer is removed from composition 2024-12-03 12:11:41 +01:00
Benoit Marty
7a8b942dfb Slider: import design. 2024-11-27 16:05:51 +01:00
ganfra
bc09872bae knock requests : start knock requests list view 2024-11-26 21:12:11 +01:00
Jorge Martin Espinosa
1b6f77d25a
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
cffd2da10b
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
bb85e81311 design : format textfield code 2024-11-08 15:41:07 +01:00
ganfra
3910c42855 design : TextField2 is now TextField 2024-11-08 15:37:10 +01:00