Commit Graph

5655 Commits

Author SHA1 Message Date
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
Benoit Marty
c97751cce5 Cleanup 2023-06-07 16:33:30 +02:00
ganfra
8a3a70ffa5 Merge branch 'develop' into feature/fga/media_viewer_actions 2023-06-07 16:31:28 +02:00
ElementBot
35aca5e6c7 Update screenshots 2023-06-07 14:10:32 +00:00
ganfra
a2fc02f90e Media: extract LocalMediaViewState to his own file 2023-06-07 15:58:05 +02:00
ganfra
c69c3ea942 Media: make some minor UI fixes 2023-06-07 15:55:16 +02:00
ganfra
865d521545 Media: address PR review 2023-06-07 15:41:07 +02:00
Benoit Marty
ae38ffa914 Add test for ChangeAccountProviderPresenter and other presenters. 2023-06-07 15:18:23 +02:00
Benoit Marty
97090b9007 Add test for ChangeAccountProviderPresenter 2023-06-07 14:50:31 +02:00
Benoit Marty
c94b29bf83 Add test for AccountProviderPresenter 2023-06-07 14:47:42 +02:00
Benoit Marty
3d0156e5e3 Fix compilation of minimal app. 2023-06-07 14:40:02 +02:00
Benoit Marty
c5c5d90c24 Remove old screens. 2023-06-07 14:18:46 +02:00
renovate[bot]
06d397a610 Update dependency io.sentry:sentry-android to v6.22.0 2023-06-07 12:11:38 +00:00
renovate[bot]
04d6a71732 Update dependency org.matrix.rustcomponents:sdk-android to v0.1.16 2023-06-07 12:11:32 +00: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
Benoit Marty
b453ae246d Quality 2023-06-07 12:21:54 +02:00
Benoit Marty
27313ada37 Get faster results 2023-06-07 12:20:11 +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
Benoit Marty
9836b3fc8a More fixes 2023-06-07 10:39:19 +02: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
7b6a5d3af4 Cleanup 2023-06-07 10:01:41 +02:00
Benoit Marty
ee1571590f Lazy use the OkHttpClient. 2023-06-07 09:06:46 +02:00
Benoit Marty
6eeac4dc41 Improve screen 2023-06-07 09:03:53 +02:00
Benoit Marty
32f953aa83 LoginPasswordNode 2023-06-07 09:03:53 +02:00
Benoit Marty
22ed3b7bfd Navigation 2023-06-07 09:03:53 +02:00
Benoit Marty
d8db9edafc Account provider form screen. 2023-06-07 09:03:53 +02:00
Benoit Marty
7ac8843bf8 Add personal dict. 2023-06-07 09:00:20 +02:00
Benoit Marty
9809969b64 Account provider screen. - Crashing 2023-06-07 09:00:20 +02:00
Benoit Marty
96f9eb8397 Change account provider screen. 2023-06-07 09:00:20 +02:00
Benoit Marty
937e616319 Improve composable for icons and create RoundedIconAtom. 2023-06-07 09:00:20 +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
ganfra
b72291a91d Gradle: re-enable caching (will be handled in a separate PR) 2023-06-06 23:43:02 +02:00
ElementBot
c7e25a6a4f Update screenshots 2023-06-06 21:21:14 +00:00
ganfra
4b704fe02c Media : timeline file adjustment 2023-06-06 23:10:02 +02:00
ganfra
e3457fb594 Media: clean up code 2023-06-06 22:18:13 +02:00
ganfra
730f50a433 Media actions: add more tests 2023-06-06 22:08:57 +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