Skip to content

A button in the "post" tab that allows to set starting price and buyout price equally#19

Open
kennycrafty wants to merge 6 commits into
OldManAlpha:masterfrom
kennycrafty:feature/starting_equals_buyout_button
Open

A button in the "post" tab that allows to set starting price and buyout price equally#19
kennycrafty wants to merge 6 commits into
OldManAlpha:masterfrom
kennycrafty:feature/starting_equals_buyout_button

Conversation

@kennycrafty

Copy link
Copy Markdown

This will add a checkbox to the "post" auctions tab. The button is unchecked by default.
Checking the button removes the "Starting price" input box and sets the "Starting price" of auctions to the "Buyout price". This sometimes saves the hustle of copying the buyout price and pasting it into the starting price.

The blocking behavior of the "Post" button in the "post" tab is deactivated on checking this box.
Checking will not persist after relogging/rebooting client. Probably possible to add, i was just too lazy to find the persistence store.

starting_buyout_button

the checkbox should set the starting price to the buyout price by default when postion items. functional implementation still needs to be done.
public method contained the same code. now the public method calls the private method.
method to check general visibility of starting price input is established: update_start_price_visibility
if the checkbox "Starting = Buying" is checked, the check for "Unit Starting Price" > "Unit Buying Price" is not done anymore.
Why? the checkbox "Starting = Buying" deactivates the usage of "Unit Starting Price"
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.

1 participant