Duet3D / DuetWebControl

A completely new web interface for the Duet electronics
GNU General Public License v3.0
406 stars 228 forks source link

[FeatureRequest]: Reload thumbnail when uploading file using RRF api #488

Open AndyEveritt opened 3 months ago

AndyEveritt commented 3 months ago

Is your feature request related to a problem? Please describe.

Currently if you override a file using the RRF API (such as the upload to printer option in many slicers), DWC will not reload the thumbnail for the new file unless manually refreshed.

Describe the solution you propose.

Cache the last modified date of each file, if the files date and the cached date are different, retrieve the thumbnail again.

Describe alternatives you've considered

No response

Provide any additional context or information.

No response