Commit Graph

1859 Commits

Author SHA1 Message Date
Chris Smith
decd74303c Merge pull request #553 from vector-im/bug/cjs/updating-room-details
Fix changing room avatar from details screen
2023-06-07 16:07:07 +01:00
Benoit Marty
0e766418e1 Merge pull request #552 from vector-im/feature/bma/lazyOkHttp
Lazy use the OkHttpClient.
2023-06-07 16:39:34 +02:00
Jorge Martin Espinosa
595fbda220 [Message actions] New UI for message composer and editing (#526)
* Add UI for edit composer mode

* Remove leftover code from the RTE implementation

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-07 13:06:19 +02:00
Chris Smith
6910984588 Fix changing room avatar from details screen
The presenter was expecting the MediaProcessor to return a
MediaUploadInfo.Image, but it actually returns
MediaUploadInfo.AnyFile because we're not compressing avatars
(so it doesn't process the file and return more detailed info).

This check/cast was entirely pointless, so change to just
working on whatever we're given. The pickers constrain which
types of file the user select, so we should be reasonably happy
the files are images.

Also actually log error details when updating the details,
so we know what's going wrong.

Closes #550
2023-06-07 11:18:03 +01:00
Chris Smith
759abf1565 Merge pull request #546 from vector-im/misc/cjs/nightly-workflow
GH Workflows: move deps check, fix nightly
2023-06-07 09:55:33 +01:00
Chris Smith
8edf270e66 Merge pull request #529 from vector-im/misc/cjs/create-join-design-feedback-ii
More create and join room design tweaks
2023-06-07 09:19:16 +01:00
Benoit Marty
ee1571590f Lazy use the OkHttpClient. 2023-06-07 09:06:46 +02:00
Benoit Marty
6b264a6397 Merge pull request #527 from vector-im/feature/bma/designSystem
Preparatory work to integrate new FTUE screen
2023-06-07 08:59:13 +02:00
renovate[bot]
a386322e2a Update plugin ktlint to v11.4.0 (#544)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-07 08:51:03 +02:00
Chris Smith
b5bbfca677 Merge pull request #543 from vector-im/misc/cjs/coverage
Coverage: ignore more generated/non-prod code
2023-06-06 17:28:23 +01:00
Chris Smith
605e603b71 Bump some font sizes from small to medium after review 2023-06-06 16:44:19 +01:00
ElementBot
0a5de5718f Update screenshots 2023-06-06 16:44:19 +01:00
Chris Smith
b54219c152 Invite button: fiddle with touch area
Instead of the whole width of the screen being touchable, make the
clickable component 48dp high and 16dp padding either side of the
content.
2023-06-06 16:44:18 +01:00
Chris Smith
9d3000c983 Remove PreferenceDivider
It's now functionally identical to a plain Divider as the default
is 0.5dp thickness.
2023-06-06 16:44:18 +01:00
Chris Smith
8a8bd66c66 Dividers should be 0.5dp not 1dp 2023-06-06 16:44:18 +01:00
Chris Smith
35b83dd5c5 Progress dialog: use primary colour not onSurface 2023-06-06 16:44:18 +01:00
Chris Smith
9c21034027 Create room: labels shouldn't be bold 2023-06-06 16:44:18 +01:00
Chris Smith
4b40a40b3b Invites: increase vertical padding to 16dp 2023-06-06 16:44:18 +01:00
Chris Smith
5707aedfa2 GH Workflows: move deps check, fix nightly
Move the dependency check job from the quality workflow that
runs on every PR to the nightly reports workflow. This sometimes
flakes as it does a _lot_ of HTTP requests. It's less intrusive
if that happens outside of the PR workflow.

Also change the nightly job that runs tests to use LFS, so it
actually has access to screenshots :)

The sonar task is still broken, but it seems like an upstream bug:
https://community.sonarsource.com/t/sonar-plugin-4-1-0-3113-4-2-0-3129-errors/91568
2023-06-06 16:32:18 +01:00
Marco Romano
bbef43751b Network library changes (#542)
- Allows for http2
- Caches a global instance of kotlinx-serialization `Json` and configures it with a bit more leniency.
- Moves okhttp's dependency strings to the .toml file
- Switches off logging for release builds
2023-06-06 15:33:30 +02:00
Chris Smith
ad873e8bf7 Coverage: ignore more generated/non-prod code 2023-06-06 13:55:19 +01:00
Chris Smith
b6e45c976f Use member count instead of counting members (#530)
Use member count instead of counting members

For the room details screen, use the member count as supplied by
matrix instead of waiting for the entire member list to be
retrieved and then manually adding up all the relevant users.

This removes the loading state of the member count, relying on
a spinner on the member list itself if the user actually wants
to see the members. (The performance of that will be improved
separately on the rust side in the future)

Closes #505
2023-06-06 10:40:17 +00:00
github-actions[bot]
03c28ac52d Sync Strings (#522)
Sync Strings from Localazy
2023-06-05 15:26:50 +00:00
Chris Smith
be1cbb72a4 Merge pull request #528 from vector-im/renovate/io.sentry
Update dependency io.sentry:sentry-android to v6.21.0
2023-06-05 15:40:47 +01:00
renovate[bot]
de3a4ab084 Update dependency io.sentry:sentry-android to v6.21.0 2023-06-05 13:12:17 +00:00
Yoan Pintas
d2263372d2 Init analytics modules (#350) 2023-06-05 13:11:34 +00:00
Chris Smith
c457d74954 Merge pull request #519 from vector-im/misc/cjs/create-join-design-feedback
Design tweaks for create/join rooms
2023-06-05 13:24:42 +01:00
Benoit Marty
2ef46b1250 Merge pull request #523 from vector-im/renovate/telephoto
Update dependency me.saket.telephoto:zoomable-image-coil to v0.4.0
2023-06-05 13:50:40 +02:00
Chris Smith
cd85851437 Remove deleted strings from translations 2023-06-05 12:38:26 +01:00
ElementBot
25fa3976e2 Update screenshots 2023-06-05 11:16:43 +00:00
Chris Smith
f74ac6808d Update strings to get new room placeholder text 2023-06-05 12:14:29 +01:00
Benoit Marty
2f1b82ef12 Introduce HeaderFooterPage. 2023-06-05 13:06:06 +02:00
Chris Smith
9d52beb525 Invites: simplify string building 2023-06-05 11:51:00 +01:00
Benoit Marty
32026ea5fb Introduce IconTitleSubtitleMolecule. 2023-06-05 12:44:51 +02:00
Chris Smith
0290d0a279 SearchBar: Remove explicit tint on close icon
This is now set properly by the activeColors/inactiveColors
2023-06-05 11:31:14 +01:00
Chris Smith
8ef70024e5 Create room: use secondary tint instead of alpha 2023-06-05 11:28:32 +01:00
Benoit Marty
b89bca4ca9 Introduce ButtonColumnMolecule and ButtonRowMolecule. 2023-06-05 12:21:50 +02:00
Chris Smith
deeb6fb22d Invite people to a room: add dividers 2023-06-05 10:51:05 +01:00
Chris Smith
e3fb510af4 Typo and minor formatting 2023-06-05 10:23:39 +01:00
Benoit Marty
0a689d5456 More cleanup now that min API is back to 23. 2023-06-05 10:46:21 +02:00
Chris Smith
e3f50563bf Trigger Build 2023-06-05 09:42:14 +01:00
Marco Romano
5605ddca9b Reset minSdk down to api23 2023-06-05 10:32:07 +02:00
renovate[bot]
382ce3c3a6 Update dependency me.saket.telephoto:zoomable-image-coil to v0.4.0 2023-06-05 10:32:07 +02:00
ElementBot
ce26a67cab Update screenshots 2023-06-05 08:31:53 +00:00
Chris Smith
96d855786b Merge remote-tracking branch 'origin/develop' into misc/cjs/create-join-design-feedback 2023-06-05 09:23:33 +01:00
Jorge Martin Espinosa
5658ad1618 Ignore PdfViewerState for kover merged verify (#524) 2023-06-05 10:02:55 +02:00
Benoit Marty
c8688b556b Merge pull request #525 from vector-im/misc/jme/add-gradle-cache-to-record-screenshots-flow
Add gradle cache to 'record screenshots' workflow
2023-06-05 09:58:55 +02:00
Benoit Marty
fcad8492dc Merge pull request #521 from vector-im/renovate/dependencygraph
Update dependency com.savvasdalkitsis.module-dependency-graph to v0.12
2023-06-05 09:57:34 +02:00
Jorge Martín
b7235cf3e0 Add gradle cache to record screenshots flow 2023-06-05 09:03:47 +02:00
renovate[bot]
3dc7fb2953 Update dependency com.savvasdalkitsis.module-dependency-graph to v0.12 2023-06-02 21:34:01 +00:00