ganfra
a2c5cdf483
Poll history : use localazy strings
9 months ago
ganfra
7307e0fb13
Poll history : use pager to keep scrolling state when switching filter
9 months ago
Benoit Marty
39cca2ce09
Sync localazy using fixed script
10 months ago
ganfra
891c05a99c
PollHistory : use the new PollHistoryState in the view
10 months ago
ganfra
aa9693126f
PollHistory : simplify so we only have one Node. Also enrich PollHistoryState.
10 months ago
ganfra
4a2cbb1ed4
Polls: share logic around PollContent
10 months ago
Benoit Marty
24d3981261
Run the script again.
10 months ago
Benoit Marty
fa590202c3
Add Konsist test to check that `assertThat` is imported, and fix existing issues.
10 months ago
bmarty
fced91addb
Sync Strings from Localazy
10 months ago
Marco Romano
d0d73e04c1
WIP: Poll History
10 months ago
Jorge Martin Espinosa
ba4d3a70c7
Try to make all collections used in Compose code immutable ( #1922 )
...
* Try to make all collections used in Compose code immutable.
Mark sealed interfaces as `@Immutable` too
* Add gradle code to check the compose compiler reports
* Fix some more unstable classes
10 months ago
jonnyandrew
4e43a93dde
Confirm back navigation when editing a poll only if the poll was changed ( #1886 )
...
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
10 months ago
jonnyandrew
a0548dfdc4
Add option to delete a poll while editing the poll ( #1895 )
...
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
10 months ago
ElementBot
12b3196471
Sync Strings ( #1892 )
...
* Sync Strings from Localazy
---------
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
Co-authored-by: jonnyandrew <jonnya@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
10 months ago
Jorge Martin Espinosa
087d2728d5
Extract compound tokens and theming to `compound-android` library ( #1888 )
...
* Replace tokens & icons with the external Compound ones
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
10 months ago
jonnyandrew
8fcec4a006
Allow polls to be edited ( #1869 )
...
Polls can be edited if they do not have any votes
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
10 months ago
Marco Romano
60f58f9915
Update poll icons from Compound ( #1849 )
...
* Use compound icons for polls
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
10 months ago
Benoit Marty
250389633b
Progress for LinearProgressIndicator and CircularProgressIndicator are now lambdas.
11 months ago
jonnyandrew
dab5e0d0ca
Add analytics for voice messages ( #1706 )
11 months ago
Benoit Marty
4338d821e5
Konsist: improve test about no default value for State classes, and fix new detected issues.
12 months ago
Marco Romano
2e6581a5ad
Show poll creator view in timeline ( #1429 )
...
- Shows edit/end poll buttons when the user is the creator of the poll.
- Only the end poll button is wired right now as there is no "edit poll" screen yet.
1 year ago
Marco Romano
f4b46aa2bb
Push TimelineEvents further down the UI tree. ( #1424 )
...
So that timeline items don't have to route their callback all the way down to TimelinePresenter.
1 year ago
bmarty
c72bb92ef2
Sync Strings from Localazy
1 year ago
bmarty
a7ce12d91d
Sync Strings from Localazy
1 year ago
Benoit Marty
0e4c146e87
Detekt: Rename `DayNightPreviews` to `PreviewsDayNight` to follow naming convention.
...
MultiPreview annotations should start with `Previews` as prefix
1 year ago
Benoit Marty
03d69146aa
Remove unused resource, and use compound icons when possible.
1 year ago
Benoit Marty
c652606f56
Remove VectorIcons object, inline the values.
1 year ago
Benoit Marty
0453ea5904
Localazy sync
1 year ago
bmarty
d2f9b02bbf
Sync Strings from Localazy
1 year ago
Marco Romano
50c7892eab
Make PollContentView a11y friendly
...
Improves a bit how screen readers read polls in the timeline.
- Adds a few `contentDescription` so that talkback reads “poll” or “ended poll” before the poll question.
- Changes the compose structure of the answers so that they are properly scanned by the screen reader. This meant getting rid of the `IconToggleButton` which was made redundant by the use of the `selectable`.
1 year ago
ganfra
b382993cbb
Sync Strings from Localazy
1 year ago
Marco Romano
819b82533d
Change "anonymous" copy in the create poll screen ( #1325 )
1 year ago
Jorge Martín
f456eea0e4
Request focus after adding an answer
1 year ago
Marco Romano
7fdd83bf91
GRemove the @JvmField annotation whenever using `WarmUpRule`.
1 year ago
Marco Romano
21e25e93e1
Poll Creation: Switch focus to newly added option field when clicking "Add option".
...
- Also scrolls the list to make the "Add option" button visible for further additions.
1 year ago
Marco Romano
9932bc7ed3
Improve ListItem logical item grouping
1 year ago
Marco Romano
b960892f09
Set proper progress indicator track color on polls ( #1295 )
...
Not yet a semantic color, so hardcoding it.
1 year ago
Marco Romano
8abaee8708
Polls analytics ( #1285 )
...
Send poll analytics event (creation, vote, end) where appropriate.
1 year ago
Marco Romano
a4c9c55a8b
New icons for Poll and Poll end ( #1280 )
...
Now both icons come from our designs and have a consistent size and padding (previously the poll one was coming from the material icons).
1 year ago
jonnyandrew
9e5b46200b
Reduce test flakiness by warming up molecule tests ( #1226 )
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
Marco Romano
50869d7b28
Focus on question field when opening screen. ( #1194 )
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
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
Benoit Marty
7083abcf09
migrate `object` to `data object` ( #1135 )
1 year ago
Florian Renaud
29cd8f287f
Add missing modifier
1 year ago
Florian Renaud
8657a5dfac
Rename previews
1 year ago
Florian Renaud
bb2f5a1330
Render ended poll with winning answers
1 year ago