|
|
@ -4,7 +4,7 @@ import { loadFiles, setCallBacks } from '../lib/listeners' |
|
|
|
import { openDiff, openFile, openFolderInSameWindow, sendToMatomo, saveToken, setModifiedDecorator, setPlugin, setUntrackedDecorator, statusChanged } from '../lib/pluginActions' |
|
|
|
import { openDiff, openFile, openFolderInSameWindow, sendToMatomo, saveToken, setModifiedDecorator, setPlugin, setUntrackedDecorator, statusChanged } from '../lib/pluginActions' |
|
|
|
import { gitActionsContext, pluginActionsContext } from '../state/context' |
|
|
|
import { gitActionsContext, pluginActionsContext } from '../state/context' |
|
|
|
import { gitReducer } from '../state/gitreducer' |
|
|
|
import { gitReducer } from '../state/gitreducer' |
|
|
|
import { defaultGitState, defaultLoaderState, gitMatomoEventTypes, gitState, gitUIPanels, loaderState } from '../types' |
|
|
|
import { IGitUi, defaultGitState, defaultLoaderState, gitMatomoEventTypes, gitState, gitUIPanels, loaderState } from '../types' |
|
|
|
import { Accordion, Button } from "react-bootstrap"; |
|
|
|
import { Accordion, Button } from "react-bootstrap"; |
|
|
|
import { CommitMessage } from './buttons/commitmessage' |
|
|
|
import { CommitMessage } from './buttons/commitmessage' |
|
|
|
import { Commits } from './panels/commits' |
|
|
|
import { Commits } from './panels/commits' |
|
|
@ -31,9 +31,8 @@ import { GitHubCredentials } from './panels/githubcredentials' |
|
|
|
import { Setup } from './panels/setup' |
|
|
|
import { Setup } from './panels/setup' |
|
|
|
import { Init } from './panels/init' |
|
|
|
import { Init } from './panels/init' |
|
|
|
import { Disabled } from './disabled' |
|
|
|
import { Disabled } from './disabled' |
|
|
|
import { AppContext, platformContext } from '@remix-ui/app' |
|
|
|
import { AppContext, appPlatformTypes, platformContext } from '@remix-ui/app' |
|
|
|
import { Version } from './panels/version' |
|
|
|
import { Version } from './panels/version' |
|
|
|
import { IGitUi } from '@remix-api' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const gitPluginContext = React.createContext<gitState>(defaultGitState) |
|
|
|
export const gitPluginContext = React.createContext<gitState>(defaultGitState) |
|
|
|
export const loaderContext = React.createContext<loaderState>(defaultLoaderState) |
|
|
|
export const loaderContext = React.createContext<loaderState>(defaultLoaderState) |
|
|
@ -248,6 +247,8 @@ export const GitUI = (props: IGitUi) => { |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</Accordion.Collapse> |
|
|
|
</Accordion.Collapse> |
|
|
|
</Accordion> |
|
|
|
</Accordion> |
|
|
|
|
|
|
|
{ platform === appPlatformTypes.desktop && |
|
|
|
|
|
|
|
<Version /> } |
|
|
|
</pluginActionsContext.Provider> |
|
|
|
</pluginActionsContext.Provider> |
|
|
|
</gitActionsContext.Provider> |
|
|
|
</gitActionsContext.Provider> |
|
|
|
</loaderContext.Provider> |
|
|
|
</loaderContext.Provider> |
|
|
|