Commit graph

731 commits

Author SHA1 Message Date
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
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
ganfra
83caf94ccb design : remove some usages of TextField and LabelledTextField 2024-11-08 15:29:07 +01:00
ganfra
e378b20868 design : removes usage of OutlinedTextField 2024-11-08 15:15:08 +01:00
ganfra
0d7641b3b2 design : updates TextField api 2024-11-08 15:14:48 +01:00
Benoit Marty
8b21efa32a Ensure the invisible buttons have the correct size. 2024-11-07 18:51:44 +01:00
ganfra
6126e51f6f design : new TextField api 2024-11-07 18:34:44 +01:00
Benoit Marty
1c020bcf26
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
f03a432bb2 Remove blank line. 2024-10-29 18:03:08 +01:00
Benoit Marty
229f843a2d Move TextWithLabelMolecule to the designsystem module. 2024-10-29 16:43:26 +01:00
Benoit Marty
77e45d4523 ListItem: allow list item to be clickable even when disabled. 2024-10-29 12:20:25 +01:00
Jorge Martin Espinosa
384c4a55da
Update accent color for Checkbox, RadioButton and Switch components (#3728)
* Update accent color for `Checkbox`, `RadioButton` and `Switch` components

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2024-10-24 11:14:15 +02:00
Benoit Marty
95d95d4f89
Merge pull request #3718 from element-hq/feature/bma/verifiedUserBadge
Verified user badge
2024-10-23 14:20:23 +02:00