VoileLockerLuggage (VoileLockerLuggage v0.2.2)

Copy Markdown View Source

Voile Locker & Luggage plugin.

Provides locker management for visitor check-in flows. Each node can independently enable or disable the locker system and configure how many lockers are available.

Features

  • Per-node locker enable/disable toggle
  • Configurable locker count per node
  • Auto-assign available locker during visitor check-in
  • Manual locker assignment and release by staff
  • Locker status: available, occupied, maintenance, reserved
  • Session history with timestamps and release tracking
  • Admin management UI at /manage/plugins/locker_luggage/

Summary

Functions

check_in_panels_hook(payload)

@spec check_in_panels_hook(map()) :: map()

Hook handler for :visitor_check_in_panels.

Receives a payload map from the core check-in LiveView after a successful check-in. If this node has lockers available, appends a {VoileLockerLuggage.CheckInPanel, assigns} entry to payload.panels and sets payload.auto_close_ms to 30 000 so the modal stays open long enough for the visitor to respond.

Returns the payload unchanged if lockers are not enabled or unavailable.

hooks()

metadata()

on_activate()

on_deactivate()

on_install()

on_uninstall()

on_update(old_version, new_version)

routes()

settings_schema()