Good night, Shemar here again. I back with another update on my progress so far for the week. I have been focusing on familiarizing myself with the pixel party website repository on GitHub and working on some changes in my own forked branched. 1. internship incentives - 81.9 $marmaj - I worked on implementing an off chain auto save function for the site - I worked on implementing a new View button and Modal for the site. 2. Added some code for auto saving. - added a new autoSaveFrame() function ```javascript // Set an interval to save the frame let intervalId = setInterval(autoSaveFrame, 30000); // Define the autoSaveFrame function function autoSaveFrame() { let message = null; let coauthor = null; let frameId = Drawboard.activeFrame; let boardData = JSON.stringify(Drawboard.board.toString().split(',').map(function(t) { return parseInt(t) })); let compressedData = StorageManager.compress(boardData); // Store the compressed data in localstorage localStorage.setItem("frame_" + frameId, compressedData); } ---------------------------------------------------------------------------------------------------------------- function getFrameData(frameId) { // Retrieve the compressed data from localstorage let compressedData = localStorage.getItem("frame_" + frameId); // Decompress and parse the data let boardData = StorageManager.decompress(compressedData); let parsedData = JSON.parse(`[${boardData}]`); return parsedData; } ----------------------------------------------------------------------------------------------------------------- // This implementation did not work and was altered slightly, I forgot to update in my notes. Will be corrected for next update on Monday. // Still working on a solution. ``` 3. Added some code for new View Model. - added new definitions to the Drawboard class - added a new button called 'View' - experimented with the new classes and functions. ```javascript // Disable and Enable Drawboard Drawboard.setDisabled(true); // In a Disabled State Drawboard.setDisabled(false); // In an Active State ------------------------------------------------------------------------------------------- // Temporary code for what happens // Currently experimenting with showing the image as a whole. Stay tuned for tmr with the updated notes. if (Drawboard.disabled) { ctx.fillStyle = 'rgba(200, 200, 200, 0.9)'; ctx.fillRect(0, 0, canvas.width, canvas.height); ctx.fillStyle = 'rgba(0, 0, 0, 0.5)'; ctx.fillText("Drawboard is disabled", 200, 200); return; } -------------------------------------------------------------------------------------------- // Placeholder button info. <button className="w-auto h-8 px-2 font-bold text-center uppercase transition duration-200 bg-green-400 rounded-l-md focus:outline-none hover:opacity-80 text-md text-theme-darker" onClick={() => { openDrawboard(frame.frameId); Drawboard.setDisabled(true); // or Drawboard.setDisabled(false); }} > View </button> ``` Total amount of $marmaj to be sent to shemar268abel.near = 81.9 $marmaj