Configuration · Social wifi & location services
Configures the centre’s social wifi (Flame: network SSID and security type — open, WEP, WPA or PEAP) so the app can connect customers, and the location features: a geofence radius and which location-triggered features are on (coupon exchange, push notifications, store polls), plus foreground location.
| Area | Configuration |
| Routes | configuration.centers.new · configuration.centers.edit |
| Centre modules | foreground_location |
| Staff levels | root · admin · manager · scmanager |
| Models | app-module-flame · app-module-location · module-social-wifi |
| UI label | configuration.center.flame / configuration.center.location |
| Coverage | 3 use cases · 1 happy · 3 failure |
How it works
Validation follows the module pattern: Flame enabled requires an SSID; location enabled requires a positive radius; and handleLocationCheckboxChange requires at least one of the three location features (configuration.center.location.enabled-error-message). Location settings are what make ‘on-location’ push notifications and location-based coupon exchange work, and foreground location adds calculated_income / calculated_postal_code to customer exports.
Use cases
Why someone opens this (3)
- Auto-joining app users to the centre’s wifi.
- Sending a push when customers arrive inside the geofence.
- Only allowing coupon redemption when the customer is physically at the centre.
Path map
flowchart LR F(["Social wifi and location services"]):::feat F --> H1["Geofenced features enabled"]:::ok F -.-> X1["Wifi without SSID"]:::bad F -.-> X2["Location without radius"]:::bad F -.-> X3["Location with no feature ticked"]:::bad classDef feat fill:#566066,stroke:#566066,color:#ffffff,font-weight:bold classDef ok fill:#e3f1ea,stroke:#0d6b42,color:#0d4a2e classDef bad fill:#f7e6e2,stroke:#9a2d1c,color:#6e1f13
Happy paths
Geofenced features enabled
- Admin enables location, sets a radius in metres and ticks push notifications and coupon exchange.
- Saves; on-location pushes and location-gated coupons now work in the app.
Failure paths
Wifi without SSID
Cause — Flame enabled, SSID blank.
What happens —
required+configuration.center.flame.ssid.
Location without radius
Cause — Radius blank or not greater than zero.
What happens —
required+configuration.center.location.location-radius.
Location with no feature ticked
Cause — All three sub-options off.
What happens —
configuration.center.location.enabled-error-message.
QA checklist
Tick these off while regression-testing this feature. The boxes are plain Markdown, so progress is visible in git diffs.
- ✅ Geofenced features enabled
- ⛔ Wifi without SSID
- ⛔ Location without radius
- ⛔ Location with no feature ticked
Implementation
app/models/app-module-flame.jsapp/models/app-module-location.jsapp/models/module-social-wifi.jsapp/enums/wifi-security-types.jsapp/controllers/configuration/centers/new.js
Translation keys (10)
Key English configuration.center.flameFlame configuration.center.flame.ssidWIFI’s Name configuration.center.flame.securityTypeSecurity type configuration.center.locationLocation configuration.center.location.coupon-exchangeCoupon exchange configuration.center.location.push-notificationsPush notifications configuration.center.location.shop-pollVoting in store configuration.center.location.enabled-error-messageYou should select at least one option configuration.center.foreground-locationForeground location wifi-security-type.openOpen
Related
- Same area — Centre list & export · Centre editor (modules, app config, integrations) · Staff member list, deletion & restore · Staff member editor (levels, scope, API token) · Channels · Extra attributes · Email template preview & test send · Dashboard configuration · Influence zones · Server incidents · Server command runner (CLI) · Accessibility statement · Mobile app configuration · Customer login methods (Google, Facebook) · Third-party integrations & connectors
- Behind the same module — Push notification editor (scheduling, geofencing, deep links)
Generated from doc/feature-inventory.json · id config-social-wifi-location · commit 276788ca6