Offer help self-hosting OpenBot in a dismissable banner - #720
Merged
Merged
Conversation
A slim bar at the top of the signed-in app links to CopilotKit's engineers, with ref=openbot_app so an in-app visit can be told apart from the README. Closing it is saved to the person's preferences, so it stays closed on every device. OPENBOT_SELF_HOST_BANNER=false hides it for a fork that runs OpenBot for its own organization. The controls sit together from the left, because on localhost CopilotKit's dev inspector floats over the top-right corner and covered a Dismiss pinned there.
davidmckayv
requested review from
MikeRyanDev,
guidovizoso,
mxmzb and
tylerslaton
as code owners
October 2, 2026 20:52
At 390px the headline cut off at "for your or...", losing the message. The sentence now wraps, and the link and Dismiss drop to the next line together, left-aligned with it, so the whole sentence and both controls stay readable and Dismiss stays clear of the dev inspector.
# Conflicts: # CHANGELOG.md
This was referenced Oct 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A slim, dismissable bar at the top of the signed-in app: "Self-host OpenBot for your organization." with a Talk to an engineer link to
https://copilotkit.ai/talk-to-an-engineer?ref=openbot_app. Therefmarks an in-app visit, separate from the README'sopenbot_readme.How it behaves
_authed/_app), above the page. Not on sign-in, onboarding, admin or settings.selfHostBannerDismissed: trueto the person's preferences, so it stays closed on every device. The bar hides at once and comes back if the save fails.OPENBOT_SELF_HOST_BANNER=false(or0), reported to the browser through/api/capabilitieslikeOPENBOT_GENERATIVE_UI. For a fork running OpenBot for its own organization. The chart has no value for the generated-interface flag either, so this one goes throughconfig.extraEnv.Buttonwithrender, because Base UI gives a rendered anchorrole="button". It uses the foreground color, because the link variant's primary measured as a mid grey on the dark bar.Checked
bun run typecheck,lint,format:checkandbuildpass.bun run test:ci: the same 8 environment-only failures asmainlocally, none new.ref=openbot_app, opens in a new tab,rel="noopener noreferrer";OPENBOT_SELF_HOST_BANNER=falseand the preference not dismissed, there is no banner.