Replies: 2 comments 4 replies
|
Status update: Still in the "nice to have" category and parked for now. Filaman's existing plugin architecture would make this relatively straightforward compared to the Spoolman embedding I had to do — no new framework needed. The blocker is coordination with @Disane87 (or a fork) to adapt the filament-swatch interface from Spoolman to Filaman's API. If there's upstream interest, this could be scoped as a plugin contribution relatively quickly. |
|
Update: got this working as a proof of concept — since I already had the Spoolman hosted-mode integration done (PR I pulled on your repo awhile back), adapting it for FilaMan was fairly quick with some vibe coding. Here's what I needed on each side (all on my forks, nothing upstream yet): akira69/spoolman-filament-swatch: PR #6 — extend the SPA bootstrap to also read a filaman_hosted_config endpoint (alongside the Spoolman path I wrote earlier). Theme and locale are injected via query params automatically. PR #23 — expose the existing spoolmanapi Spoolman-compat layer as real HTTP routes so the SPA's /api/v2/ calls resolve correctly when embedded in FilaMan. PR #24 — add a /plugin-view/[slug] shell page: a full-height iframe that wraps the plugin SPA, injects hosted-mode params, and syncs dark/light theme + locale from FilaMan automatically. Generic enough to reuse for any iframe-able plugin. End result: Filament Swatch shows up in the FilaMan nav and renders inside the existing layout with the sidebar intact. Happy to discuss if you'd want something like this upstream.
|

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Filament Swatch looks totally cool and is a nice way to visualize your database of spools, etc.
Why not provide that function/capability within Filaman directly via plugin?
I was able to get Filament Swatch code working within Spoolman
I'd give this one a 'nice to have' and would need agreement/alignment with Disane87 unless forked directly.
All reactions