Commit Graph

1283 Commits

Author SHA1 Message Date
Flavio Alescio 5ea70aacd8 added view in timeline action, added tests 2023-01-27 15:07:32 +01:00
Doug 826165465f Merge branch 'master' into develop 2023-01-26 17:17:17 +00: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
Doug e7ff24c4e7 Fix avatar loading in SwiftUI. 2023-01-26 11:59:19 +00: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
Nicolas Mauri 70325c38e5 Inform the user about decryption errors during a voice broadcast 2023-01-25 17:23:42 +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
Alfonso Grillo 92fdc406a3 Fix TimelinePollAnswerOptionButton layout 2023-01-25 11:41:16 +01:00
Flavio Alescio 05caf71d5b added view poll in timeline button 2023-01-25 10:27:21 +01:00
Gil Eluard 1b56901568 App Layout: Removed the onboarding flow 2023-01-24 21:25:58 +01:00
Alfonso Grillo 774631ff24 Merge pull request #7293 from vector-im/alfogrillo/fetch_poll_history
Fetch poll history (PSG-1043)
2023-01-24 16:31:27 +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 562928507f Refactor PollKind conversion 2023-01-24 09:33:51 +01:00
Alfonso Grillo 18699e4b20 Removing redundant init 2023-01-24 09:31:35 +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
Nicolas Mauri 98b11a773f Merge pull request #7290 from vector-im/nimau/PSF-1630-add_support_msc3912
Implement MSC3912 to delete server side all the data of the deleted voice broadcast
2023-01-24 09:16:55 +01:00
Nicolas Mauri 46eeb6c7cc Fix a crash for some voice broadcast in case of redaction 2023-01-24 09:15:55 +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