UI for pushing data
-
Remove ErrorMapper (as it could be implemented directly in MongoDb) -
Add API route to retrieve error.tsv and error count -
Remove admin widget -
Add login/logout button to browser widget (not using AAI logo) -
Possibility to distinguish between unauthentified and unauthorized from the server? -
Ajax should fill up the err
object instead of simply printing to the console (withCallback.throwException
) -
Starting/Running & no file -> detect and remove -
On error it restarts all the time... -
Add edit menu (greyed for all but authorized users) -
Use the selected version as prop. -
Only show the edit menu for un-released versions and add notification (or change the color of the dropdown menu item) to tell curator he is looking at an un-released version. -
Fix bubble mechanism in RecordController
(latestDbVersion
andrecordVersion
) andRenderVersionedRecordLike
. -
Add OpenRefine link and a more complete description of the process with links to relevant doc -
Remove patch and empty patch spreadsheet -
Add second download option for success, being the current filter. -
Fetch status (must be done periodically). Note: js.timers.setInterval (see example) -
Upon submission, manual call to update status. - Pushing data with following states:
-
None - If errors -> = Failed
- No errors -> = Success
-
Starting - Spinner
-
Running - loading bar + "Status: current push: (y success, x errors)"
-
Success - Select Push/patch
- "Status: Last push was successful (y success). Step 1: download an empty spreadsheet. Step2: edit. Step 3: upload"
-
Failure - Same as success but Step 1 is "Status: Last push failed (y success, x errors). Download annotated file or empty spreadsheet"
-
Notes:
- log & records do not need to be saved on the server as they are saved in database (although overwritten each time).
- No display errors in real time since there will not be any stop button anyways. Better not to confuse the user.
- Releasing version is done in the admin tab (which is another task)
- Edit of a single item will not be implemented as it goes beyond the scope of working with spreadsheets.
Edited by mma227