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

OfferBook: Show min-max range for amount and volume #4225

Merged
merged 1 commit into from
May 12, 2020

Conversation

cd2357
Copy link
Contributor

@cd2357 cd2357 commented May 2, 2020

The OfferBook tables now show the amount and the volume as min-max range, where appropriate.

For the offers that have no range defined, the single values are shown.

Fixes #3129

The OfferBook tables now show the amount and the volume as min-max range, where appropriate.

For the offers that have no range defined, the single values are shown.

Fixes bisq-network#3129
Copy link
Member

@sqrrm sqrrm left a comment

Choose a reason for hiding this comment

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

Could you provide a before and after screenshot for the UI changes? It will help a lot to do the review.

@sqrrm sqrrm added the in:gui label May 5, 2020
@cd2357
Copy link
Contributor Author

cd2357 commented May 6, 2020

Adding screenshots:

Before (buy and sell offers in the Offerbook did not show the min-max range) :

Screenshot from 2020-05-06 22-22-25

After (both buy and sell orders now show the min-max range, for volume and price) :

Screenshot from 2020-05-06 22-20-09


/**
* Renders cell content, if it has a single value or a range.
* Should not be called for empty cells
Copy link

Choose a reason for hiding this comment

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

Is this comment really needed? Maybe naming renderCellContent() is enough as it is private method in very specific context.

@ghost
Copy link

ghost commented May 10, 2020

ACK

Copy link
Member

@sqrrm sqrrm left a comment

Choose a reason for hiding this comment

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

utACK

@sqrrm
Copy link
Member

sqrrm commented May 12, 2020

@petrhejna Thanks for reviewing. Did you read up on the usage of ACK, utACK and NACK? ACK meaning you have actually tested this PR.

@sqrrm sqrrm merged commit 5e5d7d1 into bisq-network:master May 12, 2020
@ghost
Copy link

ghost commented May 12, 2020

@sqrrm yes, I did test it

@ripcurlx ripcurlx added this to the v1.3.5 milestone Jun 4, 2020
@cd2357 cd2357 deleted the show-min-max-orderbook branch August 20, 2020 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[GUI] Show min-max trade amount also under Market > Offer book
3 participants