Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
beat
beat.editor
Commits
7915a904
Commit
7915a904
authored
Jan 10, 2018
by
Jaden DIEFENBAUGH
Browse files
reorganize component files into subfolders
parent
ba9940c2
Changes
25
Hide whitespace changes
Inline
Side-by-side
src/components/EntityDetail.jsx
View file @
7915a904
...
...
@@ -27,12 +27,12 @@ import {
import
type
{
BeatObject
}
from
'
@helpers/beat
'
;
import
ValidSchemaBadge
from
'
./ValidSchemaBadge.jsx
'
;
import
DataformatEditorContainer
from
'
./
D
ataformat
Editor.jsx
'
;
import
AlgorithmEditorContainer
from
'
./
A
lgorithm
Editor.jsx
'
;
import
LibraryEditorContainer
from
'
./
L
ibrary
Editor.jsx
'
;
import
DatabaseEditorContainer
from
'
./
D
atabase
Editor.jsx
'
;
import
ExperimentEditorContainer
from
'
./
E
xperiment
Editor.jsx
'
;
import
ToolchainEditorContainer
from
'
./
T
oolchain
Editor.jsx
'
;
import
DataformatEditorContainer
from
'
./
d
ataformat
'
;
import
AlgorithmEditorContainer
from
'
./
a
lgorithm
'
;
import
LibraryEditorContainer
from
'
./
l
ibrary
'
;
import
DatabaseEditorContainer
from
'
./
d
atabase
'
;
import
ExperimentEditorContainer
from
'
./
e
xperiment
'
;
import
ToolchainEditorContainer
from
'
./
t
oolchain
'
;
type
Props
=
{
match
:
any
,
...
...
src/components/AlgorithmEditor.jsx
→
src/components/
algorithm/
AlgorithmEditor.jsx
View file @
7915a904
...
...
@@ -24,11 +24,11 @@ import type { AlgorithmValidatorObject, BeatObject } from '@helpers/beat';
import
*
as
Selectors
from
'
@store/selectors.js
'
;
import
CacheInput
from
'
./CacheInput.jsx
'
;
import
ValidSchemaBadge
from
'
./ValidSchemaBadge.jsx
'
;
import
DeleteInputBtn
from
'
./DeleteInputBtn.jsx
'
;
import
TypedField
from
'
./TypedField.jsx
'
;
import
{
getDefaultEntityObject
}
from
'
./EntityDetail.jsx
'
;
import
CacheInput
from
'
.
.
/CacheInput.jsx
'
;
import
ValidSchemaBadge
from
'
.
.
/ValidSchemaBadge.jsx
'
;
import
DeleteInputBtn
from
'
.
.
/DeleteInputBtn.jsx
'
;
import
TypedField
from
'
.
.
/TypedField.jsx
'
;
import
{
getDefaultEntityObject
}
from
'
.
.
/EntityDetail.jsx
'
;
type
Props
=
{
data
:
BeatObject
,
...
...
src/components/AlgorithmEditor.spec.jsx
→
src/components/
algorithm/
AlgorithmEditor.spec.jsx
View file @
7915a904
...
...
@@ -5,7 +5,7 @@ import { mount } from 'enzyme';
import
sinon
from
'
sinon
'
;
import
{
spies
}
from
'
@test
'
;
import
{
AlgorithmEditor
as
C
}
from
'
.
/AlgorithmEditor.jsx
'
;
import
{
AlgorithmEditor
as
C
}
from
'
.
'
;
import
testAlgs
from
'
@test/test_algs.json
'
;
import
testDfs
from
'
@test/test_dfs.json
'
;
...
...
src/components/algorithm/index.js
0 → 100644
View file @
7915a904
// @flow
import
ConnectedAlgorithmEditor
,
{
AlgorithmEditor
}
from
'
./AlgorithmEditor.jsx
'
;
export
{
AlgorithmEditor
,
};
export
default
ConnectedAlgorithmEditor
;
src/components/DatabaseEditor.jsx
→
src/components/
database/
DatabaseEditor.jsx
View file @
7915a904
...
...
@@ -33,10 +33,10 @@ import type { BeatObject } from '@helpers/beat';
import
*
as
Selectors
from
'
@store/selectors.js
'
;
import
ValidSchemaBadge
from
'
./ValidSchemaBadge.jsx
'
;
import
CacheInput
from
'
./CacheInput.jsx
'
;
import
DeleteInputBtn
from
'
./DeleteInputBtn.jsx
'
;
import
TypedField
from
'
./TypedField.jsx
'
;
import
ValidSchemaBadge
from
'
.
.
/ValidSchemaBadge.jsx
'
;
import
CacheInput
from
'
.
.
/CacheInput.jsx
'
;
import
DeleteInputBtn
from
'
.
.
/DeleteInputBtn.jsx
'
;
import
TypedField
from
'
.
.
/TypedField.jsx
'
;
type
Props
=
{
...
...
src/components/DatabaseEditor.spec.jsx
→
src/components/
database/
DatabaseEditor.spec.jsx
View file @
7915a904
...
...
@@ -5,7 +5,7 @@ import { mount } from 'enzyme';
import
sinon
from
'
sinon
'
;
import
{
spies
}
from
'
@test
'
;
import
{
DatabaseEditor
as
C
}
from
'
.
/DatabaseEditor.jsx
'
;
import
{
DatabaseEditor
as
C
}
from
'
.
'
;
import
testDbs
from
'
@test/test_dbs.json
'
;
import
testDfs
from
'
@test/test_dfs.json
'
;
...
...
src/components/database/index.js
0 → 100644
View file @
7915a904
// @flow
import
ConnectedDatabaseEditor
,
{
DatabaseEditor
}
from
'
./DatabaseEditor.jsx
'
;
export
{
DatabaseEditor
,
};
export
default
ConnectedDatabaseEditor
;
src/components/DataformatEditor.jsx
→
src/components/
dataformat/
DataformatEditor.jsx
View file @
7915a904
...
...
@@ -27,10 +27,10 @@ import type { MapStateToProps, MapDispatchToProps } from 'react-redux';
import
*
as
Selectors
from
'
@store/selectors.js
'
;
import
ValidSchemaBadge
from
'
./ValidSchemaBadge.jsx
'
;
import
CacheInput
from
'
./CacheInput.jsx
'
;
import
DeleteInputBtn
from
'
./DeleteInputBtn.jsx
'
;
import
TypedField
from
'
./TypedField.jsx
'
;
import
ValidSchemaBadge
from
'
.
.
/ValidSchemaBadge.jsx
'
;
import
CacheInput
from
'
.
.
/CacheInput.jsx
'
;
import
DeleteInputBtn
from
'
.
.
/DeleteInputBtn.jsx
'
;
import
TypedField
from
'
.
.
/TypedField.jsx
'
;
import
{
nameValidator
,
BUILTIN_TYPES
}
from
'
@helpers/beat
'
;
import
type
{
...
...
src/components/DataformatEditor.spec.jsx
→
src/components/
dataformat/
DataformatEditor.spec.jsx
View file @
7915a904
...
...
@@ -5,7 +5,7 @@ import { mount } from 'enzyme';
import
sinon
from
'
sinon
'
;
import
{
spies
}
from
'
@test
'
;
import
{
DataformatEditor
as
C
}
from
'
.
/DataformatEditor.jsx
'
;
import
{
DataformatEditor
as
C
}
from
'
.
'
;
import
testDfs
from
'
@test/test_dfs.json
'
;
...
...
src/components/dataformat/index.js
0 → 100644
View file @
7915a904
// @flow
import
ConnectedDataformatEditor
,
{
DataformatEditor
}
from
'
./DataformatEditor.jsx
'
;
export
{
DataformatEditor
,
};
export
default
ConnectedDataformatEditor
;
src/components/ExperimentEditor.jsx
→
src/components/
experiment/
ExperimentEditor.jsx
View file @
7915a904
...
...
@@ -33,13 +33,13 @@ import { changeObjFieldName } from '@helpers';
import
*
as
Selectors
from
'
@store/selectors.js
'
;
import
ValidSchemaBadge
from
'
./ValidSchemaBadge.jsx
'
;
import
CacheInput
from
'
./CacheInput.jsx
'
;
import
DeleteInputBtn
from
'
./DeleteInputBtn.jsx
'
;
import
TypedField
from
'
./TypedField.jsx
'
;
import
ValidSchemaBadge
from
'
.
.
/ValidSchemaBadge.jsx
'
;
import
CacheInput
from
'
.
.
/CacheInput.jsx
'
;
import
DeleteInputBtn
from
'
.
.
/DeleteInputBtn.jsx
'
;
import
TypedField
from
'
.
.
/TypedField.jsx
'
;
import
GraphicalEditor
from
'
.
/GraphicalEditor.jsx
'
;
import
type
{
BlockSet
}
from
'
.
/T
oolchain
Block.jsx
'
;
import
{
GraphicalEditor
}
from
'
.
./toolchain
'
;
import
type
{
BlockSet
}
from
'
.
./t
oolchain
'
;
import
ExperimentModal
from
'
./ExperimentModal.jsx
'
;
...
...
src/components/ExperimentEditor.spec.jsx
→
src/components/
experiment/
ExperimentEditor.spec.jsx
View file @
7915a904
...
...
@@ -6,7 +6,7 @@ import sinon from 'sinon';
import
{
spies
}
from
'
@test
'
;
import
*
as
Selectors
from
'
@store/selectors.js
'
;
import
{
ExperimentEditor
as
C
}
from
'
.
/ExperimentEditor.jsx
'
;
import
{
ExperimentEditor
as
C
}
from
'
.
'
;
import
testAlgs
from
'
@test/test_algs.json
'
;
import
testDbs
from
'
@test/test_dbs.json
'
;
...
...
src/components/ExperimentModal.jsx
→
src/components/
experiment/
ExperimentModal.jsx
View file @
7915a904
File moved
src/components/experiment/index.js
0 → 100644
View file @
7915a904
// @flow
import
ConnectedExperimentEditor
,
{
ExperimentEditor
}
from
'
./ExperimentEditor.jsx
'
;
export
{
ExperimentEditor
,
};
export
default
ConnectedExperimentEditor
;
src/components/LibraryEditor.jsx
→
src/components/
library/
LibraryEditor.jsx
View file @
7915a904
...
...
@@ -30,10 +30,10 @@ import { changeObjFieldName } from '@helpers';
import
*
as
Selectors
from
'
@store/selectors.js
'
;
import
ValidSchemaBadge
from
'
./ValidSchemaBadge.jsx
'
;
import
CacheInput
from
'
./CacheInput.jsx
'
;
import
DeleteInputBtn
from
'
./DeleteInputBtn.jsx
'
;
import
TypedField
from
'
./TypedField.jsx
'
;
import
ValidSchemaBadge
from
'
.
.
/ValidSchemaBadge.jsx
'
;
import
CacheInput
from
'
.
.
/CacheInput.jsx
'
;
import
DeleteInputBtn
from
'
.
.
/DeleteInputBtn.jsx
'
;
import
TypedField
from
'
.
.
/TypedField.jsx
'
;
type
Props
=
{
data
:
BeatObject
,
...
...
src/components/LibraryEditor.spec.jsx
→
src/components/
library/
LibraryEditor.spec.jsx
View file @
7915a904
...
...
@@ -5,7 +5,7 @@ import { mount } from 'enzyme';
import
sinon
from
'
sinon
'
;
import
{
spies
}
from
'
@test
'
;
import
{
LibraryEditor
as
C
}
from
'
.
/LibraryEditor.jsx
'
;
import
{
LibraryEditor
as
C
}
from
'
.
'
;
import
testLibs
from
'
@test/test_libs.json
'
;
...
...
src/components/library/index.js
0 → 100644
View file @
7915a904
// @flow
import
ConnectedLibraryEditor
,
{
LibraryEditor
}
from
'
./LibraryEditor.jsx
'
;
export
{
LibraryEditor
,
};
export
default
ConnectedLibraryEditor
;
src/components/GraphicalEditor.css
→
src/components/
toolchain/
GraphicalEditor.css
View file @
7915a904
File moved
src/components/GraphicalEditor.jsx
→
src/components/
toolchain/
GraphicalEditor.jsx
View file @
7915a904
File moved
src/components/ToolchainBlock.jsx
→
src/components/
toolchain/
ToolchainBlock.jsx
View file @
7915a904
File moved
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment