-
Notifications
You must be signed in to change notification settings - Fork 78
Remove the RouterLink from the secondary-nav-section #465
Comments
@ffriedl89 can you please add more to the description? 😄 |
I have updated the description to be a bit more telling about what is supposed to be the outcome. |
To resolve this we have to change the way the section works to something like:
|
We have to change the api and the way how the section work for that. Please hit me up if someone starts working on this issue. |
@areknow We talked about this a while ago, and we would like to get this going again :) Would you be able to help us out here? |
@ffriedl89 sorry for the delay, I will get the PR ready this week |
Issue is still relevant and should not be closed. @areknow would you still be interested to provide the fix for this one? |
Hey @tomheller, I started the work and should be able to complete it next sprint 👍 |
BREAKING CHANGE: the API has been simplified and the dependency on Router has been removed. Fixes dynatrace-oss#465
BREAKING CHANGE: the API has been simplified and the dependency on Router has been removed. Fixes dynatrace-oss#465
BREAKING CHANGE: the API has been simplified and the dependency on Router has been removed. Fixes #465
BREAKING CHANGE: the API has been simplified and the dependency on Router has been removed. Fixes dynatrace-oss#465
Feature Request
The secondary-nav-section should work without a router.
Currently, the
dt-secondary-nav-section
contains a switch within its template where it defines whether the generated link should be either an external link (which uses the href attribute on the rendered html), or an internal link (which uses therouterLink
directive).Template reference from https://github.com/dynatrace-oss/barista/blob/master/components/secondary-nav/src/section/secondary-nav-section.html#L13-L22:
In general we are trying to avoid a hard dependency to the Angular Router, which is why we should think about removing this switch and let the consumer handle what linking mechanism they would like to choose.
The text was updated successfully, but these errors were encountered: