-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: New Design for Creating New Group Conversation Screen to match …
…Design Specs - WPB-11589 (#2036)
- Loading branch information
Showing
90 changed files
with
414 additions
and
338 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-53.2 KB
(24%)
...mages/ConversationCreationControllerSnapshotTests/testForEditingTextField.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+72 KB
.../ConversationCreationControllerSnapshotTests/testTeamGroupOptions.DarkTheme.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+68.5 KB
...ConversationCreationControllerSnapshotTests/testTeamGroupOptions.LightTheme.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-96.3 KB
...tionCreationControllerSnapshotTests/testTeamGroupOptionsCollapsed.DarkTheme.png
Binary file not shown.
Binary file removed
BIN
-96.3 KB
...ionCreationControllerSnapshotTests/testTeamGroupOptionsCollapsed.LightTheme.png
Binary file not shown.
Binary file removed
BIN
-162 KB
.../ConversationCreationControllerSnapshotTests/testTeamGroupOptionsExpanded.1.png
Binary file not shown.
Binary file modified
BIN
-608 Bytes
(99%)
...renceImages/FolderCreationControllerSnapshotTests/testForEditingTextField.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+82.3 KB
(220%)
...sViewControllerSnapshotTests/testForMlsConversation_withNotVerifiedStatus.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+82.3 KB
(220%)
...ailsViewControllerSnapshotTests/testForMlsConversation_withVerifiedStatus.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+75.3 KB
(230%)
...ages/GroupDetailsViewControllerSnapshotTests/testForOptionsForNonTeamUser.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+80.1 KB
(210%)
...iewControllerSnapshotTests/testForOptionsForTeamUserInNonTeamConversation.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+75.6 KB
(230%)
...ollerSnapshotTests/testForOptionsForTeamUserInNonTeamConversation_Partner.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+86.5 KB
(190%)
...lsViewControllerSnapshotTests/testForOptionsForTeamUserInTeamConversation.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+78.2 KB
(220%)
...ontrollerSnapshotTests/testForOptionsForTeamUserInTeamConversation_Admins.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+75.6 KB
(230%)
...ntrollerSnapshotTests/testForOptionsForTeamUserInTeamConversation_Partner.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+77.3 KB
(230%)
...ViewControllerSnapshotTests/testForProteusConversation_withVerifiedStatus.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+74.1 KB
(240%)
...rollerTests/test_Group_BlockingConnectionRequest_MissingLegalHoldConsent1.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+70.1 KB
(260%)
...enceImages/ProfileDetailsViewControllerTests/test_Group_ConnectionRequest.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+63.2 KB
(290%)
...ontrollerTests/test_Group_OtherUserInTeam_ViewerIsGuestFromOtherTeam_SCIM.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+67.5 KB
(260%)
...eDetailsViewControllerTests/test_Group_OtherUserInTeam_ViewerIsGuest_SCIM.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+63.2 KB
(290%)
...ViewControllerTests/test_Group_OtherUserInTeam_ViewerIsGuest_SCIM_NoEmail.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+79.2 KB
(230%)
...etailsViewControllerTests/test_Group_OtherUserInTeam_ViewerIsPartner_SCIM.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+76.4 KB
(240%)
...ewControllerTests/test_Group_OtherUserInTeam_ViewerIsPartner_SCIM_NoEmail.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+67.5 KB
(260%)
...DetailsViewControllerTests/test_Group_OtherUserIsAdmin_ViewerIsGuest_SCIM.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+65.7 KB
(280%)
...rofileDetailsViewControllerTests/test_Group_OtherUserIsExpiringGuest_SCIM.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+64.9 KB
(290%)
...Images/ProfileDetailsViewControllerTests/test_Group_OtherUserIsGuest_SCIM.1.png
Oops, something went wrong.
Binary file modified
BIN
+64.9 KB
(290%)
...DetailsViewControllerTests/test_Group_OtherUserIsGuest_ViewerIsGuest_SCIM.1.png
Oops, something went wrong.
Binary file modified
BIN
+64.9 KB
(290%)
...tailsViewControllerTests/test_Group_OtherUserIsGuest_ViewerIsPartner_SCIM.1.png
Oops, something went wrong.
Binary file modified
BIN
+71.4 KB
(260%)
...es/ProfileDetailsViewControllerTests/test_Group_OtherUserIsPartner_NoSCIM.1.png
Oops, something went wrong.
Binary file modified
BIN
+65.2 KB
(290%)
...leDetailsViewControllerTests/test_Group_OtherUserIsPartner_NoSCIM_NoEmail.1.png
Oops, something went wrong.
Binary file modified
BIN
+81.4 KB
(230%)
...ages/ProfileDetailsViewControllerTests/test_Group_OtherUserIsPartner_SCIM.1.png
Oops, something went wrong.
Binary file modified
BIN
+71.4 KB
(260%)
...tailsViewControllerTests/test_Group_OtherUserIsPartner_ViewerIsGuest_SCIM.1.png
Oops, something went wrong.
Binary file modified
BIN
+65.2 KB
(290%)
...wControllerTests/test_Group_OtherUserIsPartner_ViewerIsGuest_SCIM_NoEmail.1.png
Oops, something went wrong.
Binary file modified
BIN
+81.4 KB
(230%)
...ilsViewControllerTests/test_Group_OtherUserIsPartner_ViewerIsPartner_SCIM.1.png
Oops, something went wrong.
Binary file modified
BIN
+78.4 KB
(230%)
...ontrollerTests/test_Group_OtherUserIsPartner_ViewerIsPartner_SCIM_NoEmail.1.png
Oops, something went wrong.
Binary file modified
BIN
+67.5 KB
(260%)
...renceImages/ProfileDetailsViewControllerTests/test_Group_OtherUser_NoSCIM.1.png
Oops, something went wrong.
Binary file modified
BIN
+63.2 KB
(290%)
...ges/ProfileDetailsViewControllerTests/test_Group_OtherUser_NoSCIM_NoEmail.1.png
Oops, something went wrong.
Binary file modified
BIN
+79.2 KB
(230%)
...ferenceImages/ProfileDetailsViewControllerTests/test_Group_OtherUser_SCIM.1.png
Oops, something went wrong.
Binary file modified
BIN
+64.2 KB
(290%)
...erenceImages/ProfileDetailsViewControllerTests/test_Group_SelfUser_NoSCIM.1.png
Oops, something went wrong.
Binary file modified
BIN
+76.9 KB
(230%)
...eferenceImages/ProfileDetailsViewControllerTests/test_Group_SelfUser_SCIM.1.png
Oops, something went wrong.
Binary file modified
BIN
+81.1 KB
(230%)
...ilsViewControllerTests/test_Group_UserAndViewerAreGuestsFromSameTeam_SCIM.1.png
Oops, something went wrong.
Binary file modified
BIN
+78.1 KB
(230%)
...ontrollerTests/test_Group_UserAndViewerAreGuestsFromSameTeam_SCIM_NoEmail.1.png
Oops, something went wrong.
Binary file modified
BIN
+81 KB
(220%)
...ProfileDetailsViewControllerTests/test_Group_ViewIsAdmin_OtherIsFederated.1.png
Oops, something went wrong.
Binary file modified
BIN
+81.3 KB
(230%)
...fileDetailsViewControllerTests/test_Group_ViewIsNotAdmin_OtherIsFederated.1.png
Oops, something went wrong.
Binary file modified
BIN
+87.4 KB
(200%)
...s/ProfileDetailsViewControllerTests/test_Group_ViewerIsAdmin_OtherIsAdmin.1.png
Oops, something went wrong.
Binary file modified
BIN
+89.3 KB
(200%)
...eDetailsViewControllerTests/test_Group_ViewerIsAdmin_OtherIsExternalAdmin.1.png
Oops, something went wrong.
Binary file modified
BIN
+86.1 KB
(200%)
...rofileDetailsViewControllerTests/test_Group_ViewerIsAdmin_OtherIsNotAdmin.1.png
Oops, something went wrong.
Binary file modified
BIN
+81.8 KB
(220%)
...eDetailsViewControllerTests/test_Group_ViewerIsAdmin_OtherIsWirelessAdmin.1.png
Oops, something went wrong.
Binary file modified
BIN
+81.8 KB
(220%)
.../ProfileDetailsViewControllerTests/test_Group_ViewerIsMember_OtherIsAdmin.1.png
Oops, something went wrong.
Binary file modified
BIN
+79.1 KB
(230%)
...tailsViewControllerTests/test_OneToOne_OtherUserInTeam_ViewerIsGuest_SCIM.1.png
Oops, something went wrong.
Binary file modified
BIN
+72.4 KB
(240%)
...wControllerTests/test_OneToOne_OtherUserInTeam_ViewerIsGuest_SCIM_NoEmail.1.png
Oops, something went wrong.
Binary file modified
BIN
+88.1 KB
(210%)
...ilsViewControllerTests/test_OneToOne_OtherUserInTeam_ViewerIsPartner_SCIM.1.png
Oops, something went wrong.
Binary file modified
BIN
+86.1 KB
(210%)
...ontrollerTests/test_OneToOne_OtherUserInTeam_ViewerIsPartner_SCIM_NoEmail.1.png
Oops, something went wrong.
Binary file modified
BIN
+76.7 KB
(240%)
...ges/ProfileDetailsViewControllerTests/test_OneToOne_OtherUserIsGuest_SCIM.1.png
Oops, something went wrong.
Binary file modified
BIN
+81.1 KB
(230%)
...ailsViewControllerTests/test_OneToOne_OtherUserIsGuest_ViewerIsGuest_SCIM.1.png
Oops, something went wrong.
Binary file modified
BIN
+76.7 KB
(240%)
...ControllerTests/test_OneToOne_OtherUserIsGuest_ViewerIsGuest_SCIM_NoEmail.1.png
Oops, something went wrong.
Binary file modified
BIN
+76.7 KB
(240%)
...lsViewControllerTests/test_OneToOne_OtherUserIsGuest_ViewerIsPartner_SCIM.1.png
Oops, something went wrong.
Binary file modified
BIN
+81.6 KB
(230%)
...ProfileDetailsViewControllerTests/test_OneToOne_OtherUserIsPartner_NoSCIM.1.png
Oops, something went wrong.
Binary file modified
BIN
+77.2 KB
(240%)
...etailsViewControllerTests/test_OneToOne_OtherUserIsPartner_NoSCIM_NoEmail.1.png
Oops, something went wrong.
Binary file modified
BIN
+89.5 KB
(210%)
...s/ProfileDetailsViewControllerTests/test_OneToOne_OtherUserIsPartner_SCIM.1.png
Oops, something went wrong.
Binary file modified
BIN
+81.4 KB
(230%)
...lsViewControllerTests/test_OneToOne_OtherUserIsPartner_ViewerIsGuest_SCIM.1.png
Oops, something went wrong.
Binary file modified
BIN
+77 KB
(240%)
...ntrollerTests/test_OneToOne_OtherUserIsPartner_ViewerIsGuest_SCIM_NoEmail.1.png
Oops, something went wrong.
Binary file modified
BIN
+89.4 KB
(210%)
...ViewControllerTests/test_OneToOne_OtherUserIsPartner_ViewerIsPartner_SCIM.1.png
Oops, something went wrong.
Binary file modified
BIN
+88.2 KB
(210%)
...rollerTests/test_OneToOne_OtherUserIsPartner_ViewerIsPartner_SCIM_NoEmail.1.png
Oops, something went wrong.
Binary file modified
BIN
+79.1 KB
(230%)
...ceImages/ProfileDetailsViewControllerTests/test_OneToOne_OtherUser_NoSCIM.1.png
Oops, something went wrong.
Binary file modified
BIN
+72.4 KB
(240%)
.../ProfileDetailsViewControllerTests/test_OneToOne_OtherUser_NoSCIM_NoEmail.1.png
Oops, something went wrong.
Binary file modified
BIN
+88.1 KB
(210%)
...enceImages/ProfileDetailsViewControllerTests/test_OneToOne_OtherUser_SCIM.1.png
Oops, something went wrong.
Binary file modified
BIN
+73.1 KB
(230%)
...nceImages/ProfileDetailsViewControllerTests/test_OneToOne_SelfUser_NoSCIM.1.png
Oops, something went wrong.
Binary file modified
BIN
+86.6 KB
(210%)
...renceImages/ProfileDetailsViewControllerTests/test_OneToOne_SelfUser_SCIM.1.png
Oops, something went wrong.
Binary file modified
BIN
+64.9 KB
(290%)
...ges/ProfileDetailsViewControllerTests/test_ProfileViewer_OtherUserIsGuest.1.png
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 57 additions & 0 deletions
57
wire-ios/Wire-iOS/Sources/UserInterface/Components/Views/SectionFooterView.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
// | ||
// Wire | ||
// Copyright (C) 2024 Wire Swiss GmbH | ||
// | ||
// This program is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU General Public License as published by | ||
// the Free Software Foundation, either version 3 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// This program is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU General Public License for more details. | ||
// | ||
// You should have received a copy of the GNU General Public License | ||
// along with this program. If not, see http://www.gnu.org/licenses/. | ||
// | ||
|
||
import UIKit | ||
import WireDesign | ||
|
||
final class SectionFooterView: UIView { | ||
|
||
let titleLabel = DynamicFontLabel( | ||
style: .subline1, | ||
color: SemanticColors.Label.textSectionFooter | ||
) | ||
|
||
override init(frame: CGRect) { | ||
super.init(frame: frame) | ||
setupViews() | ||
createConstraints() | ||
} | ||
|
||
@available(*, unavailable) | ||
required init?(coder aDecoder: NSCoder) { | ||
fatalError("init(coder:) has not been implemented") | ||
} | ||
|
||
private func setupViews() { | ||
titleLabel.translatesAutoresizingMaskIntoConstraints = false | ||
titleLabel.numberOfLines = 0 | ||
titleLabel.lineBreakMode = .byWordWrapping | ||
titleLabel.textColor = SemanticColors.Label.textSectionFooter | ||
addSubview(titleLabel) | ||
} | ||
|
||
private func createConstraints() { | ||
NSLayoutConstraint.activate([ | ||
titleLabel.trailingAnchor.constraint(equalTo: trailingAnchor, constant: -16), | ||
titleLabel.leadingAnchor.constraint(equalTo: leadingAnchor, constant: 16), | ||
titleLabel.topAnchor.constraint(equalTo: topAnchor, constant: 8), | ||
titleLabel.bottomAnchor.constraint(equalTo: bottomAnchor, constant: -16) | ||
]) | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
wire-ios/Wire-iOS/Sources/UserInterface/Components/Views/SectionTableFooter.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
// | ||
// Wire | ||
// Copyright (C) 2024 Wire Swiss GmbH | ||
// | ||
// This program is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU General Public License as published by | ||
// the Free Software Foundation, either version 3 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// This program is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU General Public License for more details. | ||
// | ||
// You should have received a copy of the GNU General Public License | ||
// along with this program. If not, see http://www.gnu.org/licenses/. | ||
// | ||
|
||
import UIKit | ||
import WireDesign | ||
|
||
final class SectionTableFooter: UITableViewHeaderFooterView { | ||
|
||
private let footerView = SectionFooterView() | ||
|
||
var titleLabel: UILabel { | ||
return footerView.titleLabel | ||
} | ||
|
||
override init(reuseIdentifier: String?) { | ||
super.init(reuseIdentifier: reuseIdentifier) | ||
addSubview(footerView) | ||
footerView.translatesAutoresizingMaskIntoConstraints = false | ||
footerView.fitIn(view: self) | ||
} | ||
|
||
@available(*, unavailable) | ||
required init?(coder aDecoder: NSCoder) { | ||
fatalError("init?(coder aDecoder: NSCoder) is not implemented") | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.