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: avoid skipping link entries in menus builder #41

Merged
merged 2 commits into from
Apr 27, 2022

Conversation

sebil
Copy link
Contributor

@sebil sebil commented Apr 27, 2022

This PR fixes missing link type entries in the menus.yaml.
If there is an entry of type "link", it will have no contentType, which was the reason why it was filtered out in the menu builder. But such entries already got an id which is now be used to get the entry from the entries map to provide the actual contentType

to avoid skipping link type entries in menus builder
@sebil sebil requested a review from bezoerb April 27, 2022 18:01
@sebil sebil self-assigned this Apr 27, 2022
Copy link
Member

@bezoerb bezoerb left a comment

Choose a reason for hiding this comment

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

LGTM

@sonarcloud
Copy link

sonarcloud bot commented Apr 27, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@bezoerb bezoerb merged commit 6671ec6 into main Apr 27, 2022
@bezoerb bezoerb deleted the fix/avoid-skipping-link-entries-in-menus branch April 27, 2022 19:48
bezoerb pushed a commit that referenced this pull request May 10, 2022
* main: (23 commits)
  chore(release): updated release notes and package versions [ci skip]
  fix(observable): uses ReplaySubject for transforms
  chore(release): updated release notes and package versions [ci skip]
  Fix: avoid skipping link entries in submenus (#42)
  chore(release): updated release notes and package versions [ci skip]
  Fix: avoid skipping link entries in menus builder (#41)
  ci(tests): disable shallow clone in github actions workflow
  ci(tests): tweaks coverage exclusions in sonar.properties
  ci(tests): tweaks sonar.properties
  ci(tests): tweaks sonar.properties
  ci(tests): tweaks sonar.properties
  ci(tests): tweaks sonar properties
  ci(tests): adds sonarcloud to test.yml (#40)
  fix(tests): adds sonar reporter
  ci(tests): adds sonarqube to test.yml
  chore(release): updated release notes and package versions [ci skip]
  feat(utils): adds waitFor util (#39)
  chore(release): updated release notes and package versions [ci skip]
  Feature: enable custom hugo menu (#38)
  chore(release): updated release notes and package versions [ci skip]
  ...
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