-
Notifications
You must be signed in to change notification settings - Fork 12
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
[mobile] Scanning API fixes #194
Comments
@agritheory I think I'll need more context on both these points.
Do you have an example component I can check for the setup?
Should it always go to the same route, or be configurable to go to other routes per scan-type? |
Regression on however this is exposed:
https://github.com/agritheory/beam/blob/version-15/beam/beam/scan/__init__.py#L162
If the scan action from the listview is "route", it should change the route, otherwise I think we should implement the reactive list filter here as well. UI work: agritheory/stonecrop#179 |
So the The following should work for you currently: window.scanner.simulate(window, '<barcode_string>')
Should the route maps be defined in hooks as well? Since the actual list of routes is defined there? We should probably have a 404 catch-all page as well in case a route somehow doesn't exist. |
Ah, I am used to using document here but this makes sense.
I don't think we need to do that. This is function of the scanning matrix unless I'm misunderstanding your question.
Good idea, let's do it. I'll put in a ticket. |
This issue isn't close to solved. Scanning does correctly interact with any ListView component at this time. |
Oh my bad, I think I accidentally made it to be auto-closed after the PR was merged. I just wanted to connect this issue with the PR. |
add_or_increment
function does not call the appropriatedetails
API to get the rest of the information.route
and filter` functions need to call the API to refresh the list.The text was updated successfully, but these errors were encountered: