ganfra
2d5a3a473c
Pin setup with fake lock
1 year ago
Benoit Marty
8929a90970
Konsist: add test to ensure filename match top level Composable View, and fix existing issue
1 year ago
Marco Romano
096d57517e
Optimize use of blurhash algo in bloom modifier ( #1509 )
...
- Reduced to 20px the size of the bitmap we encode the blurhash from.
- Reduced the blurhash components from 5 to 4.
As per suggestions in: https://github.com/woltapp/blurhash#good-questions
1 year ago
Benoit Marty
e344a8fbaf
Add preview for InfoListOrganism
1 year ago
Benoit Marty
7a9ac33caa
Move InfoListItemMolecule to the molecules package.
1 year ago
Benoit Marty
af6dcadd4a
Move InfoListOrganism to the new organisms package.
1 year ago
jonnyandrew
53cf82f025
[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>
1 year ago
Benoit Marty
2cce7f3b47
Fix lint `UnnecessaryComposedModifier` and make it an error
1 year ago
Benoit Marty
702c137ead
Replace `mutableStateOf` by `mutableIntStateOf` and `mutableFloatStateOf`. Use `intValue` and `floatValue` to avoid unboxing.
1 year ago
David Langley
752da37383
Add roomsWithUserDefinedRules data and render list
...
- get roomsWithUserDefinedRules from rust
- add to state in the presenter
- render in the edit defaults view as a list
1 year ago
Benoit Marty
03eacdc454
Add animation on the timeline content, to avoid glitch ( #1323 )
1 year ago
Benoit Marty
0e4c146e87
Detekt: Rename `DayNightPreviews` to `PreviewsDayNight` to follow naming convention.
...
MultiPreview annotations should start with `Previews` as prefix
1 year ago
Benoit Marty
97f2d211ae
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
1 year ago
Benoit Marty
03d69146aa
Remove unused resource, and use compound icons when possible.
1 year ago
Benoit Marty
d531e71cd8
Migrate other icons to compound icons.
1 year ago
Benoit Marty
32f95e70cb
Better rendering on screenshot test
1 year ago
Benoit Marty
7ec5e0e173
Fix warnings.
1 year ago
Benoit Marty
c652606f56
Remove VectorIcons object, inline the values.
1 year ago
Benoit Marty
8f4f2f9d56
All icons are now white
1 year ago
Benoit Marty
45d45ecc87
Add Icons preview.
1 year ago
jonnyandrew
d784ca3804
[Rich text editor] Update code and links style ( #1362 )
1 year ago
Benoit Marty
b690dc3a78
Import all the icons from zip file at https://github.com/vector-im/element-x-android/issues/1320
1 year ago
Benoit Marty
9dab4e7834
Import all the compound icons from https://github.com/vector-im/compound-design-tokens/tree/main/icons .
1 year ago
jonnyandrew
ee8d27e927
[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
1 year ago
Benoit Marty
2819448cd4
Use `DayNightPreview`
1 year ago
Benoit Marty
689b9b1d81
Remove old logo.
1 year ago
Benoit Marty
6947fb1ba1
Iterate on onboarding and welcome screens.
1 year ago
Benoit Marty
f7f9a78101
Cleanup and compact code. Also prefer usage of DayNightPreview.
1 year ago
Jorge Martin Espinosa
f88507117b
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>
1 year ago
Jorge Martín
2ccafec564
Changes:
...
- Improve UI to match designs.
- Extract `EditableAvatarView` component.
- Create `LabelledOutlinedTextField`.
- Get strings from Localazy.
1 year ago
jonnyandrew
6563dca4f2
[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>
1 year ago
Marco Romano
2bd442b3a4
Add preview for progressIndicatorTrackColor
...
Forgot to add it in https://github.com/vector-im/element-x-android/pull/1295
1 year ago
Benoit Marty
4e5036f962
Avoid lint false positive.
1 year ago
David Langley
ed1949aa51
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)
1 year ago
Jorge Martin Espinosa
4bf439d5ec
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`
1 year ago
Marco Romano
b960892f09
Set proper progress indicator track color on polls ( #1295 )
...
Not yet a semantic color, so hardcoding it.
1 year ago
ganfra
9f5666ac0c
Thread decoration: create the ThreadDecoration ui
1 year ago
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>
1 year ago
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).
1 year ago
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>
1 year ago
Benoit Marty
4e40d694e7
Move class AvatarColorsProvider to its own file.
1 year ago
Benoit Marty
72497b584d
Now that we use a cache, there is no need to provide AvatarColors to the Avatar composable.
1 year ago
Benoit Marty
f8b630ecb2
Implement a in-memory cache for user avatar colors.
1 year ago
Benoit Marty
5d89647a89
Apply avatar colors to all the avatars across the app.
1 year ago
jonnyandrew
896c2325db
[Rich text editor] Add formatting menu ( #1261 )
...
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
Benoit Marty
3d6b5976e3
Iterate on icon in Fab in the room list.
1 year ago
Benoit Marty
b9896bab80
Use CircleShape by default on FAB, for coherency with other platforms.
1 year ago
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>
1 year ago
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>
1 year ago
Benoit Marty
717f632b35
Fix system bar color after login on light theme.
...
Actually for the SunsetPage, we need a light status bar.
1 year ago