feat: Moves vendor branch views to their own files, starts to implement snapshot testing for html

This commit is contained in:
2025-01-21 09:51:11 -05:00
parent 40726c8bd7
commit 97b231767e
15 changed files with 231 additions and 71 deletions

View File

@@ -117,11 +117,13 @@ enum IDKey: CustomStringConvertible {
}
enum Branch: CustomStringConvertible {
case list
case form
case row(id: VendorBranch.ID)
var description: String {
switch self {
case .list: return "list"
case .form: return "form"
case let .row(id): return id.uuidString
}
@@ -148,7 +150,7 @@ enum IDKey: CustomStringConvertible {
var description: String {
switch self {
case let .content: return "content"
case .content: return "content"
case let .row(id): return "\(id)"
case .search: return "search"
case .table: return "table"