Commit graph

4424 commits

Author SHA1 Message Date
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
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
5ad94d14b1 Record screenshots. 2023-06-01 18:00:47 +02:00
Benoit Marty
497ee97efe Add comment. 2023-06-01 17:58:12 +02:00
Chris Smith
e337f19e64 Invite list: show divider 2023-06-01 16:57:05 +01:00
Chris Smith
0c339846e1 Avatar actions: larger font 2023-06-01 16:55:23 +01:00
Benoit Marty
aefc373764 Rename fun. 2023-06-01 17:54:12 +02: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
Benoit Marty
a1e0a2c08d Fix compilation issue after rebase. 2023-06-01 17:02:48 +02:00
Chris Smith
5de90c3871 Danger: don't complain about reviewers (#509)
Now we have a CODEOWNERS file a reviewer is assigned automatically,
so there's no need for this.

It also misfires a bunch (maybe if there are no _pending_ reviewers
because they've already reviewed?), so removing it fixes that noise.
2023-06-01 14:02:28 +00: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
Benoit Marty
82031beaa5 Rename job - try to fix conflict. 2023-06-01 15:34:45 +02:00
Benoit Marty
ec9d9bb56f Merge pull request #503 from vector-im/feature/bma/gradleUpgrade
Update android.gradle.plugin to v8.0.2
2023-06-01 15:14:56 +02: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
renovate[bot]
f9e75ee4f7 Update android.gradle.plugin to v8.0.2 2023-06-01 12:35:13 +02: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
Benoit Marty
183dd153ff Fix test 2023-06-01 12:24:30 +02:00
Benoit Marty
1ac5f8e788 Disable debugging of notification 2023-06-01 12:24:30 +02:00
Benoit Marty
e02ba42ea0 Bigger image - WIP 2023-06-01 12:24:30 +02:00
Benoit Marty
fee97ff735 Notifications: add prefix to debug notification display. 2023-06-01 12:24:30 +02:00
Benoit Marty
bc9ec5a28a Notifications: render current user name and avatar. 2023-06-01 12:23:53 +02:00
Benoit Marty
c91e8e5050 Notifications: render room and user icons. 2023-06-01 12:23:53 +02:00
Benoit Marty
31afed1448 Map some info for the notifications. 2023-06-01 12:23:53 +02:00
Benoit Marty
a2cf497a00 Merge pull request #478 from vector-im/feature/bma/slidingSyncCleanup
Sliding sync cleanup
2023-06-01 12:17:01 +02:00
Jorge Martin Espinosa
b040953d7b Merge pull request #501 from vector-im/misc/jme/remove-duplicate-danger-reports
Remove duplicate issue reporting by Danger
2023-06-01 12:15:37 +02:00
Jorge Martin Espinosa
664fcf782d Merge pull request #497 from vector-im/feature/jme/enable-gif-support
Enable gif support for Coil
2023-06-01 12:07:16 +02: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
Jorge Martin Espinosa
e8e7a781fb Merge pull request #499 from vector-im/renovate/org.sonarqube-4.x
Update plugin sonarqube to v4.2.0.3129
2023-06-01 12:03:06 +02:00
Benoit Marty
ed18d2b343 Merge pull request #494 from vector-im/feature/bma/checkCode
Check code
2023-06-01 11:53:53 +02:00
Benoit Marty
2c911868d3 Fix quality 2023-06-01 11:49:35 +02:00
Chris Smith
90082c909d User search: provide 10 results not 5
Also refactor slightly so the caller specifies the number of
results, which lets all the constants sit in the repository.
2023-06-01 10:22:19 +01:00
Chris Smith
9bc67d88f3 User search: reduce debounce to 250ms 2023-06-01 10:18:45 +01:00
Chris Smith
a5849ca0bc Selected users: if scrollable, make last one peek
If there are enough selected users that they can't all be displayed,
add extra padding in between the users to ensure that the last
visible one is half visible to provide some scroll affordance.
2023-06-01 10:17:28 +01:00
Chris Smith
37d1a3b394 Selected user: scale and align cross properly
IconButton makes assumptions about the size of icons, which
we're not abiding by here. That makes it semeingly impossible
to properly center our icon. Instead, rewrite it as a surface
to ensure it's laid out properly
2023-06-01 10:15:56 +01:00
Chris Smith
b5ee444f78 Matrix user row: typography and alignment 2023-06-01 10:15:27 +01:00
Chris Smith
9f05802022 Checkable user row: fix uneven padding 2023-06-01 10:15:09 +01:00
Chris Smith
43ea115bd7 Search bar: close button colour 2023-06-01 10:14:41 +01:00
Chris Smith
109faf409c Add TextStyle for getting rid of font padding 2023-06-01 10:14:19 +01:00
Chris Smith
4c8f82ccb6 Progress dialog: match designs, deduplicate code 2023-06-01 10:13:53 +01:00