-
Notifications
You must be signed in to change notification settings - Fork 153
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
[FX-2189] Implements bare-bones show route #6408
Conversation
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.
LGTM, just a couple minor questions…
{show.name} | ||
</Text> | ||
|
||
<Separator as="hr" my={3} /> |
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.
🧐 TIL Separator
is not an hr
to begin with
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.
Yeah, I think it should be. Will PR that at some point...
const getWrapper = () => { | ||
return mount(<ShowApp show={SHOW_FIXTURE as any} />) | ||
} |
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.
Makes sense, but is this simplified version just a placeholder till the new Relay mocking patterns land in Force?
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.
Yeah, or until we need to test something more complex. Like, what are we trying to test really
show: { name, slug, metaDescription, metaImage }, | ||
}) => { | ||
const title = `${name} | Artsy` | ||
const href = `${getENV("APP_URL")}/show/${slug}` |
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.
Confirming that /show/
here is deliberate even though this page lives at /show2/
for now
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.
Yeah, this was intentional since we'll never launch it with show2, though I can change it to show2 if that's less confusing for now.
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.
Naw, this is good
Closes: FX-2189