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

[FX-2189] Implements bare-bones show route #6408

Merged
merged 1 commit into from
Oct 5, 2020

Conversation

dzucconi
Copy link
Member

@dzucconi dzucconi commented Oct 5, 2020

Closes: FX-2189

Copy link
Member

@anandaroop anandaroop left a 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} />
Copy link
Member

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

Copy link
Member Author

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...

Comment on lines +12 to +14
const getWrapper = () => {
return mount(<ShowApp show={SHOW_FIXTURE as any} />)
}
Copy link
Member

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?

Copy link
Member Author

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}`
Copy link
Member

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

Copy link
Member Author

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.

Copy link
Member

Choose a reason for hiding this comment

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

Naw, this is good

@dzucconi dzucconi merged commit 69a3878 into master Oct 5, 2020
@artsy-peril artsy-peril bot mentioned this pull request Oct 5, 2020
@zephraph zephraph deleted the feat/FX-2189--show-bones branch October 23, 2020 17:20
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.

2 participants