@openneuro/app 4.2.2 → 4.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openneuro/app",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.3",
|
|
4
4
|
"description": "React JS web frontend for the OpenNeuro platform.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "public/client.js",
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"@elastic/apm-rum": "5.9.1",
|
|
20
20
|
"@emotion/react": "11.6.0",
|
|
21
21
|
"@emotion/styled": "11.6.0",
|
|
22
|
-
"@openneuro/client": "^4.2.
|
|
23
|
-
"@openneuro/components": "^4.2.
|
|
22
|
+
"@openneuro/client": "^4.2.3",
|
|
23
|
+
"@openneuro/components": "^4.2.3",
|
|
24
24
|
"babel-runtime": "^6.26.0",
|
|
25
|
-
"bids-validator": "1.8.
|
|
25
|
+
"bids-validator": "1.8.6",
|
|
26
26
|
"bytes": "^3.0.0",
|
|
27
27
|
"comlink": "^4.0.5",
|
|
28
28
|
"core-js": "^3.3.2",
|
|
@@ -121,5 +121,5 @@
|
|
|
121
121
|
"publishConfig": {
|
|
122
122
|
"access": "public"
|
|
123
123
|
},
|
|
124
|
-
"gitHead": "
|
|
124
|
+
"gitHead": "423d7a2ba339e178f009e894de5e2a0f18b7d46d"
|
|
125
125
|
}
|
|
@@ -194,14 +194,20 @@ const DraftContainer: React.FC<DraftContainerProps> = ({ dataset }) => {
|
|
|
194
194
|
/>
|
|
195
195
|
)}
|
|
196
196
|
renderFiles={() => (
|
|
197
|
-
<
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
197
|
+
<ReadMore
|
|
198
|
+
fileTree={true}
|
|
199
|
+
id="collapse-tree"
|
|
200
|
+
expandLabel="Expand File Tree"
|
|
201
|
+
collapseLabel="Collapse File Tree">
|
|
202
|
+
<Files
|
|
203
|
+
datasetId={datasetId}
|
|
204
|
+
snapshotTag={null}
|
|
205
|
+
datasetName={dataset.draft.description.Name}
|
|
206
|
+
files={dataset.draft.files}
|
|
207
|
+
editMode={hasEdit}
|
|
208
|
+
datasetPermissions={dataset.permissions}
|
|
209
|
+
/>
|
|
210
|
+
</ReadMore>
|
|
205
211
|
)}
|
|
206
212
|
renderReadMe={() => (
|
|
207
213
|
<MetaDataBlock
|
|
@@ -218,7 +224,7 @@ const DraftContainer: React.FC<DraftContainerProps> = ({ dataset }) => {
|
|
|
218
224
|
<ReadMore
|
|
219
225
|
id="readme"
|
|
220
226
|
expandLabel="Read More"
|
|
221
|
-
|
|
227
|
+
collapseLabel="Collapse">
|
|
222
228
|
<Markdown>{dataset.draft.readme || 'N/A'}</Markdown>
|
|
223
229
|
</ReadMore>
|
|
224
230
|
</EditDescriptionField>
|
|
@@ -173,8 +173,7 @@ const SnapshotContainer: React.FC<SnapshotContainerProps> = ({
|
|
|
173
173
|
fileTree={true}
|
|
174
174
|
id="collapse-tree"
|
|
175
175
|
expandLabel="Read More"
|
|
176
|
-
|
|
177
|
-
>
|
|
176
|
+
collapseLabel="Collapse">
|
|
178
177
|
<Files
|
|
179
178
|
datasetId={datasetId}
|
|
180
179
|
snapshotTag={snapshot.tag}
|
|
@@ -192,8 +191,7 @@ const SnapshotContainer: React.FC<SnapshotContainerProps> = ({
|
|
|
192
191
|
<ReadMore
|
|
193
192
|
id="readme"
|
|
194
193
|
expandLabel="Read More"
|
|
195
|
-
|
|
196
|
-
>
|
|
194
|
+
collapseLabel="Collapse">
|
|
197
195
|
<Markdown>
|
|
198
196
|
{snapshot.readme == null ? 'N/A' : snapshot.readme}
|
|
199
197
|
</Markdown>
|
|
@@ -378,8 +376,7 @@ const SnapshotContainer: React.FC<SnapshotContainerProps> = ({
|
|
|
378
376
|
isOpen={deprecatedmodalIsOpen}
|
|
379
377
|
toggle={() => setDeprecatedModalIsOpen(prevIsOpen => !prevIsOpen)}
|
|
380
378
|
closeText={'close'}
|
|
381
|
-
className="deprecated-modal"
|
|
382
|
-
>
|
|
379
|
+
className="deprecated-modal">
|
|
383
380
|
<p>
|
|
384
381
|
You have selected a deprecated version. The author of the dataset
|
|
385
382
|
does not recommend this specific version.
|
|
@@ -437,8 +434,7 @@ const SnapshotLoader: React.FC<SnapshotLoaderProps> = ({ dataset, tag }) => {
|
|
|
437
434
|
datasetId: dataset.id,
|
|
438
435
|
fetchMore,
|
|
439
436
|
error: null,
|
|
440
|
-
}}
|
|
441
|
-
>
|
|
437
|
+
}}>
|
|
442
438
|
<SnapshotContainer
|
|
443
439
|
dataset={dataset}
|
|
444
440
|
tag={tag}
|