spacedrive icon indicating copy to clipboard operation
spacedrive copied to clipboard

[ENG-652] Improved job reports

Open jamiepine opened this issue 1 year ago • 4 comments

jamiepine avatar May 24 '23 03:05 jamiepine

ENG-652 Add more job report updates to jobs

Currently many jobs are lacking correct JobReportUpdate usage.

We can make use of JobReportUpdate::Message (with a tweak or two to the front end), and display messages such as "Copying file 12 of 400". Once the job is finalized we can also change this to "Copied 400 files to Desktop" (or similar).

All jobs could benefit greatly from this, but currently we only update the report and display it for the file identifier.

Deleting happens in a single action, so the only report here needs to be: Deleted {}, where {} is the last component of the path (temp.txt or Desktop, for example)

linear[bot] avatar May 24 '23 03:05 linear[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
spacedrive-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 24, 2023 8:33am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
spacedrive-landing ⬜️ Ignored (Inspect) May 24, 2023 8:33am

vercel[bot] avatar May 24 '23 03:05 vercel[bot]

A lot of the frond-end code in this PR won't merge well with my Job PR, so careful when you come back to this. Seems to be lots of conflict with main too.

jamiepine avatar Jun 02 '23 06:06 jamiepine

A lot of the frond-end code in this PR won't merge well with my Job PR, so careful when you come back to this. Seems to be lots of conflict with main too.

Thanks for the heads up! I don't mind re-doing it if it comes down to it, wasn't too difficult 🙏🏻

brxken128 avatar Jun 02 '23 06:06 brxken128