Commit Graph

1659 Commits

Author SHA1 Message Date
David Langley
b634db1772 List user define room notification settings
- List user define room notification settings
- Add new user defined style of the room notification settings view
- Add navigation to expose room notification settings ui to the global settings
- Add Progress indicators
- Improve error handing
2023-10-17 16:08:08 +01:00
David Langley
a9d87da1ff Add roomsWithUserDefinedRules data and render list
- get roomsWithUserDefinedRules from rust
- add to state in the presenter
- render in the edit defaults view as a list
2023-09-22 16:16:52 +01:00
Benjamin Bouvier
4902fe4990 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
4d7cad592c Merge pull request #1372 from vector-im/feature/bma/dayNightPreview
Day night preview annotation
2023-09-19 14:04:49 +02:00
jonnyandrew
d291622eea [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
e326e49e4c Use DayNightPreview 2023-09-19 11:49:12 +02:00
David Langley
388e40c223 Merge branch 'develop' into dla/feature/room_list_decoration 2023-09-18 16:48:37 +01:00
Benoit Marty
021e2ebafe Merge pull request #1366 from vector-im/feature/bma/syncStrings
Sync strings
2023-09-18 17:45:44 +02:00
David Langley
8893faae52 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
2919555764 Fix unused import. 2023-09-18 16:24:54 +01:00
David Langley
cebe099c7d Add test. 2023-09-18 16:03:30 +01:00
Benoit Marty
d3d9367feb Localazy sync 2023-09-18 16:42:35 +02:00
David Langley
6fd8f0fe39 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
fb9108bfe8 Fix typo, remove unnecessary filter of all rooms in the datasource. 2023-09-18 15:05:43 +01:00
Marco Romano
1dd874d835 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
8605673ca1 Merge branch 'develop' into dla/feature/room_list_decoration 2023-09-18 10:34:32 +01:00
Benoit Marty
7bdfd2905c 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
6e5e538724 Sync Strings from Localazy 2023-09-18 00:09:19 +00:00
Marco Romano
8f519b614f 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
d19d485205 Merge pull request #1350 from vector-im/feature/bma/duplicateNotif
Investigation of duplicate notification.
2023-09-15 19:31:48 +02:00
Benoit Marty
1bbfad4a8f Fix the test. 2023-09-15 19:24:43 +02:00
Benoit Marty
574e6199fe Cleanup and compact code. Also prefer usage of DayNightPreview. 2023-09-15 18:21:29 +02:00
Benoit Marty
372cc2a16e Merge branch 'develop' into feature/jme/1302-allow-users-to-change-their-avatars 2023-09-15 17:35:17 +02:00
Jorge Martín
19caf2e7a7 Create tests 2023-09-15 17:26:39 +02:00
David Langley
90d27dacee 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
b644c40398 Reverting the change to only show the green dot for all messages. 2023-09-15 15:47:16 +01:00
Jorge Martin Espinosa
a06bea4d71 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
096c935874 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
41e614310f 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
fa277f062f Add preference screen for user profile 2023-09-15 12:16:47 +02:00
David Langley
a3ef7c791e 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
b842a201d3 Cancel scope in tests. 2023-09-15 10:25:10 +01:00
Marco Romano
44a9da8fbf 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
David Langley
14666998e1 Update RoomListDataSource.kt 2023-09-14 20:31:34 +01:00
David Langley
fc487ba9da Merge branch 'develop' of https://github.com/vector-im/element-x-android into dla/feature/room_list_decoration 2023-09-14 19:30:02 +01:00
David Langley
f0aaa56425 Fix test compilation 2023-09-14 19:28:56 +01:00
Benoit Marty
d85e7e14c4 Merge branch 'develop' into feature/bma/advancedSettings 2023-09-14 20:13:26 +02:00
Benoit Marty
8242654ebd Move developer settings and remove extra dividers. 2023-09-14 19:48:20 +02:00
Benoit Marty
2a217700e7 Add test on AdvancedSettingsPresenterTest 2023-09-14 19:48:20 +02:00
Benoit Marty
33bf410710 Fix typo in fun names. 2023-09-14 19:48:20 +02:00
Benoit Marty
1a6641a5f7 Show "View Event" if the developer mode is enabled. 2023-09-14 19:48:20 +02:00
Benoit Marty
bf67c6e349 Rename Developer -> ViewSource 2023-09-14 19:48:20 +02:00
Benoit Marty
f55e8a6ad8 Remove feature flag RichTextEditor, it's replaced by an advanced settings. 2023-09-14 19:47:41 +02:00
Benoit Marty
7091ad2e01 Add Advanced Settings screen in the preferences. 2023-09-14 19:46:18 +02:00
Benoit Marty
698a5969f2 Change implementation to testImplementation on a test module. 2023-09-14 19:44:24 +02:00
ganfra
54b290d630 Merge pull request #1298 from vector-im/feature/fga/timeline_thread_decoration
Feature/fga/timeline thread decoration
2023-09-14 18:45:33 +02:00
jonnyandrew
1b4d5d8a16 [Rich text editor] Fix 'text formatting' option only partially visible (#1335) 2023-09-14 16:32:15 +00:00
Benoit Marty
e69e961a70 Avoid lint false positive. 2023-09-14 18:16:10 +02:00
David Langley
43fab70d30 Only show green indicator for "All Messages"
- Only show green indicator for "All Messages" as mentions doesn't work and we should never see it for muted rooms.
- Remove code that tried to reflect the notificationsEnabled setting I mis-undertood the requirements by reading the iOS code.
2023-09-14 16:39:11 +01:00
Benoit Marty
7a7160d688 Merge branch 'develop' into feature/bma/manageAccountAndDevice 2023-09-14 17:24:29 +02:00