Commit graph

1746 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Chris Smith
9874a01fc5 Outline buttons: font weight 2023-06-01 10:13:30 +01: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
Jorge Martín
9efbe52c0d Remove duplicate issue reporting by Danger 2023-06-01 11:04:52 +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
Chris Smith
01b1cc1b4b Create room: show divider between users in search 2023-06-01 09:42:26 +01:00
Chris Smith
473bfd1e23 Display a notice if Matrix ID isn't resolved (#461)
Display a notice if Matrix ID isn't resolved

If we can't get the profile of a user after an mxid was
searched for, show a warning under their ID to say the
invite probably won't be delivered.

Closes #424
2023-06-01 08:40:45 +00:00
renovate[bot]
6bc48084b8 Update plugin sonarqube to v4.2.0.3129 2023-05-31 17:57:50 +00:00
Jorge Martín
c749788677 Enable gif support for Coil 2023-05-31 16:46:58 +02:00
Benoit Marty
4dbeaa3390 Merge pull request #347 from vector-im/feature/bma/oidc2
Add (disabled) Oidc support
2023-05-31 16:42:34 +02:00
Benoit Marty
d4284f167a Fix compilation issue. 2023-05-31 15:47:24 +02:00
Benoit Marty
becbc6607d Fix detected forbidden pattern. 2023-05-31 15:31:05 +02:00
Benoit Marty
7f71b2d81d Search for forbidden patterns in Kotlin files. 2023-05-31 15:30:18 +02:00
Benoit Marty
42d0f77096 Merge pull request #491 from vector-im/feature/bma/codeStyles
Code styles and dictionary
2023-05-31 14:04:20 +02:00
Benoit Marty
f49e2dd4e3 Add a shared dictionary to the project. 2023-05-31 11:57:47 +02:00
Benoit Marty
fccf194e7b Formatting: set LINE_BREAK_AFTER_MULTILINE_WHEN_ENTRY to false.
New default value for Android Studio is `true`.
2023-05-31 11:46:01 +02:00
Benoit Marty
b83dc0fd61 Add codeStyles generated file from Android Studio to VCS. 2023-05-31 11:40:32 +02:00
Marco Romano
1da242f63f Update pull_request.md (#490)
Grammar nits.
2023-05-31 09:24:01 +00:00