PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Unsolved

Filament plugin for Pennant (Feature Flags for plugins)

hamburger-fries

Nov 12th, 2024 03:21 PM

I want to add a Filament plugin that is based on Pennant but I want to connect it with WAVE Plugins. I was thinking of making 2 TAGS. TAG-1 = WAVE Plugin and TAG-2 = Filament Plugin, but they both show up in this UI inside WAVE Admin.

Any tips on how I could do this?

I want Filament Plugins and WAVE plugins to show up in this GUI inside the WAVE Admin.

https://filamentphp.com/plugins/maartenpaauw-pennant

Thanks!

bobbyiliev

Nov 13th, 2024 03:51 AM

Hey Matt,

Thanks for the follow-up question!

The approach here is quite similar to what I mentioned in your previous question here.

Quick Recap:

Since Wave plugins and Filament plugins use different systems, integrating them together requires keeping their setups distinct while making them accessible in the same Wave admin UI.

If you want both Wave plugins and Filament plugins (like the Pennant feature flags) to show up in the Wave admin menu, here’s what you can do:

  1. Install the Filament plugin (like Pennant) using Composer as usual and configure it in AdminPanelProvider.

  2. For displaying both Wave and Filament plugins in your custom admin UI, you'll need to manually link the Filament plugin routes in the Drift Mega Menu or a custom Wave page.

  3. Using tags (TAG-1 = WAVE Plugin and TAG-2 = Filament Plugin) is a great idea for categorizing them, but keep in mind that Wave's plugin system won't automatically detect Filament plugins. You can manually add these tags in the menu items to differentiate between them.

So, while it’s possible to have them appear together in the Wave admin interface, they still need to be managed separately under the hood.

Let me know if you have any more questions! 😊