Commit Graph

2802 Commits

Author SHA1 Message Date
Benoit Marty
f77349332e Fix warning (there is a TODO) 2023-07-20 17:39:55 +02:00
Benoit Marty
058f35c06a Fix warning (keep the same format for all methods) 2023-07-20 17:39:55 +02:00
Benoit Marty
80f7b63acc Fix warning (we will handle error case later) 2023-07-20 17:39:55 +02:00
Benoit Marty
7524758d05 Fix warning (there is a TODO) 2023-07-20 17:39:55 +02:00
Benoit Marty
d84a9d5d24 Create sheetStateForPreview to avoid code duplication. 2023-07-20 17:39:55 +02:00
Benoit Marty
5edcffca93 Fix warning (suppress unused param for now) 2023-07-20 15:47:42 +02:00
Benoit Marty
2872e8faca Fix warning (suppress unused param for now) 2023-07-20 15:47:14 +02:00
Benoit Marty
dc9212c559 Fix warning (suppress unused param for now, EAX does not support sticker right now.) 2023-07-20 15:46:41 +02:00
Benoit Marty
45f8f134ae Fix warning (suppress unused param for now) 2023-07-20 15:46:09 +02:00
Benoit Marty
8a82aab014 Fix warning (suppress unused param for now) 2023-07-20 15:45:18 +02:00
Benoit Marty
527f239488 Fix warning (suppress, no sure I want to delete this class right now) 2023-07-20 15:41:44 +02:00
Benoit Marty
b62a174494 Fix warning (comment out dead code due to notification actions not active yet.) 2023-07-20 15:41:09 +02:00
Benoit Marty
201d137e79 Fix warning (suppress, no sure I want to delete this class right now) 2023-07-20 15:37:50 +02:00
Benoit Marty
d1e7f93458 Fix warning (remove dead code) 2023-07-20 15:36:23 +02:00
Benoit Marty
5db2ebe179 Fix warning (Build.VERSION.SDK_INT < Build.VERSION_CODES.Q here) 2023-07-20 15:34:55 +02:00
Benoit Marty
56b8969376 Fix warning ('when' is exhaustive so 'else' is redundant here) 2023-07-20 15:33:00 +02:00
Benoit Marty
ac61a8c916 Fix warning (comment out temporary dead code) 2023-07-20 15:32:19 +02:00
Benoit Marty
b422414e05 Ci will not ignore compilation warnings. 2023-07-20 15:29:47 +02:00
Benoit Marty
2fb5929e74 Ignore compilation warnings, disabled by default. 2023-07-20 15:27:57 +02:00
Marco Romano
8648e8ba53 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
188af2ee98 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
584a227920 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
Benoit Marty
114f868c1f Need JDK 17 2023-07-20 11:29:55 +02:00
Benoit Marty
71df2dd0b3 Merge pull request #927 from vector-im/feature/bma/releaseAutomation
Release automation
2023-07-20 11:20:03 +02:00
Benoit Marty
05f2af3930 Add workflow to create app bundle. 2023-07-20 11:08:09 +02:00
Benoit Marty
d40cfe0e98 Do not build main branch in this workflow. 2023-07-20 11:07:08 +02:00
renovate[bot]
6d3b816bf5 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
025d8781a7 Refactor a custom alignment to its own modifier for readability. (#924) 2023-07-19 16:58:04 +02:00
Benoit Marty
90f91160e2 version++ 2023-07-19 16:47:25 +02:00
Benoit Marty
d47dca2601 Merge tag '0.1.0' into develop
tag
2023-07-19 16:44:05 +02:00
Benoit Marty
bcbeee1838 Merge branch 'release/0.1.0' into main 2023-07-19 16:43:28 +02:00
Benoit Marty
5708a0a0be Adding fastlane file for version 0.1.0 2023-07-19 16:43:20 +02:00
Benoit Marty
a4c1576f30 Changelog for version 0.1.0 2023-07-19 16:40:45 +02:00
Marco Romano
30060b5729 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
Benoit Marty
c882cab67f Merge pull request #920 from vector-im/feature/bma/slidingSyncState
Sliding sync state rendering
2023-07-19 16:26:14 +02:00
ElementBot
c2b5902bb2 Update screenshots 2023-07-19 13:51:57 +00:00
Benoit Marty
0c33d0d0c1 Exclude app module for now. 2023-07-19 15:27:21 +02:00
Marco Romano
c135da2562 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
ganfra
b2436a9d7c Merge pull request #913 from vector-im/feature/fga/avoid_spamming_sync_flow
Avoid spamming sync flow by checking item origin
2023-07-19 15:03:38 +02:00
Benoit Marty
d5e6bbbe05 Show Sync status when state is Terminated. 2023-07-19 14:57:10 +02:00
Benoit Marty
dc3c237176 Ensure uitest take preview from app module. 2023-07-19 14:47:30 +02:00
Marco Romano
de2980bec7 Add maestro test for send location (#914)
Originally part of https://github.com/vector-im/element-x-android/pull/770
It's been extracted out since it's currently blocked by our lack of maestro cloud credits.

- https://github.com/vector-im/element-meta/issues/1682
2023-07-19 14:46:56 +02:00
Benoit Marty
c04fcfc352 Make SyncState values match SyncServiceState values. 2023-07-19 14:44:53 +02:00
Benoit Marty
1f243dcb54 Ensure uitest take preview from appnav module. 2023-07-19 14:41:41 +02:00
ganfra
4bc6909aa8 TimelineDiff: use firstOrNull even if it shouldn't never be empty 2023-07-19 14:39:23 +02:00
Marco Romano
fb85cc0be4 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
Jorge Martín
f7f6fdc770 Don't blindly retry fetching pending or failed event details 2023-07-19 13:14:45 +02:00
Benoit Marty
f8fd684710 Implement SyncState chip. (#909) 2023-07-19 12:30:34 +02:00
Marco Romano
278f8ae4c6 Send My Location (#770)
- https://github.com/vector-im/element-meta/issues/1682
2023-07-19 09:58:13 +00:00
ganfra
babb25d45f Avoid spamming sync flow by checking item origin 2023-07-19 11:48:05 +02:00