ganfra
30436e4406
Merge branch 'develop' into feature/fga/timeline_thread_decoration
2023-09-13 11:42:46 +02:00
ganfra
9f5666ac0c
Thread decoration: create the ThreadDecoration ui
2023-09-13 11:40:16 +02:00
Jorge Martin Espinosa
fb9d08bab0
[Compound] Improve Bloom ( #1272 )
...
* Improve Bloom:
- Simplify bloom blurred image.
- Display very subtle bloom for avatars with soft colors.
* Improve caching and performance
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-12 14:02:59 +02:00
Marco Romano
a4c9c55a8b
New icons for Poll and Poll end ( #1280 )
...
Now both icons come from our designs and have a consistent size and padding (previously the poll one was coming from the material icons).
2023-09-12 13:35:26 +02:00
Jorge Martin Espinosa
41061da768
[Compound] Bloom ( #1253 )
...
* Add `bloom` and `avatarBloom` modifiers.
* Add `ConnectivityIndicatorContainer` to control the padding needed at the top.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-11 15:43:23 +02:00
Benoit Marty
4e40d694e7
Move class AvatarColorsProvider to its own file.
2023-09-11 10:55:26 +02:00
Benoit Marty
72497b584d
Now that we use a cache, there is no need to provide AvatarColors to the Avatar composable.
2023-09-11 10:55:26 +02:00
Benoit Marty
f8b630ecb2
Implement a in-memory cache for user avatar colors.
2023-09-11 10:55:26 +02:00
Benoit Marty
5d89647a89
Apply avatar colors to all the avatars across the app.
2023-09-11 10:55:26 +02:00
jonnyandrew
896c2325db
[Rich text editor] Add formatting menu ( #1261 )
...
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-08 16:23:15 +00:00
Benoit Marty
3d6b5976e3
Iterate on icon in Fab in the room list.
2023-09-07 15:49:51 +02:00
Benoit Marty
b9896bab80
Use CircleShape by default on FAB, for coherency with other platforms.
2023-09-07 15:10:10 +02:00
Yoan Pintas
4a5a01d710
Add room notification settings ( #807 )
...
* Add room notification settings
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: David Langley <langley.dave@gmail.com>
2023-09-07 10:24:34 +02:00
Jorge Martin Espinosa
cfdccc904e
Replace notification permission dialog with a screen ( #1223 )
...
* Replace notification permission dialog with a screen
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-05 18:58:05 +02:00
Benoit Marty
d4b527fb80
Merge pull request #1225 from vector-im/feature/bma/forceDarkTheme
...
Fix system bar color after login on light theme.
2023-09-05 17:30:56 +02:00
Benoit Marty
717f632b35
Fix system bar color after login on light theme.
...
Actually for the SunsetPage, we need a light status bar.
2023-09-05 16:19:04 +02:00
Benoit Marty
6ef288c26d
Rename parameter and update comment.
2023-09-05 15:45:12 +02:00
Benoit Marty
d383590910
Use bolder font for fallback avatar.
2023-09-05 15:39:31 +02:00
Benoit Marty
ff77fca34d
Avoid hard-coded number and update the related test.
2023-09-05 15:39:31 +02:00
Benoit Marty
74fc570708
Composable functions that return a value should start with a lowercase letter
2023-09-05 15:39:31 +02:00
Benoit Marty
1cffbbdca7
Apply colors to default user avatar in the timeline.
2023-09-05 12:44:36 +02:00
Benoit Marty
e301d60648
Compute avatar color of users and apply foreground color to the sender displayname.
2023-09-05 12:23:42 +02:00
Benoit Marty
9bf3521f39
Compute avatar color of users and apply foreground color to the sender displayname.
2023-09-05 12:10:30 +02:00
Marco Romano
00828b6714
New icon for "poll end" in both action menu and timeline item. ( #1203 )
...
- Also fixes preview of action list (reply is included as it will soon be added).
2023-08-31 15:40:51 +02:00
Marco Romano
3a920f1a9d
Poll end ( #1182 )
...
- Adds an "End Poll" item in the action list long press menu.
- Shows only on remote polls that have not ended yet and only if the user is the creator or has redact powers.
Closes https://github.com/vector-im/element-meta/issues/2026
2023-08-31 14:39:11 +02:00
Benoit Marty
cbe9c27880
Merge pull request #1177 from vector-im/feature/bma/analyticsSettingLink
...
Fix issue on analytics setting link
2023-08-30 11:16:46 +02:00
Jorge Martin Espinosa
36f0bec184
Make sure Snackbars are only displayed once ( #1175 )
...
* Make sure Snackbars are only displayed once
* Use a queue instead
* Fix docs
* Add tests for `SnackbarDispatcher`.
2023-08-30 10:43:23 +02:00
Benoit Marty
706896a4de
Reorder params.
2023-08-30 10:28:44 +02:00
Jorge Martín
c3f49a2451
Split link text into a ListSupportingText component.
...
This also requires some internal changes to `ListSupportingText`, `ClickableLinkText` and `TimelineTextView` to match the behaviour and design.
2023-08-30 09:33:53 +02:00
Benoit Marty
79af05bc08
Use buildAnnotatedStringWithStyledPart and remove copied code.
2023-08-29 16:38:21 +02:00
Benoit Marty
f80eece489
Merge branch 'develop' into feature/bma/settingUpAccount
2023-08-28 13:02:44 +02:00
Benoit Marty
55255735d7
Merge branch 'develop' into feature/bma/dataObject
2023-08-28 10:56:02 +02:00
Benoit Marty
7055fea895
Add preview for SunsetPage and fix warnings about Modifiers.
2023-08-25 14:38:34 +02:00
Benoit Marty
0c5675e307
Extract Composable to new SunsetPage.
2023-08-25 13:49:40 +02:00
Florian Renaud
360c24dd18
Merge pull request #1113 from vector-im/feature/fre/improve_poll_event_timeline_rendering
...
[Poll] Render ended poll and improve UI in the timeline
2023-08-25 10:14:15 +02:00
Florian Renaud
8f2647799e
Use a single preview for radio buttons with checked & unchecked states
2023-08-25 09:01:20 +02:00
Marco Romano
0abda97d6f
ListItem: Don't apply clickable modifier if onClick is null. ( #1146 )
...
If it is applied but disabled (like before this PR) it will hijack all touch input from the view and no other component in it can respond to clicks.
2023-08-24 15:11:13 +00:00
Jorge Martin Espinosa
b326ca28cc
Improve list items: add lists to dialogs, rework ListItem customizations ( #1119 )
...
* Improve list items:
- Create `ListItemContent`.
- Create `ListItemStyle`.
- Apply those to `ListItem` components.
- Create helper list item components for checkboxes, switches, radio buttons.
* Create single/multiple selection dialogs.
* Create `SingleSelectionListItem` and `MultipleSelectionListItem`
- Add `subtitle` to `AlertDialogContents`.
- Fix paddings and margins inside dialogs.
- Add `ListOption`.
* Adds small delay before hiding the single selection dialog.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-08-24 15:11:05 +02:00
Florian Renaud
e6490b3a89
Merge remote-tracking branch 'origin/develop' into feature/fre/improve_poll_event_timeline_rendering
2023-08-24 14:42:16 +02:00
Benoit Marty
7083abcf09
migrate object to data object ( #1135 )
2023-08-24 09:32:44 +02:00
Benoit Marty
6822e6dacb
Merge pull request #1112 from vector-im/feature/bma/fixButtonTheme
...
Fix button theme
2023-08-23 13:16:26 +02:00
Benoit Marty
7ea9512642
Simplify code (code review).
2023-08-22 18:10:49 +02:00
Jorge Martin Espinosa
1922c505ef
Make links in messages clickable again ( #1115 )
2023-08-22 15:21:43 +02:00
Florian Renaud
886c6526e8
Improve previews
2023-08-22 10:55:17 +02:00
Florian Renaud
81051295a4
Use custom RadioButton
2023-08-22 10:55:17 +02:00
Benoit Marty
549218eeb2
Button theme: fix small integration mistake on button padding from Figma.
2023-08-22 10:38:24 +02:00
Benoit Marty
d7b22047c6
Code clarity (no change effect): always use when with ButtonStyle.Filled, ButtonStyle.Outlined and ButtonStyle.Text cases.
2023-08-22 10:17:55 +02:00
Jorge Martin Espinosa
bfd938a970
Linkify raw links in HTML message contents ( #1102 )
...
* Linkify links in HTML too:
- Creates a `ClickableLinkText` for `String`.
- Adds a `linkify` parameter to the original function, which is `true` by default.
- Does the linkify logic inside that component, if `linkify` is true.
* Add changelog
* Make sure we don't linkify user mentions or room aliases.
* Use remember to avoid re-processing the text for no reason.
2023-08-21 16:31:01 +02:00
Jorge Martin Espinosa
0f77b4557b
[Compound] Platform components (Lists) ( #990 )
...
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-08-21 10:34:57 +02:00
Benoit Marty
6f91be7923
Missing cleanup
2023-08-17 18:02:52 +02:00