nextcloud-libraries / nextcloud-libraries/nextcloud-vue

[NcAppNavigationItem] has no option for exact route matching

Open
#7,965 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.