Commit Graph

94 Commits

Author SHA1 Message Date
Arnfried Griesert 51e98cfe61 merged element 1.10.12 into bum 2023-06-07 15:45:59 +02:00
Frank Rotermund 5179eecaa1 Feature/4383 poll participants details 2023-05-31 14:31:07 +00:00
Frank Rotermund 260c8de584 Feature/4393 poll with visible participant p1 2023-05-25 13:52:30 +00:00
Nicolas Mauri 3bd413f579 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 b563043b19 Fix: TimelinePoll code refactoring 2023-04-26 17:52:22 +02:00
Nicolas Mauri 782ad8465c Fix: allow to render a TimelinePoll even if the poll is loading 2023-04-26 10:14:44 +02:00
Arnfried Griesert 8f8741c903 More tint color changes 2023-03-06 22:11:23 +01:00
Alfonso Grillo 18d202f3bd Improve SegmentedPicker UI 2023-02-06 12:36:31 +01:00
Flavio Alescio 14c96a78b0 removed view from viewModel 2023-02-01 12:41:05 +01:00
Flavio Alescio 5b7bfc5642 fix embedding pattern 2023-02-01 11:15:22 +01:00
Flavio Alescio 7b4333e9af code restyle for poll detail 2023-01-31 16:03:38 +01:00
Flavio Alescio bb384f837e added alert to show possible error, improved tests 2023-01-27 17:10:16 +01:00
Flavio Alescio 4e4ad5074c 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 21eafa2383 added view in timeline action, added tests 2023-01-27 15:07:32 +01:00
Alfonso Grillo 1598c56e9f Use Calendar to compute target dates 2023-01-26 15:16:48 +01:00
Alfonso Grillo 7a6e6199e4 Fix alert presentation 2023-01-26 14:52:33 +01:00
Alfonso Grillo c98510d786 Improve tests 2023-01-26 10:29:30 +01:00
Alfonso Grillo cc728954d9 Cleanup unused code 2023-01-26 10:14:26 +01:00
Alfonso Grillo 96aca0b99d Improve error handling 2023-01-26 10:09:47 +01:00
Alfonso Grillo c7b4692112 Refine timestamp logics 2023-01-26 10:09:28 +01:00
Alfonso Grillo 214500ab12 Add UTs 2023-01-25 20:16:24 +01:00
Alfonso Grillo fcdf77e48b Add ui tests 2023-01-25 19:58:02 +01:00
Alfonso Grillo 74254315f2 Add more MockPollHistoryScreenState cases 2023-01-25 19:41:48 +01:00
Alfonso Grillo 684a5d03dc Improve MockPollHistoryScreenState 2023-01-25 19:21:56 +01:00
Alfonso Grillo 844da02c74 Add alert on error 2023-01-25 18:40:09 +01:00
Alfonso Grillo 9408efebbc Cleanup code 2023-01-25 18:19:48 +01:00
Alfonso Grillo d2c6506ac6 Handle live polls 2023-01-25 17:52:39 +01:00
Alfonso Grillo bbd1ab7a96 Fix pagination reset 2023-01-25 16:23:38 +01:00
Alfonso Grillo 2bc460f7e5 Remove dynamic poll updates 2023-01-25 16:14:41 +01:00
Alfonso Grillo 2e2705ed77 Restore default constants 2023-01-25 16:06:16 +01:00
Alfonso Grillo b0dab86871 Disable load more button if needed 2023-01-25 16:04:47 +01:00
Flavio Alescio a8c82abd35 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 95b09afc51 Add live synced days 2023-01-25 15:12:19 +01:00
Alfonso Grillo 245758e6eb Disable load more button when there is no content 2023-01-25 12:56:36 +01:00
Alfonso Grillo 7582668aa8 Handle number of batches / last batch 2023-01-25 12:35:51 +01:00
Alfonso Grillo 412452952c Support load more in PollHistoryService 2023-01-25 12:06:04 +01:00
Flavio Alescio 9199407f2f added view poll in timeline button 2023-01-25 10:27:21 +01:00
Alfonso Grillo ce626bfb6f Update tests 2023-01-24 12:25:27 +01:00
Alfonso Grillo c5f649a530 Refactor next() -> nextBatch() 2023-01-24 10:47:58 +01:00
Alfonso Grillo c974add57d Refactor TimelinePollAnswerOptionButton 2023-01-24 10:42:45 +01:00
Alfonso Grillo 85c2cf3323 Add emptyPollsText in the view model 2023-01-24 09:49:12 +01:00
Alfonso Grillo 78c0744f0a 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 ee43787857 Localize load more button 2023-01-24 09:27:20 +01:00
Alfonso Grillo 77d0bc65e5 Rename update poll method 2023-01-24 09:22:57 +01:00
Flavio Alescio 6cbc6df94f added real event 2023-01-23 17:36:11 +01:00
Flavio Alescio 2708a932ee some fix for models 2023-01-23 17:13:33 +01:00
Alfonso Grillo 5415b94aa6 Fix UT 2023-01-23 16:46:52 +01:00
Flavio Alescio a5487f91fa embedding swiftUI view 2023-01-23 16:38:55 +01:00
Flavio Alescio 333cba0606 added poll detail scene with mock data 2023-01-23 16:38:53 +01:00
Alfonso Grillo a4e2db4d55 Rename private var 2023-01-23 16:05:01 +01:00