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.

AreaConfiguration
Routesconfiguration.centers.new · configuration.centers.edit
Centre modulesforeground_location
Staff levelsroot · admin · manager · scmanager
Modelsapp-module-flame · app-module-location · module-social-wifi
UI labelconfiguration.center.flame / configuration.center.location
Coverage3 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

  1. Admin enables location, sets a radius in metres and ticks push notifications and coupon exchange.
  2. Saves; on-location pushes and location-gated coupons now work in the app.

Failure paths

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


Generated from doc/feature-inventory.json · id config-social-wifi-location · commit 276788ca6