Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
nomad-FAIR
Commits
bfa4100c
Commit
bfa4100c
authored
Feb 12, 2020
by
Markus Scheidgen
Browse files
Order and selection of ids/metadata in repo entry details and view.
parent
0da5a4b6
Pipeline
#69099
passed with stages
in 14 minutes and 29 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
gui/src/components/entry/RepoEntryView.js
View file @
bfa4100c
...
...
@@ -132,16 +132,16 @@ class RepoEntryView extends React.Component {
<
Quantity
column
style
=
{{
maxWidth
:
350
}}
>
<
Quantity
quantity
=
"
calc_id
"
label
=
{
`
${
domain
.
entryLabel
}
id`
}
noWrap
withClipboard
{...
quantityProps
}
/
>
<
Quantity
quantity
=
"
pid
"
label
=
'
PID
'
loading
=
{
loading
}
placeholder
=
"
not yet assigned
"
noWrap
{...
quantityProps
}
withClipboard
/>
<
Quantity
quantity
=
"
raw_id
"
label
=
'
raw id
'
loading
=
{
loading
}
noWrap
{...
quantityProps
}
withClipboard
/>
<
Quantity
quantity
=
"
external_id
"
label
=
'
external id
'
loading
=
{
loading
}
noWrap
{...
quantityProps
}
withClipboard
/>
<
Quantity
quantity
=
"
mainfile
"
loading
=
{
loading
}
noWrap
ellipsisFront
{...
quantityProps
}
withClipboard
/>
<
Quantity
quantity
=
"
calc_hash
"
label
=
{
`
${
domain
.
entryLabel
}
hash`
}
loading
=
{
loading
}
noWrap
{...
quantityProps
}
/
>
<
Quantity
quantity
=
"
upload_id
"
label
=
'
upload id
'
{...
quantityProps
}
noWrap
withClipboard
/>
<
Quantity
quantity
=
"
upload_time
"
label
=
'
upload time
'
noWrap
{...
quantityProps
}
>
<
Typography
noWrap
>
{
new
Date
(
calcData
.
upload_time
*
1000
).
toLocaleString
()}
<
/Typography
>
<
/Quantity
>
<
Quantity
quantity
=
'
mainfile
'
loading
=
{
loading
}
noWrap
ellipsisFront
{...
quantityProps
}
withClipboard
/>
<
Quantity
quantity
=
"
calc_hash
"
label
=
{
`
${
domain
.
entryLabel
}
hash`
}
loading
=
{
loading
}
noWrap
{...
quantityProps
}
/
>
<
Quantity
quantity
=
"
raw_id
"
label
=
'
raw id
'
loading
=
{
loading
}
noWrap
{...
quantityProps
}
withClipboard
/>
<
Quantity
quantity
=
"
external_id
"
label
=
'
external id
'
loading
=
{
loading
}
noWrap
{...
quantityProps
}
withClipboard
/>
<
Quantity
quantity
=
"
last_processing
"
label
=
'
last processing
'
loading
=
{
loading
}
placeholder
=
"
not processed
"
noWrap
{...
quantityProps
}
>
<
Typography
noWrap
>
{
new
Date
(
calcData
.
last_processing
*
1000
).
toLocaleString
()}
...
...
gui/src/components/search/EntryList.js
View file @
bfa4100c
...
...
@@ -264,18 +264,10 @@ export class EntryListUnstyled extends React.Component {
<
Quantity
column
>
{
/* <Quantity quantity="pid" label='PID' placeholder="not yet assigned" noWrap data={row} withClipboard /> */
}
<
Quantity
quantity
=
"
calc_id
"
label
=
{
`
${
domain
.
entryLabel
}
id`
}
noWrap
withClipboard
data
=
{
row
}
/
>
<
Quantity
quantity
=
"
upload_id
"
label
=
'
upload id
'
data
=
{
row
}
noWrap
withClipboard
/>
<
Quantity
quantity
=
"
raw_id
"
label
=
{
`raw id`
}
noWrap
withClipboard
data
=
{
row
}
/
>
<
Quantity
quantity
=
"
external_id
"
label
=
{
`external id`
}
noWrap
withClipboard
data
=
{
row
}
/
>
<
Quantity
quantity
=
'
mainfile
'
noWrap
ellipsisFront
data
=
{
row
}
withClipboard
/>
<
Quantity
quantity
=
"
upload_time
"
label
=
'
upload time
'
noWrap
data
=
{
row
}
>
<
Typography
noWrap
>
{
new
Date
(
row
.
upload_time
*
1000
).
toLocaleString
()}
<
/Typography
>
<
/Quantity
>
<
Quantity
quantity
=
"
last_processing
"
label
=
'
processing version
'
noWrap
placeholder
=
"
not processed
"
data
=
{
row
}
>
<
Typography
noWrap
>
{
row
.
nomad_version
}
/{row.nomad_commit
}
<
/Typography
>
<
/Quantity
>
<
Quantity
quantity
=
"
upload_id
"
label
=
'
upload id
'
data
=
{
row
}
noWrap
withClipboard
/>
<
/Quantity
>
<
/div
>
<
/div
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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