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: wrong updation of DocsNavItem #1180

Merged
merged 4 commits into from
Dec 22, 2022

Conversation

Ankitchaudharyy
Copy link
Contributor

Description
Validated the logic for the case : when slug of a section is equal to its parent section's Slug.

Related issue(s)
#1179

@netlify
Copy link

netlify bot commented Dec 21, 2022

Deploy Preview for asyncapi-website ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 4732a76
🔍 Latest deploy log https://app.netlify.com/sites/asyncapi-website/deploys/63a440496cd88d00084a73b6
😎 Deploy Preview https://deploy-preview-1180--asyncapi-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@github-actions
Copy link

github-actions bot commented Dec 21, 2022

⚡️ Lighthouse report for the changes in this PR:

Category Score
🔴 Performance 41
🟠 Accessibility 88
🟢 Best practices 100
🟢 SEO 100
🔴 PWA 30

Lighthouse ran on https://deploy-preview-1180--asyncapi-website.netlify.app/

Copy link
Member

@akshatnema akshatnema left a comment

Choose a reason for hiding this comment

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

@Ankitchaudharyy I prefer to make the conditions somewhat similar and easier for everyone so that anyone doesn't find that there is some crucial change in the function.

components/navigation/DocsNavItem.js Outdated Show resolved Hide resolved
Co-authored-by: Akshat Nema <76521428+akshatnema@users.noreply.github.com>
Copy link
Member

@akshatnema akshatnema left a comment

Choose a reason for hiding this comment

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

LGTM @Ankitchaudharyy 🥳

@akshatnema
Copy link
Member

/rtm

@asyncapi-bot asyncapi-bot merged commit 19f6283 into asyncapi:master Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Introduction also gets highligthed when any other section in Generator is clicked.
3 participants