220 Commits

Author SHA1 Message Date
Benoit Marty
d6ada81bcd Merge pull request #2040 from element-hq/feature/bma/fixLinkify
fix linkify
2023-12-18 14:51:14 +01:00
bmarty
96dd875f3d Sync Strings from Localazy 2023-12-18 00:10:14 +00:00
Benoit Marty
b8b37e85d9 Fix more test. 2023-12-15 21:08:50 +01:00
ganfra
7fc0ac1ced Timeline : uniqueId exposed as String directly from matrix module. 2023-12-15 14:48:49 +01:00
Benoit Marty
b231f0851b Format 2023-12-14 16:58:42 +01:00
ganfra
3ceb2599d8 Merge branch 'develop' into julioromano/poll_history_entry_point 2023-12-14 15:17:13 +01:00
ganfra
5d91697be0 Fix tests and warnings 2023-12-14 13:13:11 +01:00
ganfra
72cdc0eee0 Merge branch 'develop' into julioromano/poll_history_entry_point 2023-12-13 17:22:55 +01:00
ganfra
055eb43708 Poll history : add tests and fix others 2023-12-13 16:20:01 +01:00
ganfra
6020bf7b44 Poll history : add empty state 2023-12-12 16:44:30 +01:00
ganfra
01ec3e85e4 PollHistory : use the regular timeline instead of pollHistory timeline as not working properly. 2023-12-12 16:17:05 +01:00
ganfra
ba13164b41 Poll history : branch edit flow 2023-12-12 15:35:52 +01:00
ganfra
e5080765b2 Poll history : use localazy strings 2023-12-12 14:36:07 +01:00
ganfra
424e9e266e Poll history : use pager to keep scrolling state when switching filter 2023-12-12 14:24:41 +01:00
Benoit Marty
d31909e049 Sync localazy using fixed script 2023-12-08 19:24:35 +01:00
ganfra
6203459fa5 PollHistory : use the new PollHistoryState in the view 2023-12-06 19:28:37 +01:00
ganfra
79d59eb5de PollHistory : simplify so we only have one Node. Also enrich PollHistoryState. 2023-12-06 19:27:50 +01:00
ganfra
67ec58a4f4 Polls: share logic around PollContent 2023-12-05 14:06:59 +01:00
Benoit Marty
ef5927d0bc Merge pull request #1952 from vector-im/sync-localazy
Sync Strings
2023-12-05 13:47:44 +01:00
Benoit Marty
b43ddd36b9 Run the script again. 2023-12-05 12:25:59 +01:00
Benoit Marty
45883975c4 Add Konsist test to check that assertThat is imported, and fix existing issues. 2023-12-04 15:18:01 +01:00
bmarty
ad2ca01094 Sync Strings from Localazy 2023-12-04 00:09:56 +00:00
Marco Romano
61b623041b WIP: Poll History 2023-12-01 09:28:07 +01:00
Jorge Martin Espinosa
c739ebc0ee 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
ecc44f3d13 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
7926995c24 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
8ae8853c15 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
a8b85fb4e6 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
634d8167ea 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
Marco Romano
202173c8e3 Update poll icons from Compound (#1849)
* Use compound icons for polls

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-22 13:35:04 +01:00
Benoit Marty
638186ff5a Progress for LinearProgressIndicator and CircularProgressIndicator are now lambdas. 2023-11-02 14:51:42 +01:00
jonnyandrew
e376feba22 Add analytics for voice messages (#1706) 2023-11-02 09:32:22 +00:00
Benoit Marty
108ce544d7 Konsist: improve test about no default value for State classes, and fix new detected issues. 2023-10-10 21:42:18 +02:00
Marco Romano
295e10e612 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.
2023-09-26 11:19:24 +02:00
Benoit Marty
54fb1e79c5 Merge pull request #1419 from vector-im/sync-localazy
Sync Strings
2023-09-26 10:05:46 +02:00
Marco Romano
20813deeaa 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.
2023-09-25 15:31:10 +00:00
bmarty
e9a7c7bbaf Sync Strings from Localazy 2023-09-25 00:09:17 +00:00
bmarty
4077c5c834 Sync Strings from Localazy 2023-09-21 15:51:21 +00:00
Benoit Marty
d2ca528679 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
426bb5b622 Remove unused resource, and use compound icons when possible. 2023-09-20 16:45:38 +02:00
Benoit Marty
8fedc40008 Remove VectorIcons object, inline the values. 2023-09-20 16:44:59 +02:00
Benoit Marty
d3d9367feb Localazy sync 2023-09-18 16:42:35 +02:00
bmarty
6e5e538724 Sync Strings from Localazy 2023-09-18 00:09:19 +00:00
Marco Romano
44a9da8fbf 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`.
2023-09-15 09:53:17 +02:00
ganfra
455d39c629 Sync Strings from Localazy 2023-09-14 14:38:49 +00:00
Marco Romano
6d6a346369 Change "anonymous" copy in the create poll screen (#1325) 2023-09-14 12:12:49 +02:00
Marco Romano
1fdcdff4b8 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
dfdd8e59f7 Request focus after adding an answer 2023-09-13 16:35:32 +02:00
Marco Romano
b860bd30bd GRemove the @JvmField annotation whenever using WarmUpRule. 2023-09-13 15:19:26 +02:00
Marco Romano
1144cee572 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