bitshares / bitshares/bitshares-ui
UI doesn't show more than 100 open orders for users
- Dominant language
- JavaScript
- Stars
- 520
- Forks
- 575
- Avg merge
- 12h 7m
- Merged PRs (30d)
- 5
Description
**Describe the bug**
BitShares-Core 3.2 introduced some [changes about the get_full_accounts API]( https://github.com/bitshares/bitshares-core/releases/tag/3.2.0#api). One of the consequence is current UI doesn't show more than 100 open orders for users by default. To fix this, need to call the [`get_limit_orders_by_account` API](https://github.com/bitshares/bitshares-core/blob/5d25fb456186bbc15e42163f952edeb3fd0fd6a8/libraries/app/include/graphene/app/database_api.hpp#L434-L451) to query for more orders (the API will be available in bitshare-core 4.0).
**To Reproduce**
Steps to reproduce the behavior:
1. create more than 100 limit orders
2. UI doesn't show all of them
Contributor guide
Research direction
Start by reproducing the issue with more than 100 limit orders, then inspect the UI entry point that retrieves a user's open orders. Read the referenced get_limit_orders_by_account API documentation and verify that the UI displays all returned orders; done means users can see more than 100 open orders.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- api, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100