Benoit Marty
c75eabbcb0
Enable detekt rules UnnecessaryParentheses and cleanup the code.
2023-07-20 18:08:08 +02:00
Benoit Marty
2928073e22
Enable detekt rules UnusedImports and cleanup the code.
2023-07-20 18:00:23 +02:00
Benoit Marty
e918d6affd
Enable detekt rules TopLevelPropertyNaming and cleanup the code.
2023-07-20 17:52:48 +02:00
Benoit Marty
a8ed8b7a59
Enable detekt rules VariableNaming and cleanup the code.
2023-07-20 17:50:23 +02:00
Benoit Marty
86756dbc09
Enable detekt rules UnusedParameter and UnusedPrivateProperty and cleanup the code.
2023-07-20 17:48:56 +02:00
Benoit Marty
65ad642ffc
Fix warning (bottom sheet still not previewable correctly in screenshot test)
2023-07-20 17:41:18 +02:00
Benoit Marty
e23222591b
Fix warning (there is a TODO)
2023-07-20 17:39:55 +02:00
Benoit Marty
e67c7f32c3
Fix warning (keep the same format for all methods)
2023-07-20 17:39:55 +02:00
Benoit Marty
f738864e88
Fix warning (we will handle error case later)
2023-07-20 17:39:55 +02:00
Benoit Marty
6a69207fb8
Fix warning (there is a TODO)
2023-07-20 17:39:55 +02:00
Marco Romano
d964650804
Use correct share my location icon in button ( #936 )
...
As per newer design specs.
Related to:
- https://github.com/vector-im/element-meta/issues/1678
2023-07-20 13:59:06 +00:00
Benoit Marty
e5d2e294ae
Fix warning (suppress unused param for now)
2023-07-20 15:47:42 +02:00
Benoit Marty
518f690368
Fix warning (suppress unused param for now)
2023-07-20 15:47:14 +02:00
Benoit Marty
0a512cae0b
Fix warning (suppress unused param for now, EAX does not support sticker right now.)
2023-07-20 15:46:41 +02:00
Benoit Marty
a7f5324791
Fix warning (suppress unused param for now)
2023-07-20 15:46:09 +02:00
Benoit Marty
8d6e1a2327
Fix warning (suppress unused param for now)
2023-07-20 15:45:18 +02:00
Marco Romano
c746981000
Add screenshots with ~1.5 lines long desc to expanded location view ( #923 )
...
This will help in catching alignment regressions.
Related to:
- https://github.com/vector-im/element-meta/issues/1678
2023-07-20 13:42:35 +00:00
Marco Romano
e8e4542a75
Extract maptiler's map ids ( #926 )
...
Maptiler custom map ids are only useable by the account that create them. So if we hardcode them forkers won't be able to use the maps even if the bring in their own api key (because they can't access our maps with their api key).
Requires to set our map ids in `local.properties` for local development:
```
services.maptiler.lightMapId=9bc819c8-e627-474a-a348-ec144fe3d810
services.maptiler.darkMapId=dea61faf-292b-4774-9660-58fcef89a7f3
```
2023-07-20 14:29:06 +02:00
Marco Romano
f7e7339777
Correct location event body ( #930 )
...
- Now sending the correct body format as agreed with design. This won't be show in EX clients though.
Related to:
- https://github.com/vector-im/element-meta/issues/1682
2023-07-20 10:16:40 +00:00
Marco Romano
e448bbb92d
maplibre-compose allow customisation of location dot style ( #929 )
...
- And style it according to our designs.
Related to:
- https://github.com/vector-im/element-meta/issues/1682
2023-07-20 12:09:40 +02:00
renovate[bot]
156bf08b7a
Update dependency app.cash.molecule:molecule-runtime to v1 ( #925 )
...
* Update dependency app.cash.molecule:molecule-runtime to v1
* Replace `RecompositionClock` with `RecompositionMode`
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-07-20 07:36:19 +02:00
Jorge Martín
69490b7465
Fix more lint issues
2023-07-20 07:35:27 +02:00
Jorge Martín
697b2052e8
Fix typo
2023-07-20 07:27:13 +02:00
Jorge Martín
aad92d84ff
Use ElementTheme as much as possible
2023-07-20 07:27:02 +02:00
Jorge Martín
4896b76e47
Try to fix lint issue
2023-07-20 07:21:28 +02:00
Marco Romano
f614895ec1
Refactor a custom alignment to its own modifier for readability. ( #924 )
2023-07-19 16:58:04 +02:00
Marco Romano
cec87ee6a8
Don't crash when sharing a location with no maptiler apikey ( #919 )
...
Related to:
- https://github.com/vector-im/element-meta/issues/1682
2023-07-19 16:33:50 +02:00
Marco Romano
4162d16f52
Location expanded view: show own location ( #916 )
...
If the location permission is granted:
- Shows the user's own location
- Shows a button to center the map on it
Part of:
- https://github.com/vector-im/element-meta/issues/1678
2023-07-19 13:26:06 +00:00
Marco Romano
4c1a691b78
Fix insets for nav bar in send location view ( #915 )
...
Improvement of https://github.com/vector-im/element-x-android/pull/770
- https://github.com/vector-im/element-meta/issues/1682
2023-07-19 13:57:34 +02:00
Marco Romano
3c45a5ece4
Send My Location ( #770 )
...
- https://github.com/vector-im/element-meta/issues/1682
2023-07-19 09:58:13 +00:00
Benoit Marty
02251f2d96
Merge pull request #901 from vector-im/feature/fga/power_level
...
Feature/fga/power level
2023-07-18 23:39:52 +02:00
Benoit Marty
52ae2ca74c
Also rename the Composable.
2023-07-18 23:10:10 +02:00
ganfra
60d0b5c134
Merge branch 'develop' into feature/fga/fix_room_list_scroll_position
2023-07-18 23:07:10 +02:00
Benoit Marty
c5629b3a32
Format files.
2023-07-18 23:05:50 +02:00
ganfra
1d2fd52ce6
Merge branch 'develop' into feature/fga/power_level
2023-07-18 22:54:33 +02:00
ganfra
9741b3df64
Merge pull request #906 from vector-im/feature/fga/update-rust-sdk-0.1.34
...
Feature/fga/update rust sdk 0.1.34
2023-07-18 22:52:48 +02:00
Benoit Marty
89334a074b
Move test classes to the correct package.
2023-07-18 22:48:23 +02:00
Benoit Marty
75f08c9873
Not a fixture so prefixed with create instead of a.
2023-07-18 22:41:42 +02:00
David Langley
312b47e7f5
Add more button should have primary text colour
2023-07-18 21:39:37 +01:00
ganfra
dfd7f9cc5b
Fix tests
2023-07-18 22:27:44 +02:00
David Langley
7f84aef543
Merge branch 'develop' of https://github.com/vector-im/element-x-android into feature/dla_custom_reactions_layout
2023-07-18 21:20:05 +01:00
David Langley
4c18eb4b11
Add custom reaction layout
...
- Add the custom reaction layout that only shows the expand UI after 2 lines.
- It also enforces that the add more and expand buttons are always on the same line.
- In LTR languages we want an incoming message's reactions to be LRT and outgoing to be RTL.
- For RTL languages it should be the opposite.
2023-07-18 21:18:27 +01:00
ganfra
bb12338583
RoomList: introduce RoomListDataSource so we keep the data in memory as long as the node is in the backstack.
2023-07-18 22:09:50 +02:00
ganfra
614f97543e
Update rust sdk to 0.1.34
2023-07-18 20:12:51 +02:00
Benoit Marty
1b7aa4dd93
Change bubble width ration to 85% ( #904 )
2023-07-18 18:27:10 +02:00
ganfra
d7cb8e076c
Merge pull request #900 from vector-im/feature/fga/better_media_handling
...
Feature/fga/better media handling
2023-07-18 17:52:41 +02:00
ganfra
d273dd00ff
Media: Clean after pr reviews
2023-07-18 16:38:36 +02:00
Chris Smith
1d99189955
Merge pull request #886 from vector-im/feature/cjs/location-api-key
2023-07-18 15:32:54 +01:00
Benoit Marty
b6e35de3db
Merge pull request #898 from vector-im/feature/bma/fixOnBoardingScreen
...
Fix on boarding screen
2023-07-18 15:55:13 +02:00
ganfra
84500d41eb
Merge branch 'develop' into feature/fga/better_media_handling
2023-07-18 15:13:59 +02:00