Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the menu for all locations at once #2

Open
okdistribute opened this issue May 18, 2023 · 1 comment
Open

Change the menu for all locations at once #2

okdistribute opened this issue May 18, 2023 · 1 comment

Comments

@okdistribute
Copy link
Contributor

okdistribute commented May 18, 2023

Value

A menu should be accessible for each location. You should be able to change the menu using the HTTP API.

curl https://app_id.cloud.ditto.live -X POST --data '{
   // menu here
}'

HTTP -> Big Peer -> Restaurant Small Peer (POS/KDS)

This mimics what customers want to do with ditto in their restaurants.

Solution

This is not necessarily a feature of the POS app, but the menu will need to be generated from a collection in Ditto. It's okay if the first pass of this is simple, as long is it is in Ditto, we can demo updating the menu using the HTTP API. Neil or Riley will handle that HTTP API request example.

SkyService for example has this "populate" button. You can use insertDefaultIfAbsent to create an initial menu for the restaurant when you pick a restaurant location.

After the app loads,

  1. User picks restaurant location
  2. Insert "default" menu. This should happen automatically without pressing a button. In skyservice this was unnecessarily complex and needed to be trained, but wasn't giving any value.
@okdistribute okdistribute changed the title change the menu for all locations at once Change the menu for all locations at once Jun 5, 2023
@okdistribute
Copy link
Contributor Author

Out of scope for Q3

@okdistribute okdistribute transferred this issue from another repository Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant