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

tagcloud on a namespace searches globally #81

Open
philippkrapp opened this issue Mar 23, 2022 · 1 comment
Open

tagcloud on a namespace searches globally #81

philippkrapp opened this issue Mar 23, 2022 · 1 comment

Comments

@philippkrapp
Copy link

philippkrapp commented Mar 23, 2022

Hello!

When I use ~~TAGCLOUD:number>namespace1~~ the plugin may show the regarding most important words. When I then click on one of these keywords the search will search the entire index not limited to the predefined "namespace1".

Could this please be corrected?

I appreciated your effort!

@dregad
Copy link
Contributor

dregad commented Feb 11, 2023

I had a quick look a this today. The good news is that the tag plugin allows specifying a (single) namespace in the showtag action that could be leveraged to implement this functionality.

However, I'm not sure this is really feasible (at least not easily, without a complex refactoring possibly affecting also the tag plugin), because namespace1 could actually be multiple namespaces (as shown in the documentation) and when generating the cloud, the originating namespace currently is not kept so when it is rendered the necessary information is not available.

Additionally, in case a given tag is present in more than one namespace, how should the plugin determine which namespace to use as reference ?

Maybe someone with deeper knowledge of cloud and tag plugins than me, can come up with an idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants