Benoit Marty
926b147ebe
Add missing test case.
9 months ago
Benoit Marty
3e1388cac7
Add test for `MembershipChange.NONE`
9 months ago
Benoit Marty
ac7d46cfb7
Handle `MembershipChange.NONE` rendering in the timeline #2102
...
And avoid `else` in the when statement.
9 months ago
bmarty
e6f4a7364f
Sync Strings from Localazy
9 months ago
Benoit Marty
b9b746bea7
Attempt to fix test on CI.
...
The test is failing on CI with this error:
expected instance of: io.element.android.libraries.architecture.Async$Success
but was instance of : io.element.android.libraries.architecture.Async$Loading
with value : Loading(prevData=null)
9 months ago
Jorge Martín
c5c920cfa6
Revert "Merge pull request #2071 from element-hq/feature/bma/fixTests"
...
This reverts commit 19edf067fa
, reversing
changes made to fb766f5176
.
9 months ago
Jorge Martin Espinosa
cbf34929af
Revert "Room list badges"
9 months ago
Benoit Marty
fac04034f1
Enable Chat backup, Mentions and Read Receipt in release.
...
Also change default for debug to enabled, but keep `isFinished = false` for now, so that they are still disableable.
9 months ago
Benoit Marty
91027f82e9
Fix test.
9 months ago
Benoit Marty
f2c989cbd6
Iterate on indicators on room list #2079
9 months ago
Benoit Marty
6316dd2c15
Remove unused import and format.
9 months ago
Benoit Marty
a7c5e620a4
Use icon from library and move and rename retry.xml to the library.
...
Also fix contentDescription for pause button.
9 months ago
Benoit Marty
9ae521dd0b
Use Edit icon from Compound and delete ic_edit_solid
9 months ago
Benoit Marty
f697d62831
Use Thread icon from Compound and delete ic_thread_decoration
9 months ago
Benoit Marty
c0fa56fff4
Fix size trick, the icon has changed.
9 months ago
Benoit Marty
79f52990ff
Use CompoundIcon and remove ic_send.xml
9 months ago
Benoit Marty
c02d97f421
Format
9 months ago
Benoit Marty
c18959f0a0
Use VideoCallSolid and also delete local ic_video_call.xml icon.
9 months ago
Benoit Marty
f94f5e4713
Second attempt...
9 months ago
Benoit Marty
0c86b76357
Move NotificationConfig object to the config module.
9 months ago
Benoit Marty
1d3669f144
Fix wrong color alias usage.
9 months ago
Benoit Marty
8378500a25
Change name to match use case.
9 months ago
Benoit Marty
5ea59feb6f
Do not render `roomId` if the room has no canonical alias #1970
9 months ago
ganfra
c4dc024c63
Fix detekt
9 months ago
ganfra
78bd6915c7
BackstackParentNode now become BaseFlowNode and adds Overlay navModel into it.
9 months ago
ganfra
b11f98afe8
Add Overlay navModel and related classes
9 months ago
Benoit Marty
6b611bedfc
Move files to correct package.
9 months ago
Benoit Marty
7889ff118c
Restore test for image sending, now that computing Thumbnail can fail.
9 months ago
Benoit Marty
ca751aac12
ThumbnailUtils.createImageThumbnail can throw IOException, and we can ignore it.
9 months ago
Benoit Marty
d3654ef284
`blurhash` cannot be null here
9 months ago
Benoit Marty
ee766ecf26
Providing a thumbnail when sending a media is now optional.
9 months ago
ganfra
d641ef29ce
Tests: replace "0" by FAKE_UNIQUE_ID when its ok.
9 months ago
bmarty
e60508a631
Sync Strings from Localazy
9 months ago
Benoit Marty
1b0a4093d9
Fix test which was passing for wrong reason.
9 months ago
Benoit Marty
ff2fc7ff3a
Also linkify emails.
9 months ago
ganfra
c0ac6e191b
Timeline : makes sure pagination state is computed correctly and only in one place.
9 months ago
ganfra
f961d81eb0
Timeline : uniqueId exposed as String directly from matrix module.
9 months ago
Benoit Marty
dfec3abbd6
Fix test compilation
9 months ago
Benoit Marty
949d57bd41
Fix compilation issue after merging develop
9 months ago
Jorge Martin Espinosa
d27e9e5265
Add warning message to 'mentions and keywords only' notification option ( #2028 )
...
* Add warning message to 'mentions and keywords only'
It should be displayed when it's not supported by the homeserver
* Only display disclaimer in the room notification settings if the room is encrypted
Co-authored-by: Benoit Marty <benoit@matrix.org>
* Fix test and add another one
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
9 months ago
ganfra
ac7dd355aa
Fix test compilation again.
9 months ago
Benoit Marty
ea0825a01c
Create RoomMember.getBestName() extension.
9 months ago
Jorge Martin Espinosa
80408a807c
Fix mentions font weight and horizontal padding ( #2025 )
...
* Fix mentions font weight and horizontal padding
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
9 months ago
ganfra
bb7123afbd
Fix tests and warnings
9 months ago
Jorge Martin Espinosa
2492584786
Handle tapping on user mentions ( #2021 )
9 months ago
Jorge Martin Espinosa
1e86d8279b
Use RTE `TextView` for timeline text messages, add mention pills to messages ( #1990 )
...
* Add `formattedBody` to `TimelineItemTextBasedContent`.
This is pre-computed when timeline events are being mapped from the Rust SDK.
* Update `HtmlConverterProvider` styles.
* Improve `MentionSpan` to add missing `@` or `#` if needed
* Replace `HtmlDocument` with the `TextView` based component
* Improve extra padding calculation for timestamp by rounding the float offset result instead of truncating it.
* Remove composer line height workaround
* Use `ElementRichTextEditorStyle` instead of `RichTextEditorDefaults` for the theming
* Use slightly different styles for composer and messages (top/bottom line height discrepancies, mostly).
* Add `formattedBody` to notice and emote events.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
9 months ago
Benoit Marty
36ccc1ccbd
Fix API break regarding ReceiptType
9 months ago
ganfra
6378f6cffe
Poll history : add tests and fix others
9 months ago
Benoit Marty
6e6930c076
Consider that the state is Done when the state is `Uploading` with `backedUpCount == totalCount` #2008
9 months ago
Benoit Marty
2c01d486e0
Feature: add a `isFinished` boolean to filter out features from developer options screen.
9 months ago