Replies: 1 comment
-
|
Hi ! That’s why option B looks like the sweet spot: lean harder on the existing feature flags, hide the request‑related UI when disabled, and document an “admin portal” preset or image. You still cover the admin‑only use case, but keep one product and avoid splitting the project into two half‑products that each compete with different tools |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The idea
Today Oscarr is a media-request portal that also has a plugin host. The
plugin engine + dashboard widgets are mature enough that a non-trivial number
of self-hosters could legitimately use Oscarr as a pure admin portal for
their stack (Sonarr / Radarr / Plex / Jellyfin / custom plugins) without
ever caring about the request-media side.
Two shapes have been floated:
Option A — runtime toggle (
mediaRequestsEnabled)Big master switch in admin: ON = current Oscarr, OFF = login + admin + plugins
only. Hides nav (Home / Requests / Calendar / Support), and admin sections
that are only meaningful when requests exist (Quality, Paths, Rules, …).
Option B — extend the existing feature flags
Don't invent a new "mode". Push
requestsEnabled(already inuseFeatures)further: hide the request-related admin tabs when off, redirect
/to aplugin-driven dashboard, and document an "admin portal" preset / Docker
variant for people who want a locked-down install.
Option C (long-term, philosophical)
Spinning the request feature out into a first-party plugin would be the
cleanest separation, but it's a real refactor (the request flow is currently
deeply coupled to core: services, requests table, Radarr/Sonarr glue,
notifications, calendar, support tickets…). Probably not worth doing
retroactively unless the rest of the codebase pushes us there organically.
Tradeoffs to weigh
Pro (any option):
Con:
user-facing portal with a plugin host. Stripping that puts us in the
Homarr / Homepage / Dashy territory, where the differentiator is less
obvious.
"plugin-related" is grey. Services (Sonarr/Radarr/Plex) serve both sides.
authors get an extra dimension to reason about.
screenshot sets. Real cost for a solo project.
Where I'm leaning (open to pushback)
Option B feels safest: lean harder on the existing feature flags + a
documented "admin portal" preset, without inventing a new binary mode. It
gives the same UX outcome to people who want it, doesn't fork the codebase,
and stays reversible.
But before deciding, curious what other self-hosters here actually want:
build/image variant (locked admin-only, no toggle visible)?
adjacent? (curious which plugins.)
Drop a 👍 / 👎 / 👀 + a comment if you have an opinion.
Beta Was this translation helpful? Give feedback.
All reactions