@@ -249,32 +249,32 @@ jobs:
249249
250250 # Version 1: With PIN modal showing (PIN setup view)
251251 html_with_pin = html_content.replace('refreshData();', f'''
252- // Inject sample data
253- applyServerData({sample_json}, "dev:client001");
254-
255- // Show PIN setup modal immediately for preview
256- setTimeout(() => {{
257- pinState.configured = false;
258- pinState.value = '';
259- showPinModal('setup');
260- }}, 100);
261- ' '' )
252+ // Inject sample data
253+ applyServerData({sample_json}, "dev:client001");
254+
255+ // Show PIN setup modal immediately for preview
256+ setTimeout(() => {{
257+ pinState.configured = false;
258+ pinState.value = '';
259+ showPinModal('setup');
260+ }}, 100);
261+ ''')
262262
263263 # Version 2: Without PIN modal (unlocked view)
264264 html_unlocked = html_content.replace('refreshData();', f'''
265- // Inject sample data and simulate unlocked state
266- pinState.configured = true;
267- pinState.value = 'PREVIEW'; // Simulated unlocked state for preview only
268- applyServerData({sample_json}, "dev:client001");
269-
270- // Force hide the PIN modal for the unlocked preview
271- setTimeout(() => {{
272- const modal = document.getElementById('pinModal');
273- if (modal) {{
274- modal.classList.add('hidden');
275- }}
276- }}, 200);
277- ' '' )
265+ // Inject sample data and simulate unlocked state
266+ pinState.configured = true;
267+ pinState.value = 'PREVIEW'; // Simulated unlocked state for preview only
268+ applyServerData({sample_json}, "dev:client001");
269+
270+ // Force hide the PIN modal for the unlocked preview
271+ setTimeout(() => {{
272+ const modal = document.getElementById('pinModal');
273+ if (modal) {{
274+ modal.classList.add('hidden');
275+ }}
276+ }}, 200);
277+ ''')
278278
279279 # For serial monitor, inject sample log data
280280 elif const_name == 'SERIAL_MONITOR_HTML':
0 commit comments