Commit graph

1976 commits

Author SHA1 Message Date
Benoit Marty
dcb1677bf1 Open app settings from the permission dialog. 2023-09-21 11:37:59 +02:00
Benoit Marty
f3456cafa7 Rename Event for clarity 2023-09-21 11:29:29 +02:00
Benoit Marty
31eca73e8d Request Camera permission before launching the external Camera app (#1395) 2023-09-21 10:54:02 +02:00
Benoit Marty
0e4c146e87 Detekt: Rename DayNightPreviews to PreviewsDayNight to follow naming convention.
MultiPreview annotations should start with `Previews` as prefix
2023-09-21 08:30:36 +02:00
Benoit Marty
97f2d211ae Detekt: Rename LargeHeightPreview to PreviewWithLargeHeight to follow naming convention.
MultiPreview annotations should start with `Preview` as prefix

Detekt: Rename `LargeHeightPreview` to `PreviewWithLargeHeight` to follow naming convention.
Custom Preview annotations should start with `Preview` as prefix
2023-09-21 08:30:15 +02:00
Benoit Marty
e622f8d869
Merge pull request #1392 from vector-im/feature/bma/iterateOnIcons
Iterate on icons
2023-09-20 23:20:28 +02:00
Benoit Marty
48fd833f8b More cleanup 2023-09-20 17:32:32 +02:00
Benoit Marty
03d69146aa Remove unused resource, and use compound icons when possible. 2023-09-20 16:45:38 +02:00
Benoit Marty
d531e71cd8 Migrate other icons to compound icons. 2023-09-20 16:44:59 +02:00
Benoit Marty
b2b93317f1 Use CommonDrawables 2023-09-20 16:44:59 +02:00
Benoit Marty
085b3bbfa4 Iterate on icons (#1320) 2023-09-20 16:44:59 +02:00
Benoit Marty
c652606f56 Remove VectorIcons object, inline the values. 2023-09-20 16:44:59 +02:00
Benoit Marty
b73fe69dd6 No need to decode the parameter value, getQueryParameter already does it. 2023-09-20 11:20:40 +02:00
Benoit Marty
040da1324d Add one more test. 2023-09-20 11:19:47 +02:00
Benoit Marty
1d0af23d52 Add test for the scheme io.element.call 2023-09-20 11:18:51 +02:00
Benoit Marty
1244761be2 Avoid code duplication 2023-09-20 11:09:21 +02:00
Benoit Marty
73d71b9ddb CallIntentDataParser is now a class. 2023-09-20 11:07:10 +02:00
Benoit Marty
acbdac70be Add support for io.element.call:/?url=some-encoded-url uri 2023-09-20 11:05:15 +02:00
Benjamin Bouvier
ffb1302211 feat: use the raw homeserver URL instead of manually removing the scheme
On the one hand, the SDK knows what to do and will clean up the URL if needs be,
guessing what the best scheme (http or https) is based on the prefix. On the other
hand, trimming the scheme as done here doesn't allow for manual testing on insecure
servers, which is handy in e2e testing situations.
2023-09-19 19:23:11 +02:00
Benoit Marty
12955d7c2d Fix vertical icon alignment 2023-09-19 14:18:28 +02:00
Benoit Marty
f808dcd6ea
Merge pull request #1372 from vector-im/feature/bma/dayNightPreview
Day night preview annotation
2023-09-19 14:04:49 +02:00
jonnyandrew
ee8d27e927
[Rich text editor] Add link functionality to rich text editor (#1309)
* Add link functionality to rich text editor
* Add 'list dialog' component compound design library
* Add 'text field list item' component to compound design library
2023-09-19 11:20:07 +00:00
Benoit Marty
2819448cd4 Use DayNightPreview 2023-09-19 11:49:12 +02:00
David Langley
0d172dfcf1
Merge branch 'develop' into dla/feature/room_list_decoration 2023-09-18 16:48:37 +01:00
Benoit Marty
635a4eb6a8
Merge pull request #1366 from vector-im/feature/bma/syncStrings
Sync strings
2023-09-18 17:45:44 +02:00
David Langley
bd97cca6aa Merge branch 'develop' of https://github.com/vector-im/element-x-android into dla/feature/room_list_decoration 2023-09-18 16:44:13 +01:00
David Langley
67b9e94e19 Fix unused import. 2023-09-18 16:24:54 +01:00
David Langley
6497d2184f Add test. 2023-09-18 16:03:30 +01:00
Benoit Marty
0453ea5904 Localazy sync 2023-09-18 16:42:35 +02:00
David Langley
c160a37b2c Merge branch 'dla/feature/room_list_decoration' of https://github.com/vector-im/element-x-android into dla/feature/room_list_decoration 2023-09-18 15:05:50 +01:00
David Langley
e48a9ee08d Fix typo, remove unnecessary filter of all rooms in the datasource. 2023-09-18 15:05:43 +01:00
Marco Romano
5974ca0975 Remove dead code in room summary row
Not sure why it's unused but it's almost 1 year old so probably safe to remove.
2023-09-18 14:42:42 +02:00
David Langley
bc29a31986
Merge branch 'develop' into dla/feature/room_list_decoration 2023-09-18 10:34:32 +01:00
Benoit Marty
3e9f5bbfad
Merge pull request #1351 from vector-im/feature/jme/1302-allow-users-to-change-their-avatars
Add preference screen for user profile
2023-09-18 10:58:42 +02:00
bmarty
d2f9b02bbf Sync Strings from Localazy 2023-09-18 00:09:19 +00:00
Marco Romano
d6dac9a236
Make PollContentView a11y friendly #1345
Improves a bit how screen readers read polls in the timeline.
- Adds a few `contentDescription` so that talkback reads “poll” or “ended poll” before the poll question.
- Changes the compose structure of the answers so that they are properly scanned by the screen reader. This meant getting rid of the `IconToggleButton` which was made redundant by the use of the `selectable`.
2023-09-15 20:24:33 +02:00
Benoit Marty
27ed39d095
Merge pull request #1350 from vector-im/feature/bma/duplicateNotif
Investigation of duplicate notification.
2023-09-15 19:31:48 +02:00
Benoit Marty
27e567e6f4 Fix the test. 2023-09-15 19:24:43 +02:00
Benoit Marty
f7f9a78101 Cleanup and compact code. Also prefer usage of DayNightPreview. 2023-09-15 18:21:29 +02:00
Benoit Marty
93b5f3d6f5
Merge branch 'develop' into feature/jme/1302-allow-users-to-change-their-avatars 2023-09-15 17:35:17 +02:00
Jorge Martín
98bb91cd27 Create tests 2023-09-15 17:26:39 +02:00
David Langley
e25280b6b6 Merge branch 'develop' of https://github.com/vector-im/element-x-android into dla/feature/room_list_decoration 2023-09-15 15:48:15 +01:00
David Langley
f287a651b5 Reverting the change to only show the green dot for all messages. 2023-09-15 15:47:16 +01:00
Jorge Martin Espinosa
f88507117b
Element Call SPA integration (#1283)
* Integrate Element Call into EX, being able to open its URLs and handle the call in-app.
* Add custom scheme support with format `element:call?url=...`.
* Update androix.webkit
* Silence the foreground service notification.
- Allow foreground service tap action to re-open the ongoing call.
- Unify notification small icons in different modules using a vector one.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-15 16:39:44 +02:00
Benoit Marty
1c56d95eab Do not render notification if the user has dismiss the notification.
It should not change anything, just avoid doing useless notification rendering.
2023-09-15 15:42:55 +02:00
Jorge Martín
2ccafec564 Changes:
- Improve UI to match designs.
- Extract `EditableAvatarView` component.
- Create `LabelledOutlinedTextField`.
- Get strings from Localazy.
2023-09-15 14:04:21 +02:00
Jorge Martín
149677a2e6 Add preference screen for user profile 2023-09-15 12:16:47 +02:00
David Langley
90fc5366d8 Merge branch 'develop' of https://github.com/vector-im/element-x-android into dla/feature/room_list_decoration 2023-09-15 10:26:24 +01:00
David Langley
0cdc5f5149 Cancel scope in tests. 2023-09-15 10:25:10 +01:00
Marco Romano
50c7892eab Make PollContentView a11y friendly
Improves a bit how screen readers read polls in the timeline.
- Adds a few `contentDescription` so that talkback reads “poll” or “ended poll” before the poll question.
- Changes the compose structure of the answers so that they are properly scanned by the screen reader. This meant getting rid of the `IconToggleButton` which was made redundant by the use of the `selectable`.
2023-09-15 09:53:17 +02:00