|
|
@ -52,7 +52,7 @@ export const GitUI = (props: IGitUi) => { |
|
|
|
}) |
|
|
|
}) |
|
|
|
setTimeout(() => { |
|
|
|
setTimeout(() => { |
|
|
|
setAppLoaded(true) |
|
|
|
setAppLoaded(true) |
|
|
|
plugin.on('filePanel', 'requestGitHubSignIn' as any, () => setActivePanel('0')) |
|
|
|
plugin.on('filePanel', 'requestGitHubSignIn' as any, () => setActivePanel('7')) |
|
|
|
}, 2000) |
|
|
|
}, 2000) |
|
|
|
}, []) |
|
|
|
}, []) |
|
|
|
|
|
|
|
|
|
|
@ -178,15 +178,6 @@ export const GitUI = (props: IGitUi) => { |
|
|
|
{needsInit ? <Init></Init> : null} |
|
|
|
{needsInit ? <Init></Init> : null} |
|
|
|
{!setup && !needsInit ? |
|
|
|
{!setup && !needsInit ? |
|
|
|
<Accordion activeKey={activePanel} defaultActiveKey="0" className=""> |
|
|
|
<Accordion activeKey={activePanel} defaultActiveKey="0" className=""> |
|
|
|
<GitHubNavigation eventKey={gitUIPanels.GITHUB} activePanel={activePanel} callback={setActivePanel} /> |
|
|
|
|
|
|
|
<Accordion.Collapse className='bg-light' eventKey={gitUIPanels.GITHUB}> |
|
|
|
|
|
|
|
<div className="px-2 py-2"> |
|
|
|
|
|
|
|
<GetDeviceCode></GetDeviceCode> |
|
|
|
|
|
|
|
<hr></hr> |
|
|
|
|
|
|
|
<GitHubCredentials></GitHubCredentials> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</Accordion.Collapse> |
|
|
|
|
|
|
|
<hr></hr> |
|
|
|
|
|
|
|
<SourceControlNavigation eventKey={gitUIPanels.SOURCECONTROL} activePanel={activePanel} callback={setActivePanel} /> |
|
|
|
<SourceControlNavigation eventKey={gitUIPanels.SOURCECONTROL} activePanel={activePanel} callback={setActivePanel} /> |
|
|
|
<Accordion.Collapse className='bg-light' eventKey={gitUIPanels.SOURCECONTROL}> |
|
|
|
<Accordion.Collapse className='bg-light' eventKey={gitUIPanels.SOURCECONTROL}> |
|
|
|
<div className="px-2 py-2"> |
|
|
|
<div className="px-2 py-2"> |
|
|
@ -229,6 +220,15 @@ export const GitUI = (props: IGitUi) => { |
|
|
|
<Clone /></div> |
|
|
|
<Clone /></div> |
|
|
|
</Accordion.Collapse> |
|
|
|
</Accordion.Collapse> |
|
|
|
<hr></hr> |
|
|
|
<hr></hr> |
|
|
|
|
|
|
|
<GitHubNavigation eventKey={gitUIPanels.GITHUB} activePanel={activePanel} callback={setActivePanel} /> |
|
|
|
|
|
|
|
<Accordion.Collapse className='bg-light' eventKey={gitUIPanels.GITHUB}> |
|
|
|
|
|
|
|
<div className="px-2 py-2"> |
|
|
|
|
|
|
|
<GetDeviceCode></GetDeviceCode> |
|
|
|
|
|
|
|
<hr></hr> |
|
|
|
|
|
|
|
<GitHubCredentials></GitHubCredentials> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</Accordion.Collapse> |
|
|
|
|
|
|
|
<hr></hr> |
|
|
|
<LogNavigation eventKey={gitUIPanels.LOG} activePanel={activePanel} callback={setActivePanel} /> |
|
|
|
<LogNavigation eventKey={gitUIPanels.LOG} activePanel={activePanel} callback={setActivePanel} /> |
|
|
|
<Accordion.Collapse className='bg-light' eventKey={gitUIPanels.LOG}> |
|
|
|
<Accordion.Collapse className='bg-light' eventKey={gitUIPanels.LOG}> |
|
|
|
<div className="px-2 py-2"> |
|
|
|
<div className="px-2 py-2"> |
|
|
|