Commit Graph

822 Commits

Author SHA1 Message Date
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
ganfra
20eb2ade54 Merge branch 'develop' into feature/fga/media_viewer_actions 2023-06-06 14:35:25 +02:00
ganfra
80b918b273 Media: make tests passing again 2023-06-06 13:48:12 +02: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
ganfra
4a71aab95e Media: rework how we get the activity context (and fix test compilation) 2023-06-05 23:39:48 +02:00
ganfra
61fc57d3ef File: improve a bit pdf loading 2023-06-05 22:45:49 +02:00
ganfra
3a2ef0238b Media: handle openWith and share actions (need to inject context for tests...). Also introduce MediaInfo 2023-06-05 20:52:17 +02:00
github-actions[bot]
03c28ac52d Sync Strings (#522)
Sync Strings from Localazy
2023-06-05 15:26:50 +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
Chris Smith
cd85851437 Remove deleted strings from translations 2023-06-05 12:38:26 +01:00
Chris Smith
f74ac6808d Update strings to get new room placeholder text 2023-06-05 12:14:29 +01:00
Chris Smith
9d52beb525 Invites: simplify string building 2023-06-05 11:51:00 +01:00
Chris Smith
8ef70024e5 Create room: use secondary tint instead of alpha 2023-06-05 11:28:32 +01: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
ganfra
8e1ade897d MediaViewer: improve actions (save on disk and share) 2023-06-02 20:13:17 +02:00
ganfra
31ba1a1a06 Media action: show snackbar when file saved on disk 2023-06-02 19:41:18 +02:00
ganfra
f7f5539cb9 Update localazy strings 2023-06-02 19:22:23 +02:00
ganfra
c2fa9e6add Media Viewer: rename the shared file with the known name if any. 2023-06-02 17:46:48 +02:00
ganfra
235efeadb6 Pdf : fix after merge 2023-06-02 17:29:24 +02:00
Chris Smith
56d29e3303 Merge remote-tracking branch 'origin/develop' into misc/cjs/create-join-design-feedback 2023-06-02 16:25:07 +01:00
ganfra
3ee9ba4979 Merge branch 'develop' into feature/fga/media_viewer_actions 2023-06-02 17:22:10 +02:00
Jorge Martin Espinosa
341be67f3a Fix SearchBar colors. Also fix tertiary color in dark mode. (#516)
* Fix SearchBar colors. Also fix tertiary color in dark mode.
2023-06-02 17:20:43 +02:00
ganfra
d8b506eaff Merge pull request #512 from vector-im/feature/fga/improve_timeline_file_rendering
Timeline file item iteration
2023-06-02 17:18:19 +02:00
ganfra
d3957dad96 Merge pull request #511 from vector-im/feature/fga/pdf_renderer
In-app PDF renderer
2023-06-02 17:16:42 +02:00
ganfra
edf34d0e40 Merge branch 'develop' into feature/fga/improve_timeline_file_rendering 2023-06-02 17:00:13 +02:00
Chris Smith
e357f50379 Removed translated lines with wrong params 2023-06-02 15:53:01 +01:00
ganfra
ba3b0eed80 Pdf : add small comment 2023-06-02 16:48:17 +02:00
ganfra
0a762dc232 Merge branch 'develop' into feature/fga/pdf_renderer 2023-06-02 16:43:55 +02:00
ganfra
4ab535cf33 Media: implements share action 2023-06-02 16:43:28 +02:00
Chris Smith
0897c838fd Don't use an empty avatar URL in previews 2023-06-02 15:32:11 +01:00
Chris Smith
ac6b2192a5 More string fiddling 2023-06-02 14:22:35 +01:00
Chris Smith
7d8a67fc35 Create room: elevate selected users when scrolling 2023-06-02 14:17:01 +01:00
Jorge Martin Espinosa
0009409a3b [Message actions] Update timeline context menu (#498)
* Replace bottom sheets in timeline with M3 ones.

* Add missing options to menu with the right icons

* Add message summary and reaction emoji row.

* Use the same icon in the message summary and file timeline item
2023-06-02 12:08:54 +00:00
Chris Smith
6a3245bba5 Invite button tweaks
- Force to 48dp to ensure a good touch target
- Make the whole row clickable not just the button
- Proper text size for label
2023-06-02 12:33:29 +01:00
Benoit Marty
2f0727363a Merge pull request #502 from vector-im/feature/bma/onboardingIteration
Onboarding iteration
2023-06-02 10:30:29 +02:00
Benoit Marty
1e6f52466f Ignore OnBoardingPresenter regarding code coverage. 2023-06-02 09:57:02 +02:00
ganfra
80b410860f Media: improve creation of LocalMedia 2023-06-02 09:44:07 +02:00
ganfra
70e9dfa25d Media: finally revert to using only uri but with the proper scheme.. 2023-06-02 08:55:43 +02:00
ganfra
ab48735ddc Media: refactor LocalMedia so the source of data is clear (uri or file) 2023-06-01 22:35:17 +02:00
ganfra
c0470d4bb5 Media viewer: start adding save on disk action 2023-06-01 22:01:05 +02:00
ganfra
d4eb60f2eb File: new design for file timeline item 2023-06-01 18:41:54 +02:00
Benoit Marty
78e5bf6f78 Add test for new presenter. 2023-06-01 18:26:04 +02:00
Chris Smith
edf22ac373 Invites: tweak actions for decline dialog 2023-06-01 17:06:08 +01:00
Chris Smith
41458fbb01 Show dividers in room list 2023-06-01 17:03:58 +01:00
Chris Smith
a38b0d7108 Invite list: show divider 2023-06-01 16:57:05 +01:00
Benoit Marty
43df6cfbb8 Create a presenter and a state for OnBoarding screen. 2023-06-01 17:53:58 +02:00