Commit Graph

87 Commits

Author SHA1 Message Date
Alfonso Grillo 4d245575d5 Improve SegmentedPicker UI 2023-02-06 12:36:31 +01:00
Flavio Alescio 30daef4be1 removed view from viewModel 2023-02-01 12:41:05 +01:00
Flavio Alescio 5946ffb8e2 fix embedding pattern 2023-02-01 11:15:22 +01:00
Flavio Alescio 2f51f66d5e code restyle for poll detail 2023-01-31 16:03:38 +01:00
Flavio Alescio 9d0f5c208b added alert to show possible error, improved tests 2023-01-27 17:10:16 +01:00
Flavio Alescio f0f56c0b69 Merge branch 'develop' into flescio/1040-poll_detail
# Conflicts:
#	Riot/Generated/Strings.swift
#	RiotSwiftUI/Modules/Room/PollHistory/Coordinator/PollHistoryCoordinator.swift
#	RiotSwiftUI/Modules/Room/PollHistory/PollHistoryModels.swift
#	RiotSwiftUI/Modules/Room/PollHistory/PollHistoryViewModel.swift
2023-01-27 15:22:15 +01:00
Flavio Alescio 5ea70aacd8 added view in timeline action, added tests 2023-01-27 15:07:32 +01:00
Alfonso Grillo a9f12947d4 Use Calendar to compute target dates 2023-01-26 15:16:48 +01:00
Alfonso Grillo a83075f2f3 Fix alert presentation 2023-01-26 14:52:33 +01:00
Alfonso Grillo 10e10dccb4 Improve tests 2023-01-26 10:29:30 +01:00
Alfonso Grillo 694112e6de Cleanup unused code 2023-01-26 10:14:26 +01:00
Alfonso Grillo f280692d49 Improve error handling 2023-01-26 10:09:47 +01:00
Alfonso Grillo a6aec43601 Refine timestamp logics 2023-01-26 10:09:28 +01:00
Alfonso Grillo a1ae97fa73 Add UTs 2023-01-25 20:16:24 +01:00
Alfonso Grillo 838bdc0629 Add ui tests 2023-01-25 19:58:02 +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 7494eb66e5 Add alert on error 2023-01-25 18:40:09 +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 6cd2c04fa4 Remove dynamic poll updates 2023-01-25 16:14:41 +01:00
Alfonso Grillo b2ff25c7cb Restore default constants 2023-01-25 16:06:16 +01:00
Alfonso Grillo 997f706340 Disable load more button if needed 2023-01-25 16:04:47 +01:00
Flavio Alescio a9059d1e9c Merge branch 'develop' into flescio/1040-poll_detail
# Conflicts:
#	Riot/Assets/en.lproj/Vector.strings
#	Riot/Generated/Strings.swift
2023-01-25 15:49:40 +01:00
Alfonso Grillo 94ca5e3ccc Add live synced days 2023-01-25 15:12:19 +01:00
Alfonso Grillo 1f953c8a93 Disable load more button when there is no content 2023-01-25 12:56:36 +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
Flavio Alescio 05caf71d5b added view poll in timeline button 2023-01-25 10:27:21 +01:00
Alfonso Grillo 46f4381426 Update tests 2023-01-24 12:25:27 +01:00
Alfonso Grillo 865f2c5245 Refactor next() -> nextBatch() 2023-01-24 10:47:58 +01:00
Alfonso Grillo 7a5a5f4c93 Refactor TimelinePollAnswerOptionButton 2023-01-24 10:42:45 +01:00
Alfonso Grillo 22cca234be Add emptyPollsText in the view model 2023-01-24 09:49:12 +01:00
Alfonso Grillo 024cc528e1 Update RiotSwiftUI/Modules/Room/PollHistory/View/PollHistory.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2023-01-24 09:28:38 +01:00
Alfonso Grillo 3097be5799 Localize load more button 2023-01-24 09:27:20 +01:00
Alfonso Grillo 8d3d0fd5da Rename update poll method 2023-01-24 09:22:57 +01:00
Flavio Alescio f509a1a172 added real event 2023-01-23 17:36:11 +01:00
Flavio Alescio c8ecc927eb some fix for models 2023-01-23 17:13:33 +01:00
Alfonso Grillo 65e2078ce5 Fix UT 2023-01-23 16:46:52 +01:00
Flavio Alescio a34efa497b embedding swiftUI view 2023-01-23 16:38:55 +01:00
Flavio Alescio 84e8d879bd added poll detail scene with mock data 2023-01-23 16:38:53 +01:00
Alfonso Grillo b47acc7388 Rename private var 2023-01-23 16:05:01 +01:00
Alfonso Grillo 913e5de806 Cleanup 2023-01-23 16:02:26 +01:00
Alfonso Grillo 2105058277 Cleanup 2023-01-23 15:31:44 +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