Skip to content

[Request]: Hide [Open Documentation] button, plus workaround #78

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

Open
jjrohrer opened this issue Mar 25, 2025 · 0 comments
Open

[Request]: Hide [Open Documentation] button, plus workaround #78

jjrohrer opened this issue Mar 25, 2025 · 0 comments

Comments

@jjrohrer
Copy link

jjrohrer commented Mar 25, 2025

What feature would you like to add?

We're not ready to use the knowledge base... but we love the markdown driven modals.
I'd request the ability to disable previews from including the [Open Documentation] button.

Workaround: If you are willing to override blade files, you can copy

  • vendor/guava/filament-knowledge-base/resources/views/livewire/help-menu.blade.php
  • vendor/guava/filament-knowledge-base/resources/views/modals.blade.php
  • vendor/guava/filament-knowledge-base/resources/views/livewire/modals.blade.php

to

  • resources/views/vendor/filament-knowledge-base/livewire/help-menu.blade.php
  • resources/views/vendor/filament-knowledge-base/modals.blade.php
  • resources/views/vendor/filament-knowledge-base/livewire/modals.blade.php

And in each file, look for the button with translations.open-documentation, and just comment out the button

  • translations.open-documentation

Image
Image

Notes

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

No branches or pull requests

1 participant