Skip to content
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
2 changes: 1 addition & 1 deletion apps/server/src/services/plugins/builtin-registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export const BUILTIN_PLUGINS = [
{
name: "monaco-editor",
pluginId: "monaco-editor",
defaultEnabled: true,
defaultEnabled: false,
category: "Interface",
},
{
Expand Down
8 changes: 8 additions & 0 deletions apps/server/test/services/plugins/builtin-plugins.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,14 @@ describe("builtin plugin reconciliation", () => {
expect(pluginApiTester?.defaultEnabled).toBe(false);
});

it("ships the File Editor (monaco-editor) disabled on a fresh database", () => {
const monacoEditor = BUILTIN_PLUGINS.find(
(builtin) => builtin.name === "monaco-editor",
);

expect(monacoEditor?.defaultEnabled).toBe(false);
});

it("ships Workflows disabled on a fresh database", async () => {
const workflows = BUILTIN_PLUGINS.find(
(builtin) => builtin.name === "workflows",
Expand Down
1 change: 0 additions & 1 deletion packages/bb-app/scripts/smoke-tarball.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ const EXPECTED_RUNNING_BUILTIN_PLUGINS = [
"custom-instructions",
"inline-vis",
"keep-awake",
"monaco-editor",
"pdf-preview",
"provider-retry",
"secrets",
Expand Down
2 changes: 1 addition & 1 deletion plugins/monaco-editor/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ function NoticeAction({
export default definePluginApp((app) => {
app.slots.fileOpener({
id: "monaco",
title: "Monaco",
title: "File Editor",
extensions: CLAIMED_EXTENSIONS,
component: MonacoFileOpener,
});
Expand Down
2 changes: 1 addition & 1 deletion plugins/monaco-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"bbPluginSdk": ">=0.4.9"
},
"bb": {
"name": "Monaco editor",
"name": "File Editor",
"description": "Edit files in BB with the Monaco editor instead of the read-only preview.",
"branding": {
"icon": "Code"
Expand Down
Loading