Commit Graph

42 Commits

Author SHA1 Message Date
Arnfried Griesert 1c0ef0ca52 merged element 1.10.12 into bum 2023-06-07 15:45:59 +02:00
Frank Rotermund 9bd569dac0 Feature/4383 poll participants details 2023-05-31 14:31:07 +00:00
Frank Rotermund 902b529245 Feature/4393 poll with visible participant p1 2023-05-25 13:52:30 +00:00
Nicolas Mauri 0bc32f0f97 Update RiotSwiftUI/Modules/Room/PollHistory/Service/MatrixSDK/PollHistoryService.swift
Co-authored-by: Alfonso Grillo <alfogrillo@element.io>
2023-04-27 14:55:40 +02:00
Nicolas Mauri 1c45459410 Fix: TimelinePoll code refactoring 2023-04-26 17:52:22 +02:00
Nicolas Mauri 5926dad024 Fix: allow to render a TimelinePoll even if the poll is loading 2023-04-26 10:14:44 +02:00
Alfonso Grillo a9f12947d4 Use Calendar to compute target dates 2023-01-26 15:16:48 +01:00
Alfonso Grillo 694112e6de Cleanup unused code 2023-01-26 10:14:26 +01:00
Alfonso Grillo a6aec43601 Refine timestamp logics 2023-01-26 10:09:28 +01:00
Alfonso Grillo 544c505197 Add more MockPollHistoryScreenState cases 2023-01-25 19:41:48 +01:00
Alfonso Grillo bbf7bad5c3 Improve MockPollHistoryScreenState 2023-01-25 19:21:56 +01:00
Alfonso Grillo c1002c3945 Cleanup code 2023-01-25 18:19:48 +01:00
Alfonso Grillo 2e3aa18f6c Handle live polls 2023-01-25 17:52:39 +01:00
Alfonso Grillo cddf935fa8 Fix pagination reset 2023-01-25 16:23:38 +01:00
Alfonso Grillo b2ff25c7cb Restore default constants 2023-01-25 16:06:16 +01:00
Alfonso Grillo 94ca5e3ccc Add live synced days 2023-01-25 15:12:19 +01:00
Alfonso Grillo aafe903e99 Handle number of batches / last batch 2023-01-25 12:35:51 +01:00
Alfonso Grillo ef19527856 Support load more in PollHistoryService 2023-01-25 12:06:04 +01:00
Alfonso Grillo 865f2c5245 Refactor next() -> nextBatch() 2023-01-24 10:47:58 +01:00
Alfonso Grillo b47acc7388 Rename private var 2023-01-23 16:05:01 +01:00
Alfonso Grillo 3704130262 Add docs 2023-01-23 15:18:58 +01:00
Alfonso Grillo 282ad810b2 Add PollHistory view model UTs 2023-01-23 14:57:34 +01:00
Alfonso Grillo 9b16774d6a Refactor PollHistoryService 2023-01-23 12:09:47 +01:00
Alfonso Grillo 9cc9a046fe Cleanup code 2023-01-23 12:09:47 +01:00
Alfonso Grillo f459f9f22b Optimize page size 2023-01-23 12:09:46 +01:00
Alfonso Grillo 17f20f3964 Cleanup code 2023-01-23 12:09:46 +01:00
Alfonso Grillo 93ae25b998 Improve error handling 2023-01-23 12:09:46 +01:00
Alfonso Grillo 84d0edac0b Improve tests 2023-01-23 12:09:46 +01:00
Alfonso Grillo 69726de367 Add empty screen with number of days 2023-01-23 12:09:46 +01:00
Alfonso Grillo 5d418dff31 Handle poll updates 2023-01-23 12:09:46 +01:00
Alfonso Grillo f5469f36b5 Add pagination loop 2023-01-23 12:09:46 +01:00
Alfonso Grillo aea4770736 Refine loading logic 2023-01-23 12:09:46 +01:00
Alfonso Grillo 729da6d6e3 Add loading view 2023-01-23 12:09:46 +01:00
Alfonso Grillo 1dd11beba3 Add target timestamp 2023-01-23 12:09:46 +01:00
Alfonso Grillo 23ad35aa31 Add id in TimelinePollDetails 2023-01-23 12:09:46 +01:00
Alfonso Grillo 8c572d0bfe Add support to start date 2023-01-23 12:09:46 +01:00
Alfonso Grillo 45e37e2610 Reset pagination on landing 2023-01-23 12:09:46 +01:00
Alfonso Grillo c56d1f3bfe Inject TimelinePollDetails in PollListItem 2023-01-23 12:09:46 +01:00
Alfonso Grillo b582b32827 Begin PollHistoryService 2023-01-23 12:09:46 +01:00
Alfonso Grillo e2799069a5 Improve PollListItem to support ended polls 2023-01-17 16:44:56 +01:00
Alfonso Grillo c3270afc12 Handle empty poll list case 2023-01-12 18:25:06 +01:00
Alfonso Grillo 93cd811fee Add poll history service 2023-01-12 17:59:23 +01:00