Benoit Marty
6ef288c26d
Rename parameter and update comment.
1 year ago
Benoit Marty
74fc570708
Composable functions that return a value should start with a lowercase letter
1 year ago
Benoit Marty
1cffbbdca7
Apply colors to default user avatar in the timeline.
1 year ago
Benoit Marty
e301d60648
Compute avatar color of users and apply foreground color to the sender displayname.
1 year ago
Benoit Marty
9bf3521f39
Compute avatar color of users and apply foreground color to the sender displayname.
1 year ago
jmartinesp
74b2ddebfd
Sync Strings from Localazy
1 year ago
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).
1 year ago
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
1 year ago
Jorge Martin Espinosa
47a0ecb3b8
Protect `TimelineItemAspectRatioBox` against `Float.NaN` ( #1201 )
...
* Protect `TimelineItemAspectRatioBox` against infinite values.
1 year ago
David Langley
b16faeceba
Fix FakeEmojibaseProvider
1 year ago
David Langley
ecf2d06928
Fix colon aligment and load emojis lazily.
...
- Fix colon aligment
- Load emojis lazily.
1 year ago
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
1 year ago
David Langley
10060c4476
lint
1 year ago
David Langley
a5d42f61fa
Fix tests and improve structure of CustomReactionState
...
- Fix tests
- Improve structure of CustomReactionState
1 year ago
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.
1 year ago
Florian Renaud
0b88dac719
Fix test compilation
1 year ago
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
1 year ago
Florian Renaud
992050c832
Factorize code and remove unused field in TimelineItemPollContent
1 year ago
Florian Renaud
9c6a5bed54
Add unit tests for TimelineItemContentPollFactory
1 year ago
David Langley
1d57d4500c
Fix test compilation.
1 year ago
David Langley
6a91521604
Use CommonStrings
1 year ago
David Langley
a3e9f66614
lint
1 year ago
David Langley
ce4c12ce74
Integrate emojibase
...
- Integrate emojibase datasource
- Use element category translations
- Use Material emoji category logos
1 year ago
Benoit Marty
5f7c1e9545
Move module `features.analytics.test` to `services.analytics.test`. `FakeAnalyticsService` was not implemented at the correct location.
1 year ago
Benoit Marty
89f1492233
Remove translation with issue. Will be synced later.
1 year ago
Benoit Marty
8415826a97
Import strings with Localazy.
1 year ago
Florian Renaud
2dc2f7c521
cleanup
1 year ago
Florian Renaud
a9846c95e8
Rename modifier
1 year ago
Florian Renaud
dab331b9bf
Rename TimestampPosition.Above to Overlay
1 year ago
Florian Renaud
20bd7764ef
Add default timestamp position
1 year ago
Florian Renaud
2a29c67b96
Improve timestamp rendering for poll event content
1 year ago
yostyle
eefecaec8b
Update strings
1 year ago
yostyle
82c8acd3dc
Update strings
1 year ago
Benoit Marty
7083abcf09
migrate `object` to `data object` ( #1135 )
1 year ago
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>
1 year ago
Benoit Marty
bc57a03a39
Add setting entry point to manage account (OIDC)
1 year ago
Florian Renaud
dec41460ed
Fix winning answers detection
1 year ago
Florian Renaud
962571bec1
Fix lint
1 year ago
Jorge Martin Espinosa
1922c505ef
Make links in messages clickable again ( #1115 )
1 year ago
Florian Renaud
ed62286eb8
Fix poll enabled condition
1 year ago
Florian Renaud
bb2f5a1330
Render ended poll with winning answers
1 year ago
Florian Renaud
246e9c50e6
Do not handle poll end event
1 year ago
Florian Renaud
d59349184f
Rename progress variable to percentage
1 year ago
Florian Renaud
df1be4f6b1
Update option progress when selected
1 year ago
Florian Renaud
079d89ace5
Update UI for poll in the timeline
1 year ago
Jorge Martin Espinosa
bfd938a970
Linkify raw links in HTML message contents ( #1102 )
...
* Linkify links in HTML too:
- Creates a `ClickableLinkText` for `String`.
- Adds a `linkify` parameter to the original function, which is `true` by default.
- Does the linkify logic inside that component, if `linkify` is true.
* Add changelog
* Make sure we don't linkify user mentions or room aliases.
* Use remember to avoid re-processing the text for no reason.
1 year ago
Benoit Marty
fdc08518a5
Migrate from `com.google.accompanist.flowlayout.FlowRow` (deprecated) to `androidx.compose.foundation.layout.FlowRow`
...
https://google.github.io/accompanist/flowlayout/
1 year ago
ElementBot
ef8a60b657
Sync Strings from Localazy ( #1098 )
...
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
1 year ago
Jorge Martin Espinosa
6a4a4ebf26
Fix rendering of inline elements in list items in messages ( #1091 )
...
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
Benoit Marty
946d8cd660
Fix loing sender name displayed on several lines ( #1033 )
1 year ago