bitshares / bitshares/bitshares-ui

Account history only requests first 100 items

Open
#1,665 18 comments 1 reaction 0 assignees View on GitHub
[3] Feature
Dominant language
JavaScript
Stars
520
Forks
575
Avg merge
12h 7m
Merged PRs (30d)
5

Description

**Describe the bug**
Account history (activity) page only tries to get the first 100 items of history, regardless of server capacity.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to "Activity" tab of dashboard
2. The page only loads 100 items
3. Clicking on the arrow at the bottom doesn't trigger further loading action

**Expected behavior**
UI should try to load more history.

**Desktop (please complete the following information):**
N/A

**Smartphone (please complete the following information):**
N/A

**Additional context**
Related code:
https://github.com/bitshares/bitshares-ui/blob/ad40a31fd4fc042f25445f0d71b8cbdf8c89ee84/app/components/Account/RecentTransactions.jsx#L174-L183
https://github.com/bitshares/bitshares-ui/blob/ad40a31fd4fc042f25445f0d71b8cbdf8c89ee84/app/components/Account/RecentTransactions.jsx#L241-L247

Related issue:
#1349 was also related to only loading first 100 items, but the processing logic may be different.

Contributor guide

Open the contributing guide

Research direction

Start in app/components/Account/RecentTransactions.jsx at lines 174-183 and 241-247, then reproduce the Activity tab behavior described in the issue. Compare the related processing in issue #1349. Done means the bottom arrow triggers loading beyond the first 100 history items.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.