Get App State
Return the current state of the Trip Planner: whether a trip is loaded, current currency, grounding toggles, and saved trip count.
When to Use
- Applicable across all screen sizes and devices.
How to Use
Location: Top navigation bar (currency, grounding toggles), 'Saved Trips' section (count), and main content area (if a trip is loaded).
- Look at the top right of the navigation bar to see the currently selected currency (e.g., 'USD', 'EUR').
- In the 'Settings' or 'Preferences' menu, check the status of the 'Google Search Grounding' and 'Google Maps Grounding' toggles.
- In the 'Saved Trips' section, observe the number of trips listed.
- If a trip is loaded, the main content area will display its details; otherwise, the 'Plan a New Trip' form will be visible.
What to Expect
You see the current currency, grounding toggle states, count of saved trips, and whether a trip is actively loaded.
Prerequisites
- None
Limitations
- Shows the current state at the moment of viewing, not historical data.