Commit graph

1317 commits

Author SHA1 Message Date
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
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
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
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
ganfra
dfd7f9cc5b Fix tests 2023-07-18 22:27:44 +02: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
Marco Romano
e7cab7ac1d
Make the functions in SystemUtils extensions (#899)
- They are now all extensions over `Context` or `Activity` (when `Context` is not enough) (some of them already were).
- Allows for IDE completion.
2023-07-18 13:11:11 +00:00
ganfra
669e62e462 PowerLevel: use new api exposed from rust which doesn't need to load members. 2023-07-18 15:10:44 +02:00
Benoit Marty
6b3f69accf Use Large and remove Huge. 2023-07-18 14:58:09 +02:00
Benoit Marty
02f40354cf Use DayNightPreviews for correct rendering in AndroidStudio. 2023-07-18 12:30:01 +02:00
Benoit Marty
041b655db1 Use ElementLogoAtom instead of png. Fixes #894 2023-07-18 12:13:48 +02:00
Benoit Marty
615022b978 Use DayNightPreviews for correct rendering in AndroidStudio. 2023-07-18 11:19:46 +02:00
Benoit Marty
d6e811ee26 No need to use trick for night resource when using DayNightPreviews annotation. 2023-07-18 11:19:46 +02:00
Benoit Marty
bb3aee6d7e
Merge pull request #895 from vector-im/feature/bma/fixDarkWelcome
Fix dark welcome
2023-07-18 11:19:10 +02:00
Benoit Marty
197ac61670 Use the modifier parameter. 2023-07-18 10:12:56 +02:00