Open siemiatj opened 5 years ago
websocket.org
server, you can use ws, or any other package.{
id,
name,
}
First, when creating your dev environment (https://github.com/metasfresh/metasfresh-webui-frontend/blob/master/README.md#dev-environment) point your configs to https://dev667.metasfresh.com/
instead of localhost
. Credentials to authenticate are:
devtest1234
demo1234
This is a dev instance with only basic test data added, so you can play around there without breaking things.
{ id: 1, name: 'Test' }
is sent from the test server, app stores it in the redux state
Is this a bug or feature request?
Feature
What is the current behavior?
Together with @metas-ts we've decided there must be a way of notifying the application about changes to data without altering the current UI. So plan is to have new websocket requests that will be stored in the app state available for the app to check.
Which are the steps to reproduce?
What is the expected or desired behavior?
Example flow (just to get the basic idea of what we're trying to accomplish) would be as follows :