Skip to content

Commit

Permalink
ui: update wf object can be seen in holdingpen UI
Browse files Browse the repository at this point in the history
Signed-off-by: Antonio Cesarano <[email protected]>

* edit hep mapping to ignore conflicts field
* add a card in the holdingpen page to show update records
  • Loading branch information
ammirate authored and david-caro committed Oct 28, 2017
1 parent 420225b commit f04db04
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
5 changes: 5 additions & 0 deletions inspirehep/modules/workflows/mappings/holdingpen/hep.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
"properties": {
"_extra_data": {
"properties": {
"conflicts": {
"type": "object",
"include_in_all": false,
"enabled": false
},
"is-update": {
"type": "boolean"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ <h3 class="text-center header-text">

<holding-pen-dashboard-item
template="{{url_for('static', filename='node_modules/inspirehep-search-js/dist/templates/inspirehep-holdingpen-js/dashboard_stat_block.html')}}"
filter_string="source=arXiv&workflow_name=HEP"
filter_string="source=arXiv&workflow_name=HEP&is-update=false"
secondary_filter="status"
section_title="arxiv harvests">
</holding-pen-dashboard-item>
Expand All @@ -84,6 +84,16 @@ <h3 class="text-center header-text">

<div class="row overview-container">

<div class="col-md-3 col-sm-6">

<holding-pen-dashboard-item
template="{{url_for('static', filename='node_modules/inspirehep-search-js/dist/templates/inspirehep-holdingpen-js/dashboard_stat_block.html')}}"
filter_string="is-update=true&workflow_name=HEP"
secondary_filter="status"
section_title="harvests updates">
</holding-pen-dashboard-item>
</div>

<div class="col-md-3 col-sm-6">

<holding-pen-dashboard-item
Expand Down

0 comments on commit f04db04

Please sign in to comment.