Commit graph

171 commits

Author SHA1 Message Date
bmarty
c72bb92ef2 Sync Strings from Localazy 2023-09-25 00:09:17 +00: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
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
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
bmarty
d2f9b02bbf Sync Strings from Localazy 2023-09-18 00:09:19 +00:00
David Langley
f287a651b5 Reverting the change to only show the green dot for all messages. 2023-09-15 15:47:16 +01:00
David Langley
0cdc5f5149 Cancel scope in tests. 2023-09-15 10:25:10 +01:00
David Langley
57aeac9a44 Update RoomListDataSource.kt 2023-09-14 20:31:34 +01:00
David Langley
9a234a875c 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
7a7cc2692e Fix test compilation 2023-09-14 19:28:56 +01:00
David Langley
dec32ac10c 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
ganfra
b382993cbb Sync Strings from Localazy 2023-09-14 14:38:49 +00:00
David Langley
ed1949aa51 Show a room list decoration for notification setting applied
- Add the UI
- Rebuild room summaries when push rules change or when user disables notifications(hide them all)
2023-09-14 14:24:13 +01:00
Marco Romano
7fdd83bf91 GRemove the @JvmField annotation whenever using WarmUpRule. 2023-09-13 15:19:26 +02:00
Jorge Martin Espinosa
fb9d08bab0
[Compound] Improve Bloom (#1272)
* Improve Bloom:
  - Simplify bloom blurred image.
  - Display very subtle bloom for avatars with soft colors.
* Improve caching and performance

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-12 14:02:59 +02:00
Jorge Martin Espinosa
41061da768
[Compound] Bloom (#1253)
* Add `bloom` and `avatarBloom` modifiers.

* Add `ConnectivityIndicatorContainer` to control the padding needed at the top.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-11 15:43:23 +02:00
Benoit Marty
54968f98ed Add a last Spacer item to ensure that the FAB does not hide the last room item 2023-09-07 17:25:50 +02:00
Benoit Marty
3d6b5976e3 Iterate on icon in Fab in the room list. 2023-09-07 15:49:51 +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
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 Martin Espinosa
c670fc9e9c
Prevent verification while initial sync is in progress (#1138)
* Prevent verification while initial sync is in progress

* Add `canVerifySessionFlow` to simplify the check
2023-08-24 11:43:36 +00:00
Benoit Marty
7083abcf09 migrate object to data object (#1135) 2023-08-24 09:32:44 +02:00
ElementBot
ef8a60b657
Sync Strings from Localazy (#1098)
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2023-08-21 08:34:19 +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
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
Jorge Martin Espinosa
9e1ff513e4
[Compound] Implement Snackbars based on designs (#1054)
* Make `InternalButton` internal instead of private so it can be customised.

Also, change the `ButtonColors.contentColor` for text buttons to `LocalContentColor.current` by default.

* Add temporary color for Snackbar action label

* Implement `Snackbar` component based on Compound

* Propagate changes to all other components

* Use right Preview annotation config

* Move `ButtonVisuals` to their own file

* Update screenshots

* Make previews internal

* Update screenshots

* Set a custom token for contentColor in AppBars

* Change 'Label' to 'Action' in the previews

* Add changelog

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-08-16 10:38:28 +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
ganfra
fa51f6eaa7
Feature/fga/sync states (#1042)
* Change RoomSummaryDataSource to RoomListService to better reflects the rust api

* Better Sync management

* Sync: improve sync spinner rendering

* Sync: make test compiles

* Sync: add more test for sync spinner

* Sync: more clean-up

* Sync: pr review

---------

Co-authored-by: ganfra <francoisg@element.io>
2023-08-09 12:37:43 +00:00