summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/ide/stores/state.js
blob: 61d120969462e757d3e2a0019cd21d0cc01ab68f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
export default () => ({
  canCommit: false,
  currentProjectId: '',
  currentBranchId: '',
  currentBlobView: 'repo-editor',
  discardPopupOpen: false,
  editMode: true,
  endpoints: {},
  isRoot: false,
  isInitialRoot: false,
  lastCommitPath: '',
  loading: false,
  onTopOfBranch: false,
  openFiles: [],
  selectedFile: null,
  path: '',
  parentTreeUrl: '',
  trees: {},
  projects: {},
  leftPanelCollapsed: false,
  rightPanelCollapsed: true,
  panelResizing: false,
});