Skip to content

Set Current Venue

As a Host, I want to set the current venue the app is being used for, So that the app defaults to the correct venue context for my events and inventory.

  • Given I am using the app
  • When I view the Settings screen
  • Then I can see a “Current Venue” setting
  • And I can select from my list of available venues
  • And the selected venue is displayed as the current venue
  • And the app defaults to “The Lime Factory” if no venue has been set
  • And the current venue setting persists across app sessions
  • And I can change the current venue at any time from Settings

IMPLEMENTED - Current venue selection is available in the Settings screen

Medium - Important for app context and defaults

  • Venue, Settings, AppConfiguration
  • appPreferences.setCurrentVenueId(venueId) - Sets the current venue in app preferences
  • appPreferences.getCurrentVenueId() - Gets the current venue ID (defaults to “lime-factory”)
  • ✅ Added to the Settings screen (shaker/app/(tabs)/settings/index.tsx)
  • ✅ Default venue is “LIME Factory” (venue ID: lime-factory) - set via appPreferences.getCurrentVenueId()
  • ✅ Current venue is stored in AsyncStorage via shaker/utils/appPreferences.ts
  • ✅ Current venue selection uses a Picker component showing all available venues from getVenuePickerOptions()
  • ✅ The current venue setting persists across app sessions using AsyncStorage
  • ✅ The selected venue is displayed below the picker showing “Currently set to: [Venue Name]”
  • The current venue can be used as a default when creating events or managing inventory

Files Created:

  • shaker/utils/appPreferences.ts - Utility for storing/retrieving app preferences (current venue)

Files Modified:

  • shaker/app/(tabs)/settings/index.tsx - Added Current Venue picker section at the top of settings

Dependencies Added:

  • @react-native-async-storage/async-storage - For persistent storage of app preferences

Key Features:

  • Loads current venue on Settings screen mount
  • Defaults to “lime-factory” (LIME Factory) if no venue is set
  • Picker shows all available venues from the venues data
  • Selected venue is saved immediately when changed
  • Current venue name is displayed below the picker