Commit graph

512 commits

Author SHA1 Message Date
jonnyandrew
896c2325db
[Rich text editor] Add formatting menu (#1261)
---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-08 16:23:15 +00:00
jonnyandrew
f214493c9d
[Rich text editor] Integrate rich text editor library (#1172)
* Integrate rich text editor

* Also increase swapfile size in test CI

Fixes issue where screenshot tests are terminated due to lack of CI
resources.

See https://github.com/actions/runner-images/discussions/7188#discussioncomment-6750749

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-07 15:21:29 +00: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
jonnyandrew
9e5b46200b
Reduce test flakiness by warming up molecule tests (#1226) 2023-09-06 10:08:21 +00:00
Benoit Marty
4e8ce6c091
Merge pull request #1224 from vector-im/feature/bma/displayNameColor
Iterate on display name and avatar color
2023-09-05 17:24:26 +02:00
Benoit Marty
6ef288c26d Rename parameter and update comment. 2023-09-05 15:45:12 +02:00
Benoit Marty
74fc570708 Composable functions that return a value should start with a lowercase letter 2023-09-05 15:39:31 +02:00
Benoit Marty
1cffbbdca7 Apply colors to default user avatar in the timeline. 2023-09-05 12:44:36 +02:00
Benoit Marty
e301d60648 Compute avatar color of users and apply foreground color to the sender displayname. 2023-09-05 12:23:42 +02:00
Benoit Marty
9bf3521f39 Compute avatar color of users and apply foreground color to the sender displayname. 2023-09-05 12:10:30 +02:00
jmartinesp
74b2ddebfd Sync Strings from Localazy 2023-09-05 06:37:36 +00:00
David Langley
5b6682f125
Merge pull request #1162 from vector-im/feature/dla/emojibase_integration
Emojibase integration
2023-08-31 15:49:15 +01:00
Marco Romano
00828b6714
New icon for "poll end" in both action menu and timeline item. (#1203)
- Also fixes preview of action list (reply is included as it will soon be added).
2023-08-31 15:40:51 +02:00
David Langley
c43a69c991
Merge branch 'develop' into feature/dla/emojibase_integration 2023-08-31 14:14:01 +01:00
Marco Romano
3a920f1a9d
Poll end (#1182)
- Adds an "End Poll" item in the action list long press menu.
  - Shows only on remote polls that have not ended yet and only if the user is the creator or has redact powers.

Closes https://github.com/vector-im/element-meta/issues/2026
2023-08-31 14:39:11 +02:00
Jorge Martin Espinosa
47a0ecb3b8
Protect TimelineItemAspectRatioBox against Float.NaN (#1201)
* Protect `TimelineItemAspectRatioBox` against infinite values.
2023-08-31 10:58:37 +00:00
David Langley
503e4a0128 Merge branch 'feature/dla/emojibase_integration' of https://github.com/vector-im/element-x-android into feature/dla/emojibase_integration 2023-08-31 11:41:31 +01:00
David Langley
b16faeceba Fix FakeEmojibaseProvider 2023-08-31 11:41:06 +01:00
David Langley
d2e4cda28c
Merge branch 'develop' into feature/dla/emojibase_integration 2023-08-31 11:38:28 +01:00
David Langley
ecf2d06928 Fix colon aligment and load emojis lazily.
- Fix colon aligment
- Load emojis lazily.
2023-08-31 11:37:08 +01:00
Marco Romano
f0bed85458
Poll vote (#1181)
- Adds sendPollVote rust room API (still not operational, need to wait for a rust sdk release)
- Adds an optional EventId in TimelineItemPollContent
- Wires the poll answer click listeners all the way to the TimelinePresenter in order to call the new room API
- Shows question as message summary in long press menu

Closes https://github.com/vector-im/element-meta/issues/2025
2023-08-30 15:05:11 +00:00
David Langley
10060c4476 lint 2023-08-30 12:55:50 +01:00
David Langley
5aeff965b1 Merge branch 'develop' of https://github.com/vector-im/element-x-android into feature/dla/emojibase_integration 2023-08-30 12:48:38 +01:00
David Langley
a5d42f61fa Fix tests and improve structure of CustomReactionState
- Fix tests
- Improve structure of CustomReactionState
2023-08-30 12:47:31 +01:00
Benoit Marty
cbe9c27880
Merge pull request #1177 from vector-im/feature/bma/analyticsSettingLink
Fix issue on analytics setting link
2023-08-30 11:16:46 +02:00
Jorge Martín
c3f49a2451 Split link text into a ListSupportingText component.
This also requires some internal changes to `ListSupportingText`, `ClickableLinkText` and `TimelineTextView` to match the behaviour and design.
2023-08-30 09:33:53 +02:00
Florian Renaud
0b88dac719 Fix test compilation 2023-08-30 09:31:55 +02:00
Florian Renaud
48413bd508
Merge pull request #1161 from vector-im/feature/fre/polls_timeline_item_tests
[Polls] Add unit tests for TimelineItemContentPollFactory
2023-08-30 08:32:21 +02:00
Marco Romano
633d5282d6
"Create poll" UI (#1143)
NB: This is missing analytics, which will be added once https://github.com/matrix-org/matrix-analytics-events/pull/85 is merged.

Closes https://github.com/vector-im/element-meta/issues/2011
2023-08-29 22:31:21 +02:00
Florian Renaud
992050c832 Factorize code and remove unused field in TimelineItemPollContent 2023-08-29 16:02:06 +02:00
Florian Renaud
9c6a5bed54 Add unit tests for TimelineItemContentPollFactory 2023-08-29 16:00:18 +02:00
David Langley
1d57d4500c Fix test compilation. 2023-08-28 20:15:00 +01:00
David Langley
6a91521604 Use CommonStrings 2023-08-28 18:20:48 +01:00
David Langley
a3e9f66614 lint 2023-08-28 18:11:17 +01:00
David Langley
bab8119fb9 Merge branch 'develop' of https://github.com/vector-im/element-x-android into feature/dla/emojibase_integration 2023-08-28 17:03:00 +01:00
David Langley
ce4c12ce74 Integrate emojibase
- Integrate emojibase datasource
- Use element category translations
- Use Material emoji category logos
2023-08-28 16:45:42 +01:00
Benoit Marty
5f7c1e9545 Move module features.analytics.test to services.analytics.test. FakeAnalyticsService was not implemented at the correct location. 2023-08-28 14:31:36 +02:00
Benoit Marty
55255735d7
Merge branch 'develop' into feature/bma/dataObject 2023-08-28 10:56:02 +02:00
Benoit Marty
89f1492233 Remove translation with issue. Will be synced later. 2023-08-25 12:50:53 +02:00
Benoit Marty
8415826a97 Import strings with Localazy. 2023-08-25 12:15:06 +02:00
Florian Renaud
f185bb75bf
Merge pull request #1141 from vector-im/bugfix/fre/improve_timestamp_position
Improve timestamp rendering for poll event content
2023-08-25 10:45:23 +02:00
Florian Renaud
2dc2f7c521 cleanup 2023-08-25 10:12:21 +02:00
Florian Renaud
a9846c95e8 Rename modifier 2023-08-25 09:36:21 +02:00
Florian Renaud
dab331b9bf Rename TimestampPosition.Above to Overlay 2023-08-25 09:30:05 +02:00
Florian Renaud
20bd7764ef Add default timestamp position 2023-08-25 09:07:10 +02:00
Florian Renaud
2a29c67b96 Improve timestamp rendering for poll event content 2023-08-25 09:07:10 +02:00
Florian Renaud
e6490b3a89 Merge remote-tracking branch 'origin/develop' into feature/fre/improve_poll_event_timeline_rendering 2023-08-24 14:42:16 +02:00
Benoit Marty
7083abcf09 migrate object to data object (#1135) 2023-08-24 09:32:44 +02:00
renovate[bot]
53840c1009
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.46 (#1130)
* Update dependency org.matrix.rustcomponents:sdk-android to v0.1.46

* Remove poll end code. The poll end event isn't shown in the timeline anymore.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Marco Romano <marcor@element.io>
2023-08-24 06:43:05 +00:00
Benoit Marty
bc57a03a39 Add setting entry point to manage account (OIDC) 2023-08-23 12:54:22 +02:00