nextcloud-libraries / nextcloud-libraries/nextcloud-vue
[NcAppNavigationItem] has no option for exact route matching
Nobody has claimed this yet.
- Dominant language
- Vue
- Stars
- 246
- Forks
- 99
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 103
Description
In v8 it was possible to use exact - Pass in true if you want the matching behaviour to be non-inclusive: https://router.vuejs.org/api/#exact for route matching. This was removed in v9.
I created a PR #7939 to bring back this option by using isExactActive: true if the [exact active class](https://v3.router.vuejs.org/api/#exact-active-class) should be applied. Allows to apply an arbitrary class.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the NcAppNavigationItem component and reviewing the context of PR #7939. Compare the v8 exact route-matching behavior with the v9 component API, then verify that the requested option restores non-inclusive matching and that the relevant component tests cover it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100