Skip to content

Commit

Permalink
feat: move the default problems extension to stories (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
wewoor authored Jul 8, 2021
1 parent 22bc7aa commit 3210191
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/extensions/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { ExtendsStatusBar } from './statusBar';
import { ExtendsEditor } from './editor';
import { ExtendsProblems } from './problems';
import { ExtendsFolderTree } from './folderTree';
import { ExtendsMenuBar } from './menuBar';
import { ExtendsActivityBar } from './activityBar';
Expand All @@ -22,7 +21,6 @@ export const defaultExtensions = [
ExtendsEditor,
ExtendsMenuBar,
ExtendsStatusBar,
ExtendsProblems,
ExtendsExplorer,
ExtendsEditorTree,
defaultColorThemeExtension,
Expand Down
2 changes: 1 addition & 1 deletion src/model/workbench/panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function builtInOutputPanel() {
return {
id: PANEL_OUTPUT,
name: localize(PANEL_OUTPUT, 'output'),
data: 'output',
data: '',
renderPane: (item) => <Output {...item} />,
};
}
Expand Down
7 changes: 6 additions & 1 deletion stories/extensions/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import { IExtension } from 'mo/model/extension';
import { ExtendDataSync } from './data-sync';
import { ExtendsProblems } from './problems';

import { ExtendTestPane } from './test';

export const customExtensions: IExtension[] = [ExtendDataSync, ExtendTestPane];
export const customExtensions: IExtension[] = [
ExtendDataSync,
ExtendTestPane,
ExtendsProblems,
];
File renamed without changes.

0 comments on commit 3210191

Please sign in to comment.