Page MenuHomeSoftware Heritage

Display 'Save code now' request task execution info on admin user demand
ClosedPublic

Authored by anlambert on Sep 2 2019, 5:59 PM.

Details

Summary

Add an info button in a new column of the accepted 'Save code now' requests list available in the admin interface.

By clicking on it, a popover will be displayed while a fetch request will be sent to the backend to get the loading task
execution info (if available) associated to the 'Save code now' request.

Once the response of the fetch request is received, task execution info data will be formatted and displayed in a table.

To get a better idea on how it looks, see

and

Related T1976

Depends on D1936

Diff Detail

Repository
rDWAPPS Web applications
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Update: Move the implemented UI feature from the public 'Save code now' requests list
to the one only available for the admin user (let's keep the dirty details out of sight
from the wild).

anlambert retitled this revision from Display 'Save code now' request task execution info on user demand to Display 'Save code now' request task execution info on admin user demand.Sep 3 2019, 2:23 PM
anlambert edited the summary of this revision. (Show Details)
ardumont added a subscriber: ardumont.

sounds good.

I guess you'll add some cypress tests later ;)

This revision is now accepted and ready to land.Sep 5 2019, 2:03 PM

Yes I will add cypress tests later as I need to mock some api responses first. As this is an admin feature, the priority is less than public ones.

This revision was automatically updated to reflect the committed changes.