Require valid table ID on load For some venues, especially add to bill there's a small…
- User
Require valid table ID on load For some venues, especially add to bill there's a small risk that with the store link people can place orders when they're not at the venue. Let's add a setting to the venue, requireTableId. If true, then on loading the store with out a tableId param, we should redirect to a new route '/scan' where we show a message asking the user to scan the qr code again.
The use case is for when the user has left the venue and goes back to the web page or similar for these venues we want them to have to scan (to prevent adding to a bill). So we need to consider the existing table storage implementation, i.e. if it's saved in localstorage or in vuex then they shouldn't have to scan again, not just the presence in the url
Przygotuj możliwe scenariusze testów. Zadaj dodatkowe pytania.
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.