Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions 6 .server-changes/admin-global-flags-warning.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
area: webapp
type: improvement
---

Make it clear in the admin that feature flags are global and should rarely be changed.
8 changes: 5 additions & 3 deletions 8 apps/webapp/app/routes/admin.feature-flags.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,12 @@ export default function AdminFeatureFlagsRoute() {
return (
<main className="flex h-full min-w-0 flex-1 flex-col overflow-y-auto px-4 pb-4 lg:order-last">
<div className="max-w-2xl space-y-4">
<p className="text-sm text-text-dimmed">
Global defaults for all organizations. Org-level overrides take precedence. When not set,
<Callout variant="warning">
These are global feature flags that affect every organization on this instance. Changing
values here is a dangerous operation and should rarely be done - prefer org-level
overrides where possible. Org-level overrides take precedence; when a flag isn't set,
each consumer uses its own default.
</p>
</Callout>

<div className={isManagedCloud ? "cursor-not-allowed" : undefined}>
<CheckboxWithLabel
Expand Down
2 changes: 1 addition & 1 deletion 2 apps/webapp/app/routes/admin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default function Page() {
to: "/admin/llm-models",
},
{
label: "Feature Flags",
label: "Global Feature Flags",
to: "/admin/feature-flags",
},
{
Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.