Commit Graph

804 Commits

Author SHA1 Message Date
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 5635057c62 Remove deleted strings from translations 2023-06-05 12:38:26 +01:00
Chris Smith 8ef7f36de8 Update strings to get new room placeholder text 2023-06-05 12:14:29 +01:00
Chris Smith 06a06e712e Invites: simplify string building 2023-06-05 11:51:00 +01:00
Chris Smith edb370db3e Create room: use secondary tint instead of alpha 2023-06-05 11:28:32 +01:00
Chris Smith ff68974ea3 Invite people to a room: add dividers 2023-06-05 10:51:05 +01: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 5b1b02613b 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 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 c5ac14014c Merge branch 'develop' into feature/fga/improve_timeline_file_rendering 2023-06-02 17:00:13 +02:00
Chris Smith 37fd4042a7 Removed translated lines with wrong params 2023-06-02 15:53:01 +01:00
ganfra d878e7274d Pdf : add small comment 2023-06-02 16:48:17 +02:00
ganfra 26adc55ea9 Merge branch 'develop' into feature/fga/pdf_renderer 2023-06-02 16:43:55 +02:00
Chris Smith 68c68111af Don't use an empty avatar URL in previews 2023-06-02 15:32:11 +01:00
Chris Smith 1914caa54f More string fiddling 2023-06-02 14:22:35 +01:00
Chris Smith 9c4500363f Create room: elevate selected users when scrolling 2023-06-02 14:17:01 +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 a20e087a87 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 9072305735 Merge pull request #502 from vector-im/feature/bma/onboardingIteration
Onboarding iteration
2023-06-02 10:30:29 +02:00
Benoit Marty b88d9d50f8 Ignore OnBoardingPresenter regarding code coverage. 2023-06-02 09:57:02 +02:00
ganfra bbc10ea3ff File: new design for file timeline item 2023-06-01 18:41:54 +02:00
Benoit Marty 49bb6c203d Add test for new presenter. 2023-06-01 18:26:04 +02:00
Chris Smith 0316b04335 Invites: tweak actions for decline dialog 2023-06-01 17:06:08 +01:00
Chris Smith 048c477906 Show dividers in room list 2023-06-01 17:03:58 +01:00
Chris Smith e337f19e64 Invite list: show divider 2023-06-01 16:57:05 +01:00
Benoit Marty b1c8945fd9 Create a presenter and a state for OnBoarding screen. 2023-06-01 17:53:58 +02: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
ganfra ab95218e50 Pdf: rework pdf viewer a bit 2023-06-01 17:42:05 +02:00
Chris Smith 0574e9726f Invite list: various layout tweaks
- Larger avatar
- Include the MXID in the inviter
- Show inviter avatar to the left instead of inline
  (This may be weird in some translations, but it's what design
   wants and is consistent with iOS)
- Pad the name/alias if the notification dot is present
2023-06-01 16:33:00 +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
Chris Smith 08ff69e682 Create room: more spacing under selected users 2023-06-01 13:30:39 +01: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
Jorge Martin Espinosa a36f4b7947 [Room details] Open room member details when clicking on user data in timeline (#482) 2023-06-01 12:03:27 +02:00
Benoit Marty 2c911868d3 Fix quality 2023-06-01 11:49:35 +02:00
Chris Smith 27f9470708 Room details: typography and strings 2023-06-01 10:12:28 +01:00
Chris Smith f70740990f Invite list: typography tweaks 2023-06-01 10:06:25 +01:00
Benoit Marty b8050a9194 Fix alignment issue and content cropping 2023-06-01 10:51:03 +02:00
Benoit Marty 0d41dab3bc Hide login with Qrcode and create account for now. 2023-06-01 10:51:03 +02:00
Benoit Marty 6dbccb696b Introduce pages in our design system. 2023-06-01 10:51:03 +02:00
Benoit Marty e924b2f650 Design iteration 2023-06-01 10:51:03 +02:00
Benoit Marty acf0588846 Iterate on onboarding screen - WIP 2023-06-01 10:51:03 +02:00
Chris Smith 73a9a82a6d Create room: fix text colours and strings 2023-06-01 09:44:42 +01:00
Chris Smith be8ea56903 Create room: fix colour for bottom sheet actions 2023-06-01 09:43:08 +01:00