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

feat: auction detail #627

Merged
merged 11 commits into from
Nov 7, 2018
Merged

feat: auction detail #627

merged 11 commits into from
Nov 7, 2018

Conversation

nicosantangelo
Copy link
Contributor

@nicosantangelo nicosantangelo commented Oct 31, 2018

Adds the detail page for the auction, meaning what you see when you click the navbar auction. You can click unowned parcels and see how the UI reacts, all the data is mocked, so Bid doesn't work.

Closes #606 #610
Continues #626

@nicosantangelo nicosantangelo changed the title feat: auction detail feat: auction detail. Auction PR: from 2nd Nov 5, 2018
@nicosantangelo nicosantangelo changed the title feat: auction detail. Auction PR: from 2nd feat: auction detail Nov 7, 2018
Copy link
Contributor

@nachomazzara nachomazzara left a comment

Choose a reason for hiding this comment

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

Great Nico!

General comments:

  • It is weird for me to see the parcels in a different order from the one I choose. I would remove the order or if we want it, I will also add it to the parcel selection for creating an Estate. cc: @abarmat @cazala

  • I think we should have a title for the parcels selected and also be consistent with the margin between rows:

screen shot 2018-11-07 at 12 53 29

screen shot 2018-11-07 at 12 53 09

shared/parcel.js Outdated
@@ -10,6 +10,16 @@ export function isParcel(asset) {
)
}

export function getParcelSorter() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Just a thought: we could name it as parcelSortAlgorithm or just sortParcel

Copy link
Member

Choose a reason for hiding this comment

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

"sortParcel" would be the return value of this function, since that's the actual function that does the sorting. I think it's fine returning it as a lambda tho, as it is doing now.

@@ -104,6 +104,7 @@
"your_parcel": "Tu parcela"
},
"auction_page": {
"bid": "Oferta",
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe Ofertar is better

<Grid.Column mobile={16} computer={10}>
<div className="information-blocks">
<div className="information-block">
<p className="subtitle">GAS PRICE</p>
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it worth to have this on translations?

<Header size="large">300wei</Header>
</div>
<div className="information-block">
<p className="subtitle">PARCEL PRICE</p>
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe LAND PRICE and also I would add it to the translations

<Header size="large">{this.parcelPrice}</Header>
</div>
<div className="information-block">
<p className="subtitle">PARCELS</p>
Copy link
Contributor

Choose a reason for hiding this comment

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

Same about translations

</Header>
</div>
<div className="information-block">
<p className="subtitle">TOTAL PRICE</p>
Copy link
Contributor

Choose a reason for hiding this comment

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

Same about translations

@nicosantangelo
Copy link
Contributor Author

Updated!

Copy link
Contributor

@nachomazzara nachomazzara left a comment

Choose a reason for hiding this comment

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

Waiting for the disccusion about sort parcels

@nicosantangelo
Copy link
Contributor Author

Updated without sort

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