mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
WORKS
This commit is contained in:
parent
00814d51f1
commit
01d99645a6
8 changed files with 35382 additions and 447 deletions
3
src/package.json
Normal file
3
src/package.json
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"type": "module"
|
||||
}
|
||||
1232
src/vs/workbench/contrib/void/browser/react/out/Sidebar.css
Normal file
1232
src/vs/workbench/contrib/void/browser/react/out/Sidebar.css
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1,11 +1,12 @@
|
|||
import React, { useState } from 'react'
|
||||
import { mountFnGenerator } from '../util/mountFnGenerator'
|
||||
import { VIEWPANE_FILTER_ACTION } from '../../../../../browser/parts/views/viewPane'
|
||||
import { ServicesAccessor } from '../../../../../../platform/instantiation/common/instantiation'
|
||||
// import { SidebarThreadSelector } from './SidebarThreadSelector.js';
|
||||
// import { SidebarChat } from './SidebarChat.js';
|
||||
// import { SidebarSettings } from './SidebarSettings.js';
|
||||
console.log('!!filteraction', VIEWPANE_FILTER_ACTION)
|
||||
const Sidebar = () => {
|
||||
const Sidebar = ({ accessor }: { accessor: ServicesAccessor }) => {
|
||||
|
||||
// const chatInputRef = useRef<HTMLTextAreaElement | null>(null)
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ export default defineConfig({
|
|||
platform: 'browser',
|
||||
target: 'esnext',
|
||||
outExtension: () => ({ js: '.js' }),
|
||||
external: [/\.\.\/\.\.\/.*/],
|
||||
// external: [/\.\.\/\.\.\/.*/],
|
||||
noExternal: ['react', 'react-dom'],
|
||||
treeshake: true,
|
||||
})
|
||||
|
|
|
|||
|
|
@ -38,10 +38,10 @@ import { ITelemetryService } from '../../../../platform/telemetry/common/telemet
|
|||
import { IHoverService } from '../../../../platform/hover/browser/hover.js';
|
||||
// import { IVoidSettingsService } from './registerSettings.js';
|
||||
// import { IEditorService } from '../../../services/editor/common/editorService.js';
|
||||
// import mountFn from './react/out/Sidebar.js';
|
||||
import mountFn from './react/out/Sidebar.js';
|
||||
// import { IClipboardService } from '../../../../platform/clipboard/common/clipboardService.js';
|
||||
|
||||
const mountFn = (...params: any) => { }
|
||||
// const mountFn = (...params: any) => { }
|
||||
|
||||
|
||||
// compare against search.contribution.ts and https://app.greptile.com/chat/w1nsmt3lauwzculipycpn?repo=github%3Amain%3Amicrosoft%2Fvscode
|
||||
|
|
|
|||
Loading…
Reference in a new issue