MCPcopy Create free account
hub / github.com/TechJeeper/Printventory / refreshUIContent

Function refreshUIContent

renderer.js:10845–10858  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10843 window.electron.on('manage-thumbnails-request', async (filePath) => {
10844 try {
10845 await showManageThumbnailsModal(filePath);
10846 } catch (error) {
10847 console.error('Error showing manage thumbnails modal:', error);
10848 alert('Error opening thumbnail manager: ' + error.message);
10849 }
10850 });
10851
10852 // Handle client-side command execution (for server mode)
10853 window.electron.on('execute-client-command', async (commandData) => {
10854 try {
10855 if (!commandData || !commandData.type) {
10856 console.error('Invalid command data:', commandData);
10857 return;
10858 }
10859
10860 const { type, filePath, slicerName, slicerPath, isZipEntry, zipPath, entryPath } = commandData;
10861

Callers 1

renderer.jsFile · 0.85

Calls 1

renderFilesFunction · 0.85

Tested by

no test coverage detected