Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Site Domains: Modernize UI 2/2 - Integrate status and navigation to domain details #22311

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -198,15 +198,4 @@ extension SiteDomainsViewModel {
let footer: String?
let content: SectionKind
}

struct MessageStateViewModel {
let title: String
let description: String
let button: Button?

struct Button {
let title: String
let action: () -> Void
}
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏 It's great this level of test coverage!

Original file line number Diff line number Diff line change
@@ -183,9 +183,3 @@ extension SiteDomainsViewModel.Section.Row: Equatable {
return lhs.id == rhs.id && lhs.viewModel == rhs.viewModel
}
}

extension SiteDomainsViewModel.MessageStateViewModel: Equatable {
public static func == (lhs: SiteDomainsViewModel.MessageStateViewModel, rhs: SiteDomainsViewModel.MessageStateViewModel) -> Bool {
return lhs.title == rhs.title && lhs.description == rhs.description
}
}