Benoit Marty
3d9fbe70d4
Fix timestamp font #2065
9 months ago
Benoit Marty
139f5cdf72
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
Benoit Marty
03a00330a6
Add RoomListConfig to be able to hide menu items. And hide them #2062 .
9 months ago
Benoit Marty
210edd71ed
Avoid using Material (not 3) theme
9 months ago
Benoit Marty
c8532a8dd6
Move Config object to the config module and rename to AnalyticsConfig
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
d641ef29ce
Tests: replace "0" by FAKE_UNIQUE_ID when its ok.
9 months ago
Benoit Marty
d0324323b9
Always show user avatar in message action sheet #2032
9 months ago
bmarty
e60508a631
Sync Strings from Localazy
9 months ago
Benoit Marty
0129fdd370
Attempt to fix test on CI...
9 months ago
Benoit Marty
bd03831745
Fix more test.
9 months ago
Benoit Marty
dca7edd977
Fix more test.
9 months ago
Benoit Marty
5d4eaae933
Ensure test does not fail.
9 months ago
Benoit Marty
ff2fc7ff3a
Also linkify emails.
9 months ago
Benoit Marty
d800b225b6
Consider the returned value of `LinkifyCompat.addLinks`
9 months ago
Benoit Marty
74729fe534
Apply the same fix for emotes, notices and other message type.
9 months ago
Benoit Marty
70abf6226f
Use `buildSpannedString`
9 months ago
Benoit Marty
94e7b59e37
Format file.
9 months ago
Benoit Marty
7d55116347
Ensure link are clickable on simple body ( #2038 )
9 months ago
Benoit Marty
14b20b7e59
Attempt to fix test on CI
9 months ago
Benoit Marty
b0dabb128d
Fix test in release
...
Be deterministic to try to fix test on CI.
9 months ago
Benoit Marty
21945004de
Fix title of sign out screen regarding the different states
9 months ago
ganfra
f961d81eb0
Timeline : uniqueId exposed as String directly from matrix module.
9 months ago
Jorge Martin Espinosa
7ed460b282
Fix scaling of timeline images ( #1941 )
...
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: Benoit Marty <benoitm@matrix.org>
9 months ago
Benoit Marty
cb87712f4a
Rename methods
9 months ago
Benoit Marty
bdfea78f34
Fix wording in room invite members view: `Send` -> `Invite` #2037
9 months ago
Benoit Marty
788b445e99
Scroll to bottom if the new event is from me, even if sent from another device #1877 .
...
This fixes the issue that the timeline does not scroll when sending an attachment to the room, since there is no local echo (yet) for such event.
9 months ago
ganfra
9bdb388d9e
MessagesPresenter : remove useless test
9 months ago
ganfra
5dfd64a23b
Fix androidTest compilation
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
Benoit Marty
dc678ebc48
Format
9 months ago
Benoit Marty
ecf974334e
Remove duplicated preview, but add editable case (isMine must be true)
9 months ago
Benoit Marty
ab3ac137fb
Cleanup: Inline val for code clarity / compact.
9 months ago
Benoit Marty
3f1c204825
No need to pass a similar thumbnail source.
9 months ago
Benoit Marty
dba49933a1
Rename the parameter this it can be a username or a room name.
9 months ago
Benoit Marty
e6553aa3c7
Do some renaming, since it can now also be room avatar.
9 months ago
Benoit Marty
ea0825a01c
Create RoomMember.getBestName() extension.
9 months ago
Benoit Marty
f15d846596
Cleanup
9 months ago
Benoit Marty
5586d3cf63
Open room Avatar on click #1918
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
9af8710993
Fix test
9 months ago
Benoit Marty
2c01d486e0
Feature: add a `isFinished` boolean to filter out features from developer options screen.
9 months ago
ganfra
8f1e1398f2
Poll history : add empty state
9 months ago
ganfra
5282e1c5c5
PollHistory : use the regular timeline instead of pollHistory timeline as not working properly.
9 months ago
ganfra
3be1267033
Poll history : branch edit flow
9 months ago