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

fix(v2): website feedback page hydration bug #3269

Merged
merged 1 commit into from
Aug 12, 2020
Merged

fix(v2): website feedback page hydration bug #3269

merged 1 commit into from
Aug 12, 2020

Conversation

mecm1993
Copy link
Contributor

Motivation

Closes #2828

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

When accessed directly with a "deep link", there should not be any hydration problem in feedback,

https://{host}/feedback/p/api-documentation-swagger

Most render the feedback page accordingly.

Moreover, I added the metacharacter \b to the regex expression, so it renders the not found page when accessing an incorrect feedback page. This is the current behavior,

https://v2.docusaurus.io/feedback1/p/api-documentation-swagger renders,
screencapture-localhost-3000-feedback1-p-api-documentation-swagger-2020-08-11-23_13_15

Expected render,
screencapture-localhost-3000-feedback1-p-api-documentation-swagger-2020-08-11-23_13_40

Related PRs

@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Aug 12, 2020
@docusaurus-bot
Copy link
Contributor

Deploy preview for docusaurus-2 ready!

Built with commit 72d0f96

https://deploy-preview-3269--docusaurus-2.netlify.app

@slorber slorber merged commit e118fcd into facebook:master Aug 12, 2020
@slorber slorber changed the title fix: feedback page hydration fix(v2): website feedback page hydration bug Aug 12, 2020
@slorber slorber added the pr: bug fix This PR fixes a bug in a past release. label Aug 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: bug fix This PR fixes a bug in a past release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feedback page hydration problem
4 participants