From eca91affe359f0e869a52bc6aa3492a800a33e67 Mon Sep 17 00:00:00 2001
From: hokiepokedad2 <38219945+hokiepokedad2@users.noreply.github.com>
Date: Wed, 19 Aug 2026 09:35:00 -0400
Subject: [PATCH] fix(where): Places matches the site, and places can be made
in place
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Style
The page used a mat-list; every comparable page in the app uses a card grid
with an accent bar, skeleton loaders and a dashed empty state. It now matches
Geofences, which is the closest sibling. The pin appears as the first card
rather than a banner above the list, because it IS a place — the unnamed one
every alert falls back to — and a separate treatment said otherwise. Its
accent and icon are muted, since it is the fallback and not a choice.
Dead end
The scope picker's empty state read "Add one from the location menu", naming
a menu removed when Places became a page. Wrong in all eleven locales.
Rather than just correct the words, the select now ends with Add a place: it
opens the map picker, asks for a name, saves and selects it. Creating a place
is only ever wanted at that exact moment, and sending someone to another
screen lost the alarm they were mid-edit on — thirteen steps across two
contexts, down to eight in one.
Also added a check that reads the keys templates ask for and asserts each
exists in en.json, then that every locale carries them. Parity against
English cannot catch a key English is missing too, which is how NAV.PLACES
went absent from all eleven. It reports two pre-existing gaps, COMMON.ERROR
and COMMON.SAVED, left alone here.
---
.../app/modules/places/places.component.html | 92 ++++++---
.../app/modules/places/places.component.scss | 177 +++++++++++++++---
.../app/modules/places/places.component.ts | 8 +-
.../where-sheet/where-sheet.component.html | 6 +-
.../where-sheet/where-sheet.component.ts | Bin 5144 -> 7397 bytes
.../ClientApp/src/assets/i18n/da.json | 4 +-
.../ClientApp/src/assets/i18n/de.json | 4 +-
.../ClientApp/src/assets/i18n/en.json | 4 +-
.../ClientApp/src/assets/i18n/es.json | 4 +-
.../ClientApp/src/assets/i18n/fr.json | 4 +-
.../ClientApp/src/assets/i18n/it.json | 4 +-
.../ClientApp/src/assets/i18n/nl.json | 4 +-
.../ClientApp/src/assets/i18n/pl.json | 4 +-
.../ClientApp/src/assets/i18n/pt-BR.json | 4 +-
.../ClientApp/src/assets/i18n/pt.json | 4 +-
.../ClientApp/src/assets/i18n/sv.json | 4 +-
CHANGELOG.md | 2 +
17 files changed, 262 insertions(+), 67 deletions(-)
diff --git a/Applications/Pgan.PoracleWebNet.App/ClientApp/src/app/modules/places/places.component.html b/Applications/Pgan.PoracleWebNet.App/ClientApp/src/app/modules/places/places.component.html
index 64fa6319..681a40df 100644
--- a/Applications/Pgan.PoracleWebNet.App/ClientApp/src/app/modules/places/places.component.html
+++ b/Applications/Pgan.PoracleWebNet.App/ClientApp/src/app/modules/places/places.component.html
@@ -3,47 +3,83 @@