Refactor and redesign Location Sharing Screen (#5155)
* refactored the static location screen to the location sharing screen # Conflicts: # UnitTests/Sources/LocationSharingScreenViewModelTests.swift # Conflicts: # ElementX.xcodeproj/project.pbxproj * implemented a custom pin with an overlayable view * implemented the render of the user when the location is sender instead of the pin type * removed description and body they are not used at all. * reimplemented single button for sharing this or user location + implemented an experimental way to update annotations * removed unnecessary @Suite description * implemented a way to display the alert on top of the sheet and added a spinner to the center user location button * fixed alerts strings * fixed a failing test * improved preview tests
This commit is contained in:
@@ -303,6 +303,10 @@ extension AccessibilityTests {
|
||||
try await performAccessibilityAudit(named: "LocationRoomTimelineView_Previews")
|
||||
}
|
||||
|
||||
func testLocationSharingScreen() async throws {
|
||||
try await performAccessibilityAudit(named: "LocationSharingScreen_Previews")
|
||||
}
|
||||
|
||||
func testLoginScreen() async throws {
|
||||
try await performAccessibilityAudit(named: "LoginScreen_Previews")
|
||||
}
|
||||
@@ -695,10 +699,6 @@ extension AccessibilityTests {
|
||||
try await performAccessibilityAudit(named: "StateRoomTimelineView_Previews")
|
||||
}
|
||||
|
||||
func testStaticLocationScreenViewer() async throws {
|
||||
try await performAccessibilityAudit(named: "StaticLocationScreenViewer_Previews")
|
||||
}
|
||||
|
||||
func testStickerRoomTimelineView() async throws {
|
||||
try await performAccessibilityAudit(named: "StickerRoomTimelineView_Previews")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user