update: Add Global Search on Header, Add Global Audit log for all actions.
This commit is contained in:
@@ -844,8 +844,8 @@ function StepFlash({ device, bespokeOverride, onFlashed }) {
|
||||
? `/api/manufacturing/devices/${sn}/partitions.bin?hw_type_override=${bespokeOverride.hwFamily}`
|
||||
: `/api/manufacturing/devices/${sn}/partitions.bin`
|
||||
const nvsUrl = bespokeOverride
|
||||
? `/api/manufacturing/devices/${sn}/nvs.bin?hw_type_override=${bespokeOverride.hwFamily}&hw_revision_override=1.0&nvs_profile=${nvsProfile}`
|
||||
: `/api/manufacturing/devices/${sn}/nvs.bin?nvs_profile=${nvsProfile}`
|
||||
? `/api/manufacturing/devices/${sn}/nvs.bin?hw_type_override=${bespokeOverride.hwFamily}&hw_revision_override=1.0&nvs_schema=${nvsProfile}`
|
||||
: `/api/manufacturing/devices/${sn}/nvs.bin?nvs_schema=${nvsProfile}`
|
||||
const fwUrl = bespokeOverride
|
||||
? `/api/firmware/bespoke/${bespokeOverride.firmware.channel}/${bespokeOverride.firmware.version}/firmware.bin`
|
||||
: `/api/manufacturing/devices/${sn}/firmware.bin`
|
||||
@@ -1037,17 +1037,15 @@ function StepFlash({ device, bespokeOverride, onFlashed }) {
|
||||
|
||||
{error && <div style={{ marginBottom: 'var(--space-3)' }}><ErrorBox msg={error} /></div>}
|
||||
|
||||
{/* Progress bars — shown while flashing */}
|
||||
{(flashing || blProgress > 0) && (
|
||||
<div style={{ display: 'flex', flexDirection: 'column', gap: 'var(--space-3)', marginBottom: 'var(--space-3)' }}>
|
||||
<div style={{ display: 'flex', gap: 'var(--space-4)' }}>
|
||||
<ProgressBar flex label="Bootloader (0x1000)" percent={blProgress} />
|
||||
<ProgressBar flex label="Partition Table (0x8000)" percent={partProgress} />
|
||||
</div>
|
||||
<ProgressBar label="NVS (0x9000)" percent={nvsProgress} />
|
||||
<ProgressBar label="Firmware (0x10000)" percent={fwProgress} />
|
||||
{/* Progress bars — always visible, idle at 0% */}
|
||||
<div style={{ display: 'flex', flexDirection: 'column', gap: 'var(--space-3)', marginBottom: 'var(--space-3)' }}>
|
||||
<div style={{ display: 'flex', gap: 'var(--space-4)' }}>
|
||||
<ProgressBar flex label="Bootloader (0x1000)" percent={blProgress} />
|
||||
<ProgressBar flex label="Partition Table (0x8000)" percent={partProgress} />
|
||||
</div>
|
||||
)}
|
||||
<ProgressBar label="NVS (0x9000)" percent={nvsProgress} />
|
||||
<ProgressBar label="Firmware (0x10000)" percent={fwProgress} />
|
||||
</div>
|
||||
|
||||
{/* Spacer */}
|
||||
<div style={{ flex: 1 }} />
|
||||
@@ -1109,7 +1107,7 @@ function StepFlash({ device, bespokeOverride, onFlashed }) {
|
||||
border: '1px solid var(--color-border)',
|
||||
overflow: 'hidden',
|
||||
display: 'flex', flexDirection: 'column',
|
||||
height: 320,
|
||||
minHeight: 320,
|
||||
}}>
|
||||
<div style={{
|
||||
padding: '8px 12px',
|
||||
|
||||
Reference in New Issue
Block a user