Add filter facets, new-to-Helios flag, and original-style student cards

This commit is contained in:
Ian Gulliver
2026-08-15 23:07:09 -07:00
parent dcb6266493
commit b4baa415f8
9 changed files with 411 additions and 31 deletions
+1
View File
@@ -50,6 +50,7 @@ func LoadModel(source data.Source) (*Model, error) {
IsStaff: row["Is Staff?"] == "TRUE",
IsParent: row["Is Parent?"] == "TRUE",
IsStudent: row["Is Student?"] == "TRUE",
IsNew: row["Is Totally New"] == "TRUE",
Pronouns: row["Pronouns"],
Facts: row["Facts"],
PronunciationURL: blobURL("people", email, "pronunciation", row["Pronunciation"]),
+1
View File
@@ -8,6 +8,7 @@ type Person struct {
IsStaff bool `json:"isStaff"`
IsParent bool `json:"isParent"`
IsStudent bool `json:"isStudent"`
IsNew bool `json:"isNew,omitempty"`
Pronouns string `json:"pronouns,omitempty"`
Facts string `json:"facts,omitempty"`
PronunciationURL string `json:"pronunciationUrl,omitempty"`