Skip to content
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

yourBids: add filter by bid status #363

Merged
merged 2 commits into from
Jun 13, 2021
Merged

yourBids: add filter by bid status #363

merged 2 commits into from
Jun 13, 2021

Conversation

chikeichan
Copy link
Contributor

getBids will re-index every bids calling wallet.getNameStateByName. This limits network/rpc even locally, as even local rpc call is still a web request that adds overhead. I perf tested this with a wallet that has about 9k bid history on almost as many names, and the loading time with filter feels the same as loading time without filters.

bidfilter

Copy link

@RobertLowe RobertLowe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was unable to test this, causes the app not to load. When running the npm package and bob.app.

I can run other branches without issue

const itemsPerPage = await dbClient.get(YOUR_BIDS_ITEMS_PER_PAGE_KEY);

console.log(this.props.match.params.filterType)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove console.log statement

@rithvikvibhu
Copy link
Collaborator

@RobertLowe Are there any errors when running bob.app in a terminal? Also does npm run dev work?

@RobertLowe
Copy link

@rithvikvibhu nothing, it just hangs

Screen Shot 2021-06-13 at 4 53 24 AM

@RobertLowe
Copy link

dev loads

Screen Shot 2021-06-13 at 4 55 55 AM

@chikeichan
Copy link
Contributor Author

i was able to build successfully with node@12.13.1 and npm@6.12.1. You might have to nuke node_modules and reinstall again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants