Benoit Marty
0d297bd0da
Add preview for InfoListOrganism
2023-10-04 09:16:19 +02:00
Benoit Marty
1518ebc2fe
Move InfoListItemMolecule to the molecules package.
2023-10-04 09:09:46 +02:00
Benoit Marty
a35cbd3cbd
Move InfoListOrganism to the new organisms package.
2023-10-04 09:08:57 +02:00
jonnyandrew
70dfbd7c31
[Rich text editor] Add full screen mode ( #1447 )
...
- Add full screen mode for the rich text editor (RTE). When text formatting options are enabled, the editor can be dragged to full screen.
- Remove `ConstraintLayout` from `textcomposer` module, now made much simpler now the RTE supports being called in multiple layouts matrix-org/matrix-rich-text-editor#822
- Part of vector-im/element-meta#1973
- Includes design from #1315
- Fixes #1293 (through new layout)
- Fixes #1394 (through inclusion of matrix-org/matrix-rich-text-editor#824 )
- Fixes #1259 (through inclusion of matrix-org/matrix-rich-text-editor#820 )
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2023-09-29 09:11:18 +00:00
Benoit Marty
5964591a19
Fix lint UnnecessaryComposedModifier and make it an error
2023-09-28 16:55:21 +02:00
Benoit Marty
99caa031e8
Replace mutableStateOf by mutableIntStateOf and mutableFloatStateOf. Use intValue and floatValue to avoid unboxing.
2023-09-26 18:07:53 +02:00
Benoit Marty
38ee16725e
Add animation on the timeline content, to avoid glitch ( #1323 )
2023-09-21 18:43:46 +02:00
Benoit Marty
d2ca528679
Detekt: Rename DayNightPreviews to PreviewsDayNight to follow naming convention.
...
MultiPreview annotations should start with `Previews` as prefix
2023-09-21 08:30:36 +02:00
Benoit Marty
76d448e34b
Detekt: Rename LargeHeightPreview to PreviewWithLargeHeight to follow naming convention.
...
MultiPreview annotations should start with `Preview` as prefix
Detekt: Rename `LargeHeightPreview` to `PreviewWithLargeHeight` to follow naming convention.
Custom Preview annotations should start with `Preview` as prefix
2023-09-21 08:30:15 +02:00
Benoit Marty
c15e47d571
Merge pull request #1392 from vector-im/feature/bma/iterateOnIcons
...
Iterate on icons
2023-09-20 23:20:28 +02:00
Benoit Marty
426bb5b622
Remove unused resource, and use compound icons when possible.
2023-09-20 16:45:38 +02:00
Benoit Marty
d6ea21da22
Migrate other icons to compound icons.
2023-09-20 16:44:59 +02:00
Benoit Marty
21f1fc5a20
Better rendering on screenshot test
2023-09-20 16:44:59 +02:00
Benoit Marty
5fafd51e40
Fix warnings.
2023-09-20 16:44:59 +02:00
Benoit Marty
8fedc40008
Remove VectorIcons object, inline the values.
2023-09-20 16:44:59 +02:00
Benoit Marty
90f5537adc
All icons are now white
2023-09-20 09:08:31 +02:00
Benoit Marty
fd20bf102e
Add Icons preview.
2023-09-20 09:03:57 +02:00
jonnyandrew
2757b5b13d
[Rich text editor] Update code and links style ( #1362 )
2023-09-19 15:40:59 +00:00
Benoit Marty
e01f32091f
Import all the icons from zip file at https://github.com/vector-im/element-x-android/issues/1320
2023-09-19 17:11:57 +02:00
Benoit Marty
1ca050a4f8
Import all the compound icons from https://github.com/vector-im/compound-design-tokens/tree/main/icons .
2023-09-19 17:05:30 +02:00
Benoit Marty
4d7cad592c
Merge pull request #1372 from vector-im/feature/bma/dayNightPreview
...
Day night preview annotation
2023-09-19 14:04:49 +02:00
jonnyandrew
d291622eea
[Rich text editor] Add link functionality to rich text editor ( #1309 )
...
* Add link functionality to rich text editor
* Add 'list dialog' component compound design library
* Add 'text field list item' component to compound design library
2023-09-19 11:20:07 +00:00
Benoit Marty
e326e49e4c
Use DayNightPreview
2023-09-19 11:49:12 +02:00
Benoit Marty
a481ca5486
Merge pull request #1367 from vector-im/feature/bma/onboarding
...
Iterate on onboarding and welcome screens.
2023-09-18 20:58:38 +02:00
Benoit Marty
e781371228
Remove old logo.
2023-09-18 20:15:33 +02:00
Benoit Marty
dc11e526e4
Iterate on onboarding and welcome screens.
2023-09-18 19:48:30 +02:00
David Langley
8605673ca1
Merge branch 'develop' into dla/feature/room_list_decoration
2023-09-18 10:34:32 +01:00
Benoit Marty
574e6199fe
Cleanup and compact code. Also prefer usage of DayNightPreview.
2023-09-15 18:21:29 +02:00
Benoit Marty
372cc2a16e
Merge branch 'develop' into feature/jme/1302-allow-users-to-change-their-avatars
2023-09-15 17:35:17 +02:00
David Langley
90d27dacee
Merge branch 'develop' of https://github.com/vector-im/element-x-android into dla/feature/room_list_decoration
2023-09-15 15:48:15 +01:00
Jorge Martin Espinosa
a06bea4d71
Element Call SPA integration ( #1283 )
...
* Integrate Element Call into EX, being able to open its URLs and handle the call in-app.
* Add custom scheme support with format `element:call?url=...`.
* Update androix.webkit
* Silence the foreground service notification.
- Allow foreground service tap action to re-open the ongoing call.
- Unify notification small icons in different modules using a vector one.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2023-09-15 16:39:44 +02:00
Jorge Martín
41e614310f
Changes:
...
- Improve UI to match designs.
- Extract `EditableAvatarView` component.
- Create `LabelledOutlinedTextField`.
- Get strings from Localazy.
2023-09-15 14:04:21 +02:00
jonnyandrew
36119106a9
[Rich text editor] Update design ( #1332 )
...
* Fix composer height and padding
* Update plus and cancel icons with design system icons
* Update border so that it is always visible
* Update placeholder color
* Update send and tick icons
* Update design of formatting buttons
* Update RTE icons
* Reduce bottom padding
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2023-09-15 10:16:30 +00:00
David Langley
a3ef7c791e
Merge branch 'develop' of https://github.com/vector-im/element-x-android into dla/feature/room_list_decoration
2023-09-15 10:26:24 +01:00
Marco Romano
79e5bc7ae5
Add preview for progressIndicatorTrackColor
...
Forgot to add it in https://github.com/vector-im/element-x-android/pull/1295
2023-09-15 09:24:55 +02:00
David Langley
fc487ba9da
Merge branch 'develop' of https://github.com/vector-im/element-x-android into dla/feature/room_list_decoration
2023-09-14 19:30:02 +01:00
Benoit Marty
e69e961a70
Avoid lint false positive.
2023-09-14 18:16:10 +02:00
ganfra
b60b481ee0
Merge branch 'develop' into feature/fga/timeline_thread_decoration
2023-09-14 16:57:20 +02:00
David Langley
2a7a46841e
Show a room list decoration for notification setting applied
...
- Add the UI
- Rebuild room summaries when push rules change or when user disables notifications(hide them all)
2023-09-14 14:24:13 +01:00
Jorge Martin Espinosa
c1ae0ead3b
Fix top padding in room list when app is opened in offline mode ( #1299 )
...
* Fix top padding in room list when app is opened in offline mode
* Fix `avatarBloom` not passing the `bottomSoftEdgeColor` to `bloom`
2023-09-13 15:13:15 +00:00
Marco Romano
c3e595bf4f
Set proper progress indicator track color on polls ( #1295 )
...
Not yet a semantic color, so hardcoding it.
2023-09-13 11:51:29 +02:00
ganfra
f27f49160d
Merge branch 'develop' into feature/fga/timeline_thread_decoration
2023-09-13 11:42:46 +02:00
ganfra
95d6b6e58b
Thread decoration: create the ThreadDecoration ui
2023-09-13 11:40:16 +02:00
Jorge Martin Espinosa
07d63298be
[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
aa67dfb17a
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
94dc6f41e2
[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
f4b2c40f0d
Move class AvatarColorsProvider to its own file.
2023-09-11 10:55:26 +02:00
Benoit Marty
fad442760d
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
5a85efc458
Implement a in-memory cache for user avatar colors.
2023-09-11 10:55:26 +02:00
Benoit Marty
06a607abf8
Apply avatar colors to all the avatars across the app.
2023-09-11 10:55:26 +02:00