-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Admin] Add single channel dashboard #5086
[Admin] Add single channel dashboard #5086
Conversation
91f687f
to
9f31aaa
Compare
And then 2 more customers have placed 2 orders for total of "€459.00" | ||
When I open administration dashboard | ||
Then I should see 6 new orders | ||
And I should see 6 new customers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3 customers + 2 customers != 6 customers (I know there's also an admin, but it seems werid)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, but that's the flaw in our entire app, so I have no other way currently. :)
The context of "new" customers and orders seems weird to me, as there's no such thing in code right now. |
@pamil Yeah, I noticed that too, but I think it is not worth removing it, as I will add per channel / date filtering for this dashboard, so both provider interface and the logic will change. :) |
* | ||
* @return int | ||
*/ | ||
private function getPriceFromString($price) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really need this method? It is context, so why can't we use a lexical context?
b45a33a
to
084228d
Compare
084228d
to
2861261
Compare
Looks nice! Please apply @lchrusciel comments in a separate PR 😉 |
Todo:
Future improvements (got the template - see first commit):