David Langley
62dedbb320
Merge branch 'develop' into dla/feature/connect_sdk_to_global_notifications_ui
2023-09-13 21:15:03 +01:00
Marco Romano
7fdd83bf91
GRemove the @JvmField annotation whenever using WarmUpRule.
2023-09-13 15:19:26 +02:00
David Langley
1260272c33
Add tests, mocks and lint
2023-09-13 12:44:22 +01:00
David Langley
c3fbac4678
Merge branch 'develop' of https://github.com/vector-im/element-x-android into dla/feature/connect_sdk_to_global_notifications_ui
2023-09-12 16:30:36 +01:00
David Langley
a0ac324e3f
Implement Notification Settings
...
- Add UI and logic to inform the user of mismatched notification settings and help them correct it.
- Display a warning when the system notification settings are disabled and a link out to the app settings.
- A toggle to disable notifications for the device
- A screen for editing the group and direct chat notification defaults.
- A toggle for switching on/off atRoom and call notifications.
2023-09-12 01:11:13 +01:00
Yoan Pintas
4a5a01d710
Add room notification settings ( #807 )
...
* Add room notification settings
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: David Langley <langley.dave@gmail.com>
2023-09-07 10:24:34 +02:00
Benoit Marty
1a1a0f4503
Make links in room topic clickable ( #612 )
2023-09-06 15:25:40 +02:00
jonnyandrew
9e5b46200b
Reduce test flakiness by warming up molecule tests ( #1226 )
2023-09-06 10:08:21 +00:00
jmartinesp
74b2ddebfd
Sync Strings from Localazy
2023-09-05 06:37:36 +00:00
David Langley
5e2ec8b504
Merge branch 'develop' of https://github.com/vector-im/element-x-android into yostyle/notifications_global_settings
2023-08-30 15:02:59 +01:00
Benoit Marty
55255735d7
Merge branch 'develop' into feature/bma/dataObject
2023-08-28 10:56:02 +02:00
Benoit Marty
8415826a97
Import strings with Localazy.
2023-08-25 12:15:06 +02:00
Jorge Martín
5be6814ee5
Try to fix tests
2023-08-24 15:58:23 +02:00
Jorge Martín
4b0f9213d3
Fix lint issues
2023-08-24 15:58:23 +02:00
Jorge Martín
a210945bb1
Add debouncing to observeNotificationSettings.
...
This should conceal a bit the issue with notification settings 'flashing' when we receive an update.
2023-08-24 15:58:23 +02:00
yostyle
f247337fce
Fix tests
2023-08-24 15:58:23 +02:00
yostyle
9e17d8f468
Fix PR comments
2023-08-24 15:58:23 +02:00
yostyle
85dd36a681
Update notification settings service interface to match rust SDK
2023-08-24 15:58:22 +02:00
yostyle
eefecaec8b
Update strings
2023-08-24 15:58:22 +02:00
yostyle
eeb6c3f61c
Add feature flag
2023-08-24 15:58:22 +02:00
yostyle
0214ca66a6
Fix PR comments
2023-08-24 15:58:22 +02:00
yostyle
01a0175d40
Update strings
2023-08-24 15:58:22 +02:00
yostyle
a5b15c40c3
Update room details tests
2023-08-24 15:58:22 +02:00
yostyle
82c8acd3dc
Update strings
2023-08-24 15:58:22 +02:00
yostyle
a611766476
Fix edition
2023-08-24 15:58:21 +02:00
yostyle
a3aac9f66a
Rebase on develop
2023-08-24 15:58:21 +02:00
yostyle
856c674361
Update unit tests
2023-08-24 15:58:21 +02:00
yostyle
2c81384894
Rebase on develop
2023-08-24 15:58:21 +02:00
yostyle
83e45adfa5
Add room notification settings
2023-08-24 15:58:21 +02:00
Benoit Marty
7083abcf09
migrate object to data object ( #1135 )
2023-08-24 09:32:44 +02:00
Benoit Marty
b44dde4df6
Merge pull request #1001 from vector-im/renovate/io.nlopez.compose.rules-detekt-0.x
...
Update dependency io.nlopez.compose.rules:detekt to v0.2.1
2023-08-17 17:48:52 +02:00
Benoit Marty
40fcb6b17d
Merge pull request #1057 from vector-im/sync-localazy
...
Sync Strings
2023-08-17 17:46:35 +02:00
Jorge Martin Espinosa
0324719606
Upgrade compose-material3 to 1.2.0-alpha05 version ( #1011 )
...
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Also upgrade compileSdk to 34.
2023-08-17 14:20:54 +02:00
Benoit Marty
a3ae891e51
Fix issue detected by detekt
2023-08-16 15:24:18 +02:00
bmarty
b61a8a219a
Sync Strings from Localazy
2023-08-14 00:08:49 +00:00
ElementBot
38a25dc3e9
Sync Strings from Localazy ( #1032 )
...
Co-authored-by: Florian14 <Florian14@users.noreply.github.com>
2023-08-11 14:34:05 +00:00
Jorge Martin Espinosa
f35272c4fe
[Compound] Implement DropdownMenu customisations. ( #1050 )
...
* Compound: implement `DropdownMenu` customisations.
* Update screenshots
* Add changelog
* Address review comments
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-08-11 13:09:51 +00:00
Jorge Martin Espinosa
23982dde47
[Compound] Implement components (Button) ( #1021 )
...
* Create `CompoundButton`
* Some fixes
* Lint fixes
* Start replacing existing `Button` usages
* Replace button usages
* Remove previous Button composable
* Rename `CompoundButton` to `Button`
* Fix emphasized button being displayed as Text
* Fix cancel button in `WaitListView`
* Update screenshots
* Add shorthand functions for `OutlinedButton` and `TextButton`
* Add changelog
* Fix wrong size used for emphasized button in dialog
* Create a private `ButtonInternal` implementation with the shared logic.
- Make `ButtonStyle` private.
- Rename `title` to `text`.
- Rename `buttonStyle` and `buttonSize` to just `style` and `size`.
* Fix several warnings and lint issues.
* Update screenshots
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-08-08 16:11:37 +00:00
Benoit Marty
5ed29b1466
Merge pull request #986 from vector-im/feature/bma/bigFontSizeImprovement
...
Big font size improvements
2023-07-28 17:02:29 +02:00
Benoit Marty
822bb82347
Merge pull request #967 from vector-im/feature/bma/detektConfig
...
Update detekt config.
2023-07-28 16:47:26 +02:00
Benoit Marty
0627a1155c
Auto capitalize first letter of sentences for messages, room topic and bug report description. ( #948 )
2023-07-27 17:13:42 +02:00
Benoit Marty
6a77974af4
Ensure room name have horizontal padding and is centered if displayed on several lines, and remove unnecessary Box around the Avatar.
2023-07-27 15:53:20 +02:00
Benoit Marty
8f4b664158
Sync strings.
2023-07-27 12:16:04 +02:00
Jorge Martin Espinosa
dbec1a0a60
Improve fetch members performance, relax regexes for validating ids ( #964 )
...
* Fetched `RoomMembers` are mapped in parallel
* Add horizontal padding to room/user name in room details screen
* Relax User & Event id regex matches
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-07-26 16:31:26 +02:00
Benoit Marty
6aa5239189
Enable detekt rule PreviewPublic and fix existing issues.
2023-07-26 10:08:39 +02:00
Benoit Marty
1a1d4c2957
Fix code quality check failures after new rules from #935 has been merged on develop.
2023-07-21 16:04:55 +02:00
Benoit Marty
c75eabbcb0
Enable detekt rules UnnecessaryParentheses and cleanup the code.
2023-07-20 18:08:08 +02:00
Benoit Marty
2928073e22
Enable detekt rules UnusedImports and cleanup the code.
2023-07-20 18:00:23 +02:00
renovate[bot]
156bf08b7a
Update dependency app.cash.molecule:molecule-runtime to v1 ( #925 )
...
* Update dependency app.cash.molecule:molecule-runtime to v1
* Replace `RecompositionClock` with `RecompositionMode`
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-07-20 07:36:19 +02:00
Benoit Marty
52ae2ca74c
Also rename the Composable.
2023-07-18 23:10:10 +02:00