Benoit Marty
dc678ebc48
Format
2023-12-14 16:58:42 +01:00
ganfra
5ac3f273ea
Merge branch 'develop' into julioromano/poll_history_entry_point
2023-12-14 15:17:13 +01:00
ganfra
bb7123afbd
Fix tests and warnings
2023-12-14 13:13:11 +01:00
ganfra
863d156e4d
Merge branch 'develop' into julioromano/poll_history_entry_point
2023-12-13 17:22:55 +01:00
ganfra
6378f6cffe
Poll history : add tests and fix others
2023-12-13 16:20:01 +01:00
ganfra
8f1e1398f2
Poll history : add empty state
2023-12-12 16:44:30 +01:00
ganfra
5282e1c5c5
PollHistory : use the regular timeline instead of pollHistory timeline as not working properly.
2023-12-12 16:17:05 +01:00
ganfra
3be1267033
Poll history : branch edit flow
2023-12-12 15:35:52 +01:00
ganfra
a2c5cdf483
Poll history : use localazy strings
2023-12-12 14:36:07 +01:00
ganfra
7307e0fb13
Poll history : use pager to keep scrolling state when switching filter
2023-12-12 14:24:41 +01:00
Benoit Marty
39cca2ce09
Sync localazy using fixed script
2023-12-08 19:24:35 +01:00
ganfra
891c05a99c
PollHistory : use the new PollHistoryState in the view
2023-12-06 19:28:37 +01:00
ganfra
aa9693126f
PollHistory : simplify so we only have one Node. Also enrich PollHistoryState.
2023-12-06 19:27:50 +01:00
ganfra
4a2cbb1ed4
Polls: share logic around PollContent
2023-12-05 14:06:59 +01:00
Benoit Marty
b98351ec36
Merge pull request #1952 from vector-im/sync-localazy
...
Sync Strings
2023-12-05 13:47:44 +01:00
Benoit Marty
24d3981261
Run the script again.
2023-12-05 12:25:59 +01:00
Benoit Marty
fa590202c3
Add Konsist test to check that assertThat is imported, and fix existing issues.
2023-12-04 15:18:01 +01:00
bmarty
fced91addb
Sync Strings from Localazy
2023-12-04 00:09:56 +00:00
Marco Romano
d0d73e04c1
WIP: Poll History
2023-12-01 09:28:07 +01:00
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
2023-11-29 15:02:08 +00:00
jonnyandrew
4e43a93dde
Confirm back navigation when editing a poll only if the poll was changed ( #1886 )
...
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-28 15:33:49 +00:00
jonnyandrew
a0548dfdc4
Add option to delete a poll while editing the poll ( #1895 )
...
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-28 13:25:18 +00:00
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>
2023-11-28 09:52:23 +01:00
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>
2023-11-27 10:30:07 +01:00
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>
2023-11-24 16:47:58 +00:00
jonnyandrew
dab5e0d0ca
Add analytics for voice messages ( #1706 )
2023-11-02 09:32:22 +00:00
Benoit Marty
4338d821e5
Konsist: improve test about no default value for State classes, and fix new detected issues.
2023-10-10 21:42:18 +02:00
bmarty
c72bb92ef2
Sync Strings from Localazy
2023-09-25 00:09:17 +00:00
bmarty
a7ce12d91d
Sync Strings from Localazy
2023-09-21 15:51:21 +00:00
Benoit Marty
0e4c146e87
Detekt: Rename DayNightPreviews to PreviewsDayNight to follow naming convention.
...
MultiPreview annotations should start with `Previews` as prefix
2023-09-21 08:30:36 +02:00
Benoit Marty
03d69146aa
Remove unused resource, and use compound icons when possible.
2023-09-20 16:45:38 +02:00
Benoit Marty
c652606f56
Remove VectorIcons object, inline the values.
2023-09-20 16:44:59 +02:00
Benoit Marty
0453ea5904
Localazy sync
2023-09-18 16:42:35 +02:00
bmarty
d2f9b02bbf
Sync Strings from Localazy
2023-09-18 00:09:19 +00:00
ganfra
b382993cbb
Sync Strings from Localazy
2023-09-14 14:38:49 +00:00
Marco Romano
819b82533d
Change "anonymous" copy in the create poll screen ( #1325 )
2023-09-14 12:12:49 +02:00
Marco Romano
49c723e3b2
Poll Creation: Switch focus to newly added option field when clicking "Add option". #1294
...
Poll Creation: Switch focus to newly added option field when clicking "Add option".
2023-09-13 16:59:17 +02:00
Jorge Martín
f456eea0e4
Request focus after adding an answer
2023-09-13 16:35:32 +02:00
Marco Romano
7fdd83bf91
GRemove the @JvmField annotation whenever using WarmUpRule.
2023-09-13 15:19:26 +02:00
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.
2023-09-13 14:12:58 +02:00
Marco Romano
9932bc7ed3
Improve ListItem logical item grouping
2023-09-13 13:43:54 +02:00
Marco Romano
8abaee8708
Polls analytics ( #1285 )
...
Send poll analytics event (creation, vote, end) where appropriate.
2023-09-12 16:03:40 +02:00
jonnyandrew
9e5b46200b
Reduce test flakiness by warming up molecule tests ( #1226 )
2023-09-06 10:08:21 +00:00
jmartinesp
74b2ddebfd
Sync Strings from Localazy
2023-09-05 06:37:36 +00: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
Marco Romano
50869d7b28
Focus on question field when opening screen. ( #1194 )
2023-08-31 12:08: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
Benoit Marty
7083abcf09
migrate object to data object ( #1135 )
2023-08-24 09:32:44 +02:00
Florian Renaud
8a62abe93e
"View only" polls in the timeline ( #1031 )
...
* Handle poll events from the sdk
* Render started poll event in the timeline
* Create poll module
* Check poll kind before revealing the results
* Check if user has voted before revealing the results
* Add active poll previews
* Minor cleanup
* Update todos
* Fix CI
* Remove hardcoded string
* Update preview
* changelog file
* Update screenshots
* Use CommonPlurals
* Set poll root view as selectableGroup
* Improve poll result rendering
* Update screenshots
* Add missing showkase processor
* Update screenshots
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-08-16 14:19:12 +00:00