Giter VIP home page Giter VIP logo

Comments (9)

kasancode avatar kasancode commented on May 25, 2024

What is "Issue tracker"? Redmine?
I don't use Issue trackers. So I need more information.

And the New Issue page from Kanban board is different to the default New Issue page, because annotate the issue with the lane (label) or priority etc.

Is this behavior related to your issue?

Default New Issue page
image

from this button
image

New Issue page with Annotation (different url)
image

from this button
image

from gitbucket-label-kanban-plugin.

aadrian avatar aadrian commented on May 25, 2024

What is "Issue tracker"? Redmine?
I don't use Issue trackers. So I need more information.

@kasancode

Your Plug-in displays a Kanban Board of the GitBucket Issues for each GIT project (for all projects) if one installs your plug-in.

GitBucket however has individual project settings that allow to disable the Issues (and optionally specify an external URL for some other Issue Trackers like Redmine, Trac, JIRA, etc).

In this case that project won't have any (internal) issues, so your Kanban Board and Menu Item on the side should be disabled for that project.

from gitbucket-label-kanban-plugin.

kasancode avatar kasancode commented on May 25, 2024

I understood.
I'll try to disable the plugin according to the setting.

from gitbucket-label-kanban-plugin.

kasancode avatar kasancode commented on May 25, 2024

I investigated the GitBucket codes.

It is difficult to hide the Kanban link in the side menu.
Perhaps, It is required to modify the GitBucket codes.

However, I can display a Warning if someone visits an invalid Kanban page.

from gitbucket-label-kanban-plugin.

aadrian avatar aadrian commented on May 25, 2024

@kasancode
If a GIT Project has the Internal Issues disabled, than in the table repository the column issues_option has the value DISABLE . In the corresponding model, for that project, the entity Repository has the field issuesOption for this.

If the GIT Project is using even an external Issue Tracker, than in the table repository the column EXTERNAL_ISSUES_URL also has a non-null value.

from gitbucket-label-kanban-plugin.

kasancode avatar kasancode commented on May 25, 2024

Yes, I comfirmed related codes. Therefore we can detect the Internal Issue Tracking is desabled or not.
But, the menu bar displays all plugin items for each repository under any condition.

https://github.com/gitbucket/gitbucket/blob/master/src/main/twirl/gitbucket/core/menu.scala.html#L61

from gitbucket-label-kanban-plugin.

aadrian avatar aadrian commented on May 25, 2024

@kasancode the menu display can be configured dynamically from inside a plug-in.

The author of GitBucket explained it here: https://gitter.im/gitbucket/gitbucket_dev?at=5e10a1593062aa3e8df4de7f

from gitbucket-label-kanban-plugin.

kasancode avatar kasancode commented on May 25, 2024

Oh, It's working !
Try v3.4.1.

from gitbucket-label-kanban-plugin.

aadrian avatar aadrian commented on May 25, 2024

@kasancode this works great! Thank you very much.

from gitbucket-label-kanban-plugin.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.