-
Notifications
You must be signed in to change notification settings - Fork 3
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
Lay out /work/listings/:id #234
Conversation
This seems like it's in a reasonable state to review. One thing worth noting is that the BookingBar will obscure part of the footer on tablet/mobile. This is actually the case for the old design, too, so this is at parity, but raising it in case anyone sees a solution |
src/pages/listing/ListingPage.tsx
Outdated
<BookingCard {...listing} /> | ||
</>); | ||
const ListingPage = (listing: Listing) => ( | ||
<> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this can be
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kcvan your comment got cut off
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah thanks, was going to say this can be <Fade>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
basic layout looks good besides minor comment!
@@ -9,7 +9,7 @@ import BookingBar from './BookingBar'; | |||
import { Listing } from 'networking/listings'; | |||
|
|||
const ListingPage = (listing: Listing) => ( | |||
<> | |||
<Fade> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sometimes it's not good to use a Fade
effect. I think it's fine here.
ie, if we want the page to load immediately, like the signup/booking pages. Anything slowing the user down to conversion is not good. cc @kcvan
Description
Lay out the contents of the Listing page.
How to Test
Note that individual page elements are still unstyled (subsequent PRs!)
Which devices did you test on?
REVIEWERS:
Check against these principles:
High level
Does this code need to be written?
What are the alternatives?
Will this implementation become a support issue?
How much error margin does this solution have?
Code
Does the code follow industry standards?
JS: https://github.com/airbnb/javascript
React: https://github.com/airbnb/javascript/tree/master/react
https://github.com/vasanthk/react-bits
Documentation headers: http://usejsdoc.org/index.html
Is there duplicated code? Can it be refactored into a shared method?
Is the code consistent with our project?
Are there unit tests? Do they test the states?
Is the person refactoring another developer's code? If possible, did the original developer approve?
Variables/Naming:
Security
Further Work