diff --git a/.github/workflows/dev-build.yaml b/.github/workflows/dev-build.yaml index 8d1f8d58..341c38da 100644 --- a/.github/workflows/dev-build.yaml +++ b/.github/workflows/dev-build.yaml @@ -6,7 +6,7 @@ concurrency: on: push: - branches: ['4595-refactor-pwa'] # put your current branch to create a build. Core team only. + branches: ['3906-global-default-system-prompt'] # put your current branch to create a build. Core team only. paths-ignore: - '**.md' - 'cloud-deployments/*' diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 83d2b301..24e4becb 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -93,6 +93,9 @@ const SystemPromptVariables = lazy( const MobileConnections = lazy( () => import("@/pages/GeneralSettings/MobileConnections") ); +const DefaultSystemPrompt = lazy( + () => import("@/pages/Admin/DefaultSystemPrompt") +); export default function App() { return ( @@ -215,6 +218,10 @@ export default function App() { path="/settings/branding" element={} /> + } + /> } diff --git a/frontend/src/components/SettingsSidebar/index.jsx b/frontend/src/components/SettingsSidebar/index.jsx index ad702411..f1bd5489 100644 --- a/frontend/src/components/SettingsSidebar/index.jsx +++ b/frontend/src/components/SettingsSidebar/index.jsx @@ -285,6 +285,12 @@ const SidebarOptions = ({ user = null, t }) => ( href: paths.settings.invites(), roles: ["admin", "manager"], }, + { + btnText: "Default System Prompt", + href: paths.settings.defaultSystemPrompt(), + flex: true, + roles: ["admin"], + }, ]} />