Skip to content

feat: hidden nav link item #1768

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

Merged
merged 1 commit into from
Jul 28, 2022
Merged

feat: hidden nav link item #1768

merged 1 commit into from
Jul 28, 2022

Conversation

itssharmasandeep
Copy link
Contributor

Description

Adding a config to make the nav link item hidden

Testing

Local Testing is done

Checklist:

  • My changes generate no new warnings

@itssharmasandeep itssharmasandeep requested a review from a team as a code owner July 28, 2022 12:01
@codecov
Copy link

codecov bot commented Jul 28, 2022

Codecov Report

Merging #1768 (82ac628) into main (86017e7) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1768   +/-   ##
=======================================
  Coverage   83.58%   83.58%           
=======================================
  Files         893      893           
  Lines       19257    19257           
  Branches     2663     2663           
=======================================
  Hits        16096    16096           
  Misses       3024     3024           
  Partials      137      137           
Impacted Files Coverage Δ
...onents/src/navigation/navigation-list.component.ts 88.88% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us.

@github-actions

This comment has been minimized.

@itssharmasandeep itssharmasandeep merged commit c31de98 into main Jul 28, 2022
@itssharmasandeep itssharmasandeep deleted the hidden-nav-item branch July 28, 2022 12:11
@github-actions
Copy link

Unit Test Results

       4 files  ±0     299 suites  ±0   22m 44s ⏱️ + 2m 11s
1 064 tests ±0  1 064 ✔️ ±0  0 💤 ±0  0 ❌ ±0 
1 072 runs  ±0  1 072 ✔️ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit c31de98. ± Comparison against base commit 86017e7.

@@ -10,6 +10,7 @@ export interface NavItemLinkConfig {
iconSize?: IconSize;
label: string;
matchPaths: string[]; // For now, default path is index 0
hidden?: boolean;
Copy link
Contributor

Choose a reason for hiding this comment

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

would be helpful to add a description about the purpose of this.

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.

3 participants