mirror of
https://github.com/thegeneralist01/archivr
synced 2026-07-21 18:55:36 +02:00
fix: capture popup non-persistance
- Save and restore dialog open/closed state in sessionStorage (App.jsx) - Persist form data: locator, error, busy, jobStatus, jobUid (CaptureDialog.jsx) - Auto-resume polling if capture job was in progress before page refresh - Only clear form on fresh user click, not when restoring from refresh - Clean up sessionStorage when capture completes successfully Fixes: Capture pop-up disappears on page refresh with unsaved data
This commit is contained in:
parent
2502de45b6
commit
d6b52ba06c
5 changed files with 158 additions and 51 deletions
40
crates/archivr-server/static/assets/index-Bysig1_i.js
Normal file
40
crates/archivr-server/static/assets/index-Bysig1_i.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -4,7 +4,7 @@
|
|||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Archivr</title>
|
||||
<script type="module" crossorigin src="/assets/index-MmGgQJvV.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-Bysig1_i.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-CprXPmri.css">
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue