Skip to content

Fix highlight Quickstart and Concepts menu items at the same time#587

Merged
tisonkun merged 2 commits into
apache:mainfrom
visortelle-tt-old:fix-menu-highlighting-duplication
May 26, 2023
Merged

Fix highlight Quickstart and Concepts menu items at the same time#587
tisonkun merged 2 commits into
apache:mainfrom
visortelle-tt-old:fix-menu-highlighting-duplication

Conversation

@visortelle
Copy link
Copy Markdown
Member

This PR adds doc for #xyz

This PR fixes #xyz

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

After b30efcc, the Concepts, and Quickstart menu items are both highlighted at the same time.

Looks not good. 🙂

Screenshot 2023-05-26 at 9 15 16 AM

This PR fixes it.
Also, this PR fixes the reason behind b30efcc.
The Concepts and Quickstart menu items refer to the latest version now instead of next.

Screenshot 2023-05-26 at 9 26 30 AM

Copy link
Copy Markdown
Member

@tisonkun tisonkun left a comment

Choose a reason for hiding this comment

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

The result is good, while I'm a bit surprised why the highlight appearance is incorrect with the current config.

I ever saw a similar issue when the button linked to the same page (apache/superset#22486), but this seems not the case.

@visortelle
Copy link
Copy Markdown
Member Author

The result is good, while I'm a bit surprised why the highlight appearance is incorrect with the current config.

Currently, I don't have much time to inspect Docusaurus sources to figure out the reason.
It worked the same way before the redesign changes.

@tisonkun tisonkun merged commit 4eff473 into apache:main May 26, 2023
@tisonkun
Copy link
Copy Markdown
Member

Thank you!

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.

2 participants