-
Notifications
You must be signed in to change notification settings - Fork 9
Conversation
|
Changes LGTM: I'm able to search by an order ID and an address (full match). I hope, it will be fixed in #747 |
Thanks @elena-zh for the feedback, Then I think it is best to keep the URL |
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.
Looking good, loved the tests
Good idea updating the text placeholder. We should also update the header
And, I think we should change the behaviour a little bit when nothing is found.
With this PR, it goes to /search/whatever and we show the 404 page
But I think the best would be to update and use the currect /order/whatever path on /search/whatever
Same thing that you did here, update the texts/placeholders and use that on search
What do you think of that?
It might be fixed by that, only if you are already in the network you want. The "ultimate" fix would be to implement the address search like we have for order ids #711 In any case, at this point I'm ok not having that in favor of releasing it |
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.
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.
Looks and
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.
Looks and works fine!
(Only one comment regarding search box on order not found page)
@alfetopito I have tried to go for the |
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.
Awesome
Not for this release, we really need it out, but maybe we can hint somehow the network the user is looking for orders. For example, I used an account that only traded in Rinkeby, I looked for One small thing we can do is to change the message to make sure the user is aware of the network he/she is in. Ideally with a way to switch networks easily. Probably this could be connected to the network switcher task. Additionally, and as a good to have, the search algorithm could do exactly what the find by id is doing:
EXAMPLE:
|
@anxolin I think the approach is great!
@alfetopito can I create a PR for this? @elena-zh it's done! |
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.
Thanks!
Yes, please! This is actually one of the follow ups I mentioned. Very good to have but not a blocker for the release |
Summary
Closes #691
Proposal:
OrderId
andAddress Account
To Test
2.1 Search by Address account -> i.e:
0x04a66cbba0485d7b21af836f52b711401300fddb
2.2 Search by Order Id -> i.e:
0x88537c74a03c324464d6c269d99b29e7289b105766c5368f77c76c241e1d5da8b6bad41ae76a11d10f7b0e664c5007b908bc77c9615b2dac