Knocked Preview implementation (#3426)

* JoinRoomScreen ui for knocking

* code improvement

* updated previews

* added knocked state with tests

* send knock request

* Apply suggestions from code review

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>

* pr comments

* update tests

* new API

* knock implementation and cancel knock

* update strings

* added a knocked cell in the home screen

* design update

* updated SDK

* simplified the invite case code

* pr comments

* updated previews

* added message as reason

* updated strings

* fixing tests

---------

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
This commit is contained in:
Mauro
2024-10-24 17:23:06 +02:00
committed by GitHub
parent 7d373c07a3
commit 2511c98090
48 changed files with 492 additions and 120 deletions
@@ -245,6 +245,12 @@ extension PreviewTests {
}
}
func test_homeScreenKnockedCell() {
for preview in HomeScreenKnockedCell_Previews._allPreviews {
assertSnapshots(matching: preview)
}
}
func test_homeScreenRecoveryKeyConfirmationBanner() {
for preview in HomeScreenRecoveryKeyConfirmationBanner_Previews._allPreviews {
assertSnapshots(matching: preview)