feat: Adds sensible heat ratio for projects, adds initial view / forms to the rooms tab.

This commit is contained in:
2026-01-06 12:19:14 -05:00
parent 5fcc5b88fa
commit 8fb313fddc
12 changed files with 165 additions and 100 deletions

View File

@@ -36,7 +36,11 @@ struct ProjectView: HTML, Sendable {
}
}
case .rooms:
try await RoomsView(projectID: projectID, rooms: database.rooms.fetch(projectID))
try await RoomsView(
projectID: projectID,
rooms: database.rooms.fetch(projectID),
sensibleHeatRatio: database.projects.getSensibleHeatRatio(projectID)
)
case .effectiveLength:
try await EffectiveLengthsView(