GuavaCZ / filament-knowledge-base

MIT License
144 stars 21 forks source link

[Request]: Turn off Single Page Application mode #23

Closed iAmKevinMcKee closed 6 months ago

iAmKevinMcKee commented 6 months ago

What feature would you like to add?

Right now spa mode is on by default, and I don't see any way to turn it off. I've tried

 KnowledgeBasePanel::configureUsing(
            fn (KnowledgeBasePanel $panel) => $panel->spa(false));

But that doesn't work.

The problem when one panel has spa mode and others don't, you get weird behavior when going back and forth. When going from the knowledge base to another panel without spa mode on, the first time you navigate to the other panel, the global search is still the KB search until there is another page refresh.

Notes

No response

lukas-frey commented 6 months ago

Fixed in #24