Benoit Marty
8dcf527933
Fix compilation issue after rebase.
2023-06-27 19:58:42 +02:00
Benoit Marty
80f2f6aa55
Fix compilation issue after rebase.
2023-06-27 19:51:10 +02:00
Benoit Marty
31c7c29836
Fix rendering of Room item in ForwardMessagesView
2023-06-27 19:49:54 +02:00
Benoit Marty
30d2a319ce
Use a determinate progress indicator to improve the preview rendering
2023-06-27 19:49:54 +02:00
Benoit Marty
0c7832534c
Cleanup
2023-06-27 19:49:54 +02:00
Benoit Marty
5e455eccb6
Fix compilation issue after rebase
2023-06-27 19:49:14 +02:00
Benoit Marty
ee3e2108a0
Move all density unit calculation to the same place.
2023-06-27 19:43:03 +02:00
Benoit Marty
77432ef1a7
Create AvatarSize.MessageActionSender for Avatar in message actions bottom sheet (same value but do not use AvatarSize.TimelineSender)
2023-06-27 19:43:03 +02:00
Benoit Marty
980d5462f3
Iterate on Room placeholder
2023-06-27 19:41:59 +02:00
Benoit Marty
905f681d70
Disable tonal elevation for bottom sheet in light theme.
2023-06-27 19:31:44 +02:00
Benoit Marty
fb09991793
Create UnreadIndicatorAtom with preview.
2023-06-27 19:31:44 +02:00
Benoit Marty
d7424ad1c3
Fix an issue on Avatar when font scale is not 1f.
2023-06-27 19:23:37 +02:00
Benoit Marty
92bd16832d
Rework AvatarSize.
...
Remove default value for AvatarSize, it has to be explicitely provided.
2023-06-27 19:23:37 +02:00
Jorge Martin Espinosa
a16335b4b7
[Compound] Integrate compound tokens ( #586 )
...
* Added tokens.
* Apply color to MaterialTheme, also add typography.
* Map colors to the right ones in the themes.
* Create and improve previews of some components
* More preview improvements
* Add `tertiary` and `onTertiary` colors, remove some unused ones.
* Fix usage of deleted color token
* Fix bug in Switch previews
* Create a separate `:libraries:theme` module to keep everything related to colors, typography and Compound in general.
* Fix `DatePickerPreview`
* Add missing Compound generated files by fixing their package name
* Move `ElementTheme` to the `:libraries:theme` module, make some variables internal.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-27 16:15:40 +00:00
Benoit Marty
dfa1adb9c1
More cleanup
2023-06-27 09:51:33 +02:00
Benoit Marty
798da50454
Use CommonStrings everywhere
2023-06-27 09:45:00 +02:00
Marco Romano
c5c9cd33da
Refine handleSnackbarMessage API ( #676 )
...
As per our offline convos during a PR review.
2023-06-26 16:29:50 +02:00
Benoit Marty
4f269d37dd
Improve PreferenceText rendering, in particular center the test on the right vertically, add padding in add more previews.
2023-06-26 11:06:36 +02:00
Jorge Martin Espinosa
9251cbf536
[Message Actions] Report messages ( #642 )
...
* Add report messages feature
* Try to improve how snackbars are delivered
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-23 10:44:47 +02:00
Marco Romano
e1bb5684cd
Expose new windowInsets param from ModalBottomSheet ( #662 )
...
Part of new public API in compose.material3:1.1.1
2023-06-23 09:57:21 +02:00
Benoit Marty
9701abf15e
Extract method about text to the design system module.
2023-06-16 09:40:00 +02:00
Jorge Martin Espinosa
244306545f
Move logic of different BottomSheets in MessagesView to presenters ( #600 )
...
* Move bottom sheet logic in `MessagesView` to presenters.
* Make the block inside `SheetState.hide` suspend.
2023-06-15 14:58:18 +02:00
Benoit Marty
0c64921f10
Merge pull request #549 from vector-im/feature/bma/onboardingServer
...
Onboarding iteration
2023-06-13 09:21:50 +02:00
Benoit Marty
fde6b0e9bb
Add some generated KDoc.
2023-06-09 18:40:31 +02:00
Benoit Marty
4f4d024a9f
No need to pass maxLines = 1 if singleline = true anymore.
2023-06-09 18:16:23 +02:00
Benoit Marty
921a352947
Inline the scroll state.
2023-06-09 18:09:09 +02:00
Benoit Marty
1bc5277bc2
Fix icon tint
2023-06-08 16:56:20 +02:00
Benoit Marty
b039f0d01d
Validate server on user click.
2023-06-08 16:34:44 +02:00
Jorge Martin Espinosa
c176eab4a3
[Message actions] New UI for replies ( #545 )
...
* Add 'reply to' UI to the message composer.
* Move the `BlurHashAsyncImage` to `:libraries:designsystem` as it is now used in several modules.
* Create reusable `AttachmentThumbnail` and associated data classes and enums, it's now added to `:libraries:matrixui`.
* Re-use `AttachmentThumbnail` in a `ActionListView` and `TextComposer`.
* Add 'inReplyTo' models and UI.
* Add min size for images
* Create a separate layout for media items with no reply to info. Also, separate `Timeline__Row` components from `TimelineView`, as it was getting too large.
* Added `EqualWidthColumn` to use inside message bubbles. Also fixed some modifiers for media items replying to other messages.
* Disable `inReplyToClicked`.
* Remove unused resources and libraries.
* Remove any traces of `BlurHashAsyncImage` in `:features:messages`, since it was moved to the design system.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-08 12:15:13 +02:00
Benoit Marty
80cfd74aa9
Fix some errors
2023-06-07 16:55:37 +02:00
ganfra
76e35582da
Merge branch 'develop' into feature/fga/media_viewer_actions
2023-06-07 16:31:28 +02:00
Benoit Marty
cd860e9de3
Add test for ChangeAccountProviderPresenter and other presenters.
2023-06-07 15:18:23 +02:00
Jorge Martin Espinosa
e376c1be82
[Message actions] New UI for message composer and editing ( #526 )
...
* Add UI for edit composer mode
* Remove leftover code from the RTE implementation
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-07 13:06:19 +02:00
Benoit Marty
5b987ca691
Quality
2023-06-07 12:21:54 +02:00
Chris Smith
67fcfedb6e
Merge pull request #529 from vector-im/misc/cjs/create-join-design-feedback-ii
...
More create and join room design tweaks
2023-06-07 09:19:16 +01:00
Benoit Marty
7001c7b9cc
Account provider screen. - Crashing
2023-06-07 09:00:20 +02:00
Benoit Marty
67e85e0a36
Change account provider screen.
2023-06-07 09:00:20 +02:00
Benoit Marty
9f1605ab46
Improve composable for icons and create RoundedIconAtom.
2023-06-07 09:00:20 +02:00
Benoit Marty
5d7be76feb
Merge pull request #527 from vector-im/feature/bma/designSystem
...
Preparatory work to integrate new FTUE screen
2023-06-07 08:59:13 +02:00
ganfra
51389053bf
Media : timeline file adjustment
2023-06-06 23:10:02 +02:00
ganfra
c0def1c3dc
Media actions: add more tests
2023-06-06 22:08:57 +02:00
Chris Smith
b3ac6e2b97
Bump some font sizes from small to medium after review
2023-06-06 16:44:19 +01:00
Chris Smith
c9df5e7d34
Remove PreferenceDivider
...
It's now functionally identical to a plain Divider as the default
is 0.5dp thickness.
2023-06-06 16:44:18 +01:00
Chris Smith
fe6afb7281
Dividers should be 0.5dp not 1dp
2023-06-06 16:44:18 +01:00
Chris Smith
dce38dfe8d
Progress dialog: use primary colour not onSurface
2023-06-06 16:44:18 +01:00
Chris Smith
34a67bdb2c
Create room: labels shouldn't be bold
2023-06-06 16:44:18 +01:00
ganfra
438fc6bb99
Merge branch 'develop' into feature/fga/media_viewer_actions
2023-06-06 14:35:25 +02:00
Benoit Marty
2d7b4a0bf8
Introduce HeaderFooterPage.
2023-06-05 13:06:06 +02:00
Benoit Marty
83a700877b
Introduce IconTitleSubtitleMolecule.
2023-06-05 12:44:51 +02:00
Chris Smith
663f116a48
SearchBar: Remove explicit tint on close icon
...
This is now set properly by the activeColors/inactiveColors
2023-06-05 11:31:14 +01:00