Commit Graph

768 Commits

Author SHA1 Message Date
Chris Smith
7d8a67fc35 Create room: elevate selected users when scrolling 2023-06-02 14:17:01 +01: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
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
Chris Smith
6f7200c59a Merge remote-tracking branch 'origin/develop' into misc/cjs/create-join-design-feedback 2023-06-01 16:50:34 +01:00
Chris Smith
2c0d593ca6 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
b1824c04e5 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
04d4b6369a 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
30e4fad93c Create room: more spacing under selected users 2023-06-01 13:30:39 +01:00
Chris Smith
fb147f78b0 Merge remote-tracking branch 'origin/develop' into misc/cjs/create-join-design-feedback 2023-06-01 13:26:27 +01:00
Jorge Martin Espinosa
b50350aaa0 [Room details] Open room member details when clicking on user data in timeline (#482) 2023-06-01 12:03:27 +02:00
Chris Smith
01994ced71 Room details: typography and strings 2023-06-01 10:12:28 +01:00
Chris Smith
e10b6ca9dd Invite list: typography tweaks 2023-06-01 10:06:25 +01:00
Chris Smith
9f26226edc Create room: fix text colours and strings 2023-06-01 09:44:42 +01:00
Chris Smith
a30d87c323 Create room: fix colour for bottom sheet actions 2023-06-01 09:43:08 +01:00
Chris Smith
e4377c7e0c Create room: show divider between users in search 2023-06-01 09:42:26 +01:00
Chris Smith
36d372e1eb 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
Benoit Marty
0f27ad5a84 Merge pull request #347 from vector-im/feature/bma/oidc2
Add (disabled) Oidc support
2023-05-31 16:42:34 +02:00
Benoit Marty
6cbe7340ab Cleanup after PR review. 2023-05-31 10:34:03 +02:00
Benoit Marty
0f4d20ac79 Ignore temporary error. 2023-05-30 16:38:46 +02:00
Benoit Marty
71e0f6ee0e Make the application compile with a SDK with no support for Oidc. 2023-05-30 15:59:58 +02:00
Benoit Marty
034e38ba5a better api 2023-05-30 15:59:58 +02:00
Benoit Marty
a53be000d0 Cleanup 2023-05-30 15:59:58 +02:00
Benoit Marty
a09ecafb07 Custom tab: dark theme support. 2023-05-30 15:59:58 +02:00
Benoit Marty
1221692859 Add test for oidc with custom tab. 2023-05-30 15:59:58 +02:00
Benoit Marty
fd124530b8 Fix compilation and test 2023-05-30 15:59:58 +02:00
Benoit Marty
af0eab6f0c Oidc custom tab: avoid replay. 2023-05-30 15:59:58 +02:00
Benoit Marty
dbc13a3a3c Start CustomTab from Activity 2023-05-30 15:59:58 +02:00
Benoit Marty
d33fbaf89f Create sub packages. 2023-05-30 15:59:58 +02:00
Benoit Marty
4c9bed9d8a Oidc with CustomTab 2023-05-30 15:59:58 +02:00
Benoit Marty
cef1691e53 Quality checks 2023-05-30 15:59:58 +02:00
Benoit Marty
a4e2a688c3 Cleanup 2023-05-30 15:59:58 +02:00
Benoit Marty
e8c24b65d1 Test for Oidc 2023-05-30 15:59:58 +02:00
Chris Smith
a908589bad Fix flaky media tests. (#479)
Creating a mock during the test run seems to sometimes take a
large amount of time when running the tests in parallel (possibly
some kind of resource contention?)

Instead, perform the mocking in the test class so it's part of
the setup, not the  actual test runs.
2023-05-30 13:57:03 +00:00
Benoit Marty
b08021f1d9 Rework the set homeserver part: get the info, instead of hard-coded value, and implement retry in case of error. 2023-05-30 15:14:57 +02:00
Benoit Marty
a7eae1cda5 Add OIDC support 2023-05-30 15:14:57 +02:00
Benoit Marty
534bf67883 Sync localazy to fix lint error. 2023-05-30 13:55:23 +02:00
Benoit Marty
1a2e05608a Merge pull request #471 from vector-im/sync-localazy
Sync Strings
2023-05-30 13:06:51 +02:00
Benoit Marty
b15abe0509 Reduce number of warnings 2023-05-30 11:43:38 +02:00
Benoit Marty
e41f34a041 Fix alignment issue when there is an error. 2023-05-30 11:34:34 +02:00
Benoit Marty
5ca5a4bff1 Add preview for TimelineEventTimestampView 2023-05-30 11:33:33 +02:00
Benoit Marty
1a8e7d7d59 Improve preview again 2023-05-30 11:07:55 +02:00
Benoit Marty
67542ad867 Fix compilation issue after rebase. 2023-05-30 10:58:14 +02:00
Benoit Marty
928e3f680b Fix setting y offset to -12.dp can overlap a state event displayed above. Rework how the vertical offset are applied. 2023-05-30 10:50:06 +02:00
Benoit Marty
7b0d21e884 Move extension to a common file for code clarity. 2023-05-30 10:24:19 +02:00
Benoit Marty
b71056c51b Ensure GroupPosition is correct regarding Event which cannot be grouped. 2023-05-30 10:17:25 +02:00
Benoit Marty
b971f87ee3 Document [TimelineItemGroupPosition] and improve preview of [MessageEventBubble]. 2023-05-30 10:17:25 +02:00
Benoit Marty
6d8fadfa67 Let TimelineItemsFactory group the item if necessary, so it's done on a computation dispatcher. Let the View manage the expanded/grouped state. 2023-05-30 10:16:16 +02:00
Jorge Martín
268447fd8c Fix small issues, improve Result.flatMap 2023-05-29 13:58:29 +02:00