GuavaCZ/filament-knowledge-base

[Bug]: Incompatible with Filament Multi-Tenant Panel

Opened this issue · 1 comments

What happened?

When using the package with a multi-tenant Filament panel, several issues arise:

  • The documentation button at the bottom of the navigation bar links back to the home page of the current panel, not to the Knowledge Base panel
    • This seems to stem from an issue with the url parameter being set in the packageBooted method of the KnowledgeBaseServiceProvider class
  • When manually navigating to the Knowledge Base panel (by default, at /kb), no elements in the panel are clickable
    • This seems to be caused by the div element being added with the !pointer-events-none class in the setUp method of the KnowledgeBasePanel class

How to reproduce the bug

Install the plugin into a Filament panel supporting multi-tenancy

Package Version

1.10.0

PHP Version

8.3.11

Laravel Version

10.48.18

Which operating systems does with happen with?

No response

Notes

No response

The package was created for a project with multi tenancy, where I use it on a daily basis.

Do you use filaments multi tenancy or some 3rd party package?