hey <@ULVA73B9P>, how can we change the prefect gu...
# ask-marvin
f
hey @Marvin, how can we change the prefect gui on the self hosted version to hide the ready to scale UPGRADe part banner on the left panel
m
thought for 64.7 seconds
Thanks for asking! Assuming you’re on self-hosted Prefect 3.x Server (OSS), there isn’t a supported configuration flag or UI setting to hide the “Ready to scale — UPGRADE” banner in the left sidebar. It’s currently part of the default UI. If you need it removed, here are your options/workarounds: - Fork and customize the UI (recommended for teams comfortable with front-end build pipelines) - Clone the Prefect UI source, remove or hide the “upgrade” component in the sidebar, then build the UI. - Build a custom image that replaces the bundled UI assets:
Copy code
FROM prefecthq/prefect:3-latest
    # Copy your built UI assets into the image (path may vary depending on your build)
    COPY --chown=app:app dist/ /ui/
- Run your Prefect Server using this custom image. - Reverse proxy or browser-level CSS workaround - If you control the reverse proxy, you could inject a small CSS file to hide that specific element by class/id (this is brittle and can break on UI updates). - Quick client-side workaround: use a browser extension (e.g., Stylus or uBlock Origin) to hide the element via a custom CSS rule. This won’t be organization-wide unless enforced at the browser or proxy level. - Prefect Enterprise - If you’re running Prefect Enterprise (self-hosted commercial), reach out to your account team—Enterprise builds typically don’t include OSS upsell banners. Would you like me to open a feature request to add a supported flag to disable the banner in self-hosted environments? Also, can you confirm: - Your Prefect version (2.x or 3.x)? - Whether you’re on OSS Server or Enterprise? - If a custom image approach would work for your setup?