Commit graph

746 commits

Author SHA1 Message Date
Benoit Marty
445df09411 Always use import io.element.android.libraries.ui.strings.R as StringR 2023-06-09 18:19:00 +02:00
Benoit Marty
4f4d024a9f No need to pass maxLines = 1 if singleline = true anymore. 2023-06-09 18:16:23 +02:00
Benoit Marty
921a352947 Inline the scroll state. 2023-06-09 18:09:09 +02:00
Benoit Marty
b72cf1dcdd Update strings. 2023-06-09 16:34:22 +02:00
Benoit Marty
4266faa204 Update maestro test regarding the new login flow. 2023-06-09 10:19:49 +02:00
Benoit Marty
1bc5277bc2 Fix icon tint 2023-06-08 16:56:20 +02:00
Benoit Marty
b039f0d01d Validate server on user click. 2023-06-08 16:34:44 +02:00
Benoit Marty
80cfd74aa9 Fix some errors 2023-06-07 16:55:37 +02:00
Benoit Marty
cd860e9de3 Add test for ChangeAccountProviderPresenter and other presenters. 2023-06-07 15:18:23 +02:00
Benoit Marty
5b987ca691 Quality 2023-06-07 12:21:54 +02:00
Benoit Marty
7001c7b9cc Account provider screen. - Crashing 2023-06-07 09:00:20 +02:00
Benoit Marty
67e85e0a36 Change account provider screen. 2023-06-07 09:00:20 +02:00
Benoit Marty
9f1605ab46 Improve composable for icons and create RoundedIconAtom. 2023-06-07 09:00:20 +02:00
Benoit Marty
5d7be76feb 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
Marco Romano
1d6f4e3c68 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
7308428596 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]
044a3c991e Sync Strings (#522)
Sync Strings from Localazy
2023-06-05 15:26:50 +00:00
Yoan Pintas
f534ecda96 Init analytics modules (#350) 2023-06-05 13:11:34 +00:00
Chris Smith
93456e8d44 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
8ef7f36de8 Update strings to get new room placeholder text 2023-06-05 12:14:29 +01:00
Benoit Marty
2d7b4a0bf8 Introduce HeaderFooterPage. 2023-06-05 13:06:06 +02:00
Benoit Marty
83a700877b Introduce IconTitleSubtitleMolecule. 2023-06-05 12:44:51 +02:00
Chris Smith
663f116a48 SearchBar: Remove explicit tint on close icon
This is now set properly by the activeColors/inactiveColors
2023-06-05 11:31:14 +01:00
Benoit Marty
9f5daf070a Introduce ButtonColumnMolecule and ButtonRowMolecule. 2023-06-05 12:21:50 +02:00
Chris Smith
354c943d0b Typo and minor formatting 2023-06-05 10:23:39 +01:00
Benoit Marty
44bfd1f15c More cleanup now that min API is back to 23. 2023-06-05 10:46:21 +02:00
Chris Smith
9c21a1dd74 Merge remote-tracking branch 'origin/develop' into misc/cjs/create-join-design-feedback 2023-06-02 16:25:07 +01:00
Jorge Martin Espinosa
4d2caf8172 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
1230769c4c Merge pull request #511 from vector-im/feature/fga/pdf_renderer
In-app PDF renderer
2023-06-02 17:16:42 +02:00
ganfra
26adc55ea9 Merge branch 'develop' into feature/fga/pdf_renderer 2023-06-02 16:43:55 +02:00
Chris Smith
65ee568ccb SelectedUsers: Remember the layout calculations 2023-06-02 15:19:43 +01:00
Chris Smith
688be8568c Add a handle to the avatar bottom sheet 2023-06-02 14:24:16 +01:00
Chris Smith
1914caa54f More string fiddling 2023-06-02 14:22:35 +01:00
Chris Smith
3256e9bd80 Treat empty avatar urls the same as null 2023-06-02 14:17:19 +01:00
Jorge Martin Espinosa
dc4b385ada [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
aa6db5eeaf User row tweaks
- Make the checkbox non-clickable (the parent handles the clicks,
  and this stops the m3 lib padding it out to be a sensible touch
  target)
- Align and spread the text properly
- Change the default avatar size to match designs
2023-06-02 11:57:43 +01:00
Benoit Marty
9072305735 Merge pull request #502 from vector-im/feature/bma/onboardingIteration
Onboarding iteration
2023-06-02 10:30:29 +02:00
Benoit Marty
470ad9f968 Merge pull request #458 from vector-im/feature/bma/notificationContent
Notification content
2023-06-01 18:01:57 +02:00
Benoit Marty
497ee97efe Add comment. 2023-06-01 17:58:12 +02:00
Chris Smith
0c339846e1 Avatar actions: larger font 2023-06-01 16:55:23 +01:00
Chris Smith
c1eba96124 Merge remote-tracking branch 'origin/develop' into misc/cjs/create-join-design-feedback 2023-06-01 16:50:34 +01:00
Chris Smith
07225575e5 Outlined button tweaks
Force the height in InviteSummaryRow as compose defaults to a min
height of 40dp

Change the button text style to ignore font padding so the text
aligns properly
2023-06-01 16:48:27 +01:00
Florian Renaud
5d0fb45ff6 Update room properties from room details (#439)
-  Add the edit action in the room details
-  Add "Add topic" button in room details
-  Add the screen behind that action to edit some room properties: avatar, name, topic
   -  Handle the save button action
      - enable the button only if changes are detected
      - display a loader "updating room"
      - display an error dialog if any request has failed
- Check user has the right power level to change various attributes
   - "Add topic" is only shown if there's no topic and they are able to set on
   - Edit menu is only shown if they can change topic, name or avatar
   - On the edit page, any fields they can't change are uneditable

Co-authored-by: Chris Smith <csmith@lunarian.uk>
2023-06-01 15:10:29 +00:00
Benoit Marty
a1e0a2c08d Fix compilation issue after rebase. 2023-06-01 17:02:48 +02:00
Benoit Marty
64e2015941 Merge pull request #416 from Freezlex/develop
Fix App crash when joing specific room URL
2023-06-01 15:36:32 +02:00
Chris Smith
9827c30fc0 Merge remote-tracking branch 'origin/develop' into misc/cjs/create-join-design-feedback 2023-06-01 13:26:27 +01:00
Benoit Marty
c46692eb20 Do not use System.currentTimeMillis() 2023-06-01 12:27:11 +02:00
Benoit Marty
881c8fd97b Fix test 2023-06-01 12:24:30 +02:00
Benoit Marty
c7e68e5d81 Use coroutine dispatcher instead of WorkerThread 2023-06-01 12:24:30 +02:00
Benoit Marty
685b034977 Cleanup 2023-06-01 12:24:30 +02:00