Page MenuHomeSoftware Heritage

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

Authored by anlambert on Mon, Sep 2, 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

anlambert created this revision.Mon, Sep 2, 5:59 PM
anlambert edited the summary of this revision. (Show Details)Mon, Sep 2, 6:03 PM
anlambert edited the summary of this revision. (Show Details)Tue, Sep 3, 11:33 AM
anlambert updated this revision to Diff 6528.Tue, Sep 3, 2:18 PM

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.Tue, Sep 3, 2:23 PM
anlambert edited the summary of this revision. (Show Details)
ardumont accepted this revision.Thu, Sep 5, 2:03 PM
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.Thu, Sep 5, 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.