Commit graph

75 commits

Author SHA1 Message Date
Benoit Marty
16056ef787 Rename PollAnswerItem.isDisclosed to PollAnswerItem.showVotes for clarity.
Indeed the value is set to true for disclosed poll or if poll is ended.
2024-03-26 17:42:34 +01:00
Jorge Martin Espinosa
f4e5934d1b
Fix Poll history 'Load more' button alignment (#2577)
* Fix Poll history 'Load more' button alignment

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-21 11:51:43 +00:00
Jorge Martin Espinosa
4c14ac822e
Added empty state to banned member list (#2541)
* Added empty state to banned member list

* Center both empty states in `RoomMemberListView` and `PollHistoryView`

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-13 15:04:43 +00:00
Benoit Marty
691e293e86 Fix text alignment on empty poll view. 2024-03-12 10:51:28 +01:00
Benoit Marty
df32534045 PollHistoryView: add UI test. 2024-03-08 17:24:00 +01:00
Benoit Marty
08d952bf18 PollHistoryView: add preview for empty list. 2024-03-08 16:19:58 +01:00
ElementBot
f2169aaaa8
Sync Strings (#2484)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-03-05 09:10:47 +01:00
bmarty
4f81fe2090 Sync Strings from Localazy 2024-02-29 13:48:26 +00:00
Benoit Marty
e87ae0930c Stop using consumeItemsUntilPredicate 2024-02-28 15:28:23 +01:00
bmarty
5c8be8f61f Sync Strings from Localazy 2024-02-26 18:17:16 +00:00
Benoit Marty
b9933acf98 Sync Localazy strings - including post treatment.
./tools/localazy/downloadStrings.sh --all
2024-02-23 17:45:22 +01:00
Benoit Marty
a7e38f0925 Sync Localazy strings.
./tools/localazy/downloadStrings.sh --all
2024-02-23 12:23:11 +01:00
Jorge Martin Espinosa
b69cb8175a
Update Compound to v0.0.5 and update icons (#2380)
Update Compound to `v0.0.5`:

- Make sure we fix all the breaking changes.
- Update some icons to use the compound version instead.
-Replace icons with their Compound counterparts when possible.
- Clean up unused icons.
- Fix issues with incorrect icons or sizes being used after replacing the temporary icons with the Compound ones.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-12 16:41:58 +00:00
bmarty
03c95555e3 Sync Strings from Localazy 2024-02-05 00:09:59 +00:00
ElementBot
6bc080c279
Sync Strings (#2230)
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2024-01-15 09:21:04 +01:00
Benoit Marty
5d086ad82d Fix moar ktlint issues 2024-01-11 10:02:10 +01:00
renovate[bot]
c8bd362397
Update plugin ktlint to v12.1.0 (#2200)
* Update plugin ktlint to v12.1.0

* Run `./gradlew ktlintFormat` and fix some issues manually.

* Fix other issues reproted by Ktlint

* Limit false positives, KtLint removes unnecessary curly brace in String templates.

* Remove useless Unit

* Minor improvements over ktlint changes

* Restore `AlertDialogContent` behaviour

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-10 16:22:24 +01:00
bmarty
e6f4a7364f Sync Strings from Localazy 2023-12-26 09:39:48 +01:00
Benoit Marty
7273abd42b
Merge pull request #2041 from element-hq/feature/fga/fix_timeline_back_pagination_loop
Fix timeline back pagination loop in encrypted room.
2023-12-21 15:42:23 +01:00
ganfra
921e9d2ca4
Merge pull request #2059 from element-hq/feature/fga/appyx_overlay
Appyx Overlay
2023-12-20 11:17:23 +01:00
ganfra
c4dc024c63 Fix detekt 2023-12-19 12:59:13 +01:00
ganfra
78bd6915c7 BackstackParentNode now become BaseFlowNode and adds Overlay navModel into it. 2023-12-19 12:55:14 +01:00
Benoit Marty
cde8e0df25
Merge pull request #2040 from element-hq/feature/bma/fixLinkify
fix linkify
2023-12-18 14:51:14 +01:00
bmarty
e60508a631 Sync Strings from Localazy 2023-12-18 00:10:14 +00:00
Benoit Marty
dca7edd977 Fix more test. 2023-12-15 21:08:50 +01:00
ganfra
f961d81eb0 Timeline : uniqueId exposed as String directly from matrix module. 2023-12-15 14:48:49 +01:00
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