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

Dynamically add an item into breadcrumb #120

Closed
curiousThinker opened this issue Jan 20, 2022 · 6 comments
Closed

Dynamically add an item into breadcrumb #120

curiousThinker opened this issue Jan 20, 2022 · 6 comments
Labels
enhancement New feature or request help wanted Extra attention is needed no-issue-activity

Comments

@curiousThinker
Copy link

Currently the breadcrumb is generated based on route.
If my modules are on the same hierachy, is it possible to display them together in the breadcrumb ?
E.g.
{
path: "",
loadChildren: () => import('@modules/home/home.module').then(mod => mod.HomeModule),
data:{ breadcrumb:'home'}
},
{
path: "family",
loadChildren: () => import('@modules/family/family.module').then(mod => mod.FamilyModule),
data:{ breadcrumb:'family'}
},
{
path: "friend",
loadChildren: () => import('@modules/friend/friend.module').then(mod => mod.FriendModule),
data:{ breadcrumb:'friend'}
},

For components within familyModule, the breadcrumb will be:
family / familyComponent.

But is it possible to make the breadcrumb to be something like this ?
home / family / familyComponent

On the other hand, this need to be configurable as my friendComponent breadcrumb would like to remain as:
friend / friendComponent

@curiousThinker curiousThinker added the enhancement New feature or request label Jan 20, 2022
@github-actions
Copy link

Hello 👋 @curiousThinker
Thank you for raising an issue. We will investigate into the issue and get back to you as soon as possible. Please make sure you have given us as much context as possible.
Feel free to raise a PR if you can fix the issue. Check the local development guide

@udayvunnam udayvunnam added the help wanted Extra attention is needed label Feb 1, 2022
@udayvunnam udayvunnam added this to To do in xng-breadcrumb via automation Feb 24, 2022
@udayvunnam udayvunnam moved this from To do to In progress in xng-breadcrumb Feb 24, 2022
@stale
Copy link

stale bot commented Jun 10, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Jun 10, 2022
@udayvunnam udayvunnam removed the wontfix This will not be worked on label Aug 3, 2022
@udayvunnam
Copy link
Owner

not stale

@stale
Copy link

stale bot commented Dec 3, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Dec 3, 2022
@stale stale bot closed this as completed Apr 7, 2023
xng-breadcrumb automation moved this from In progress to Done Apr 7, 2023
@udayvunnam udayvunnam reopened this May 27, 2023
xng-breadcrumb automation moved this from Done to In progress May 27, 2023
@stale stale bot removed the wontfix This will not be worked on label May 27, 2023
@stale
Copy link

stale bot commented Oct 15, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Oct 15, 2023
@stale stale bot closed this as completed Mar 17, 2024
xng-breadcrumb automation moved this from In progress to Done Mar 17, 2024
@udayvunnam udayvunnam removed the wontfix This will not be worked on label Mar 17, 2024
@udayvunnam udayvunnam reopened this Mar 17, 2024
xng-breadcrumb automation moved this from Done to In progress Mar 17, 2024
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

xng-breadcrumb automation moved this from In progress to Done May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed no-issue-activity
Projects
Development

No branches or pull requests

2 participants