Commit 5134fb9
committed
Address copilot pass 8 on #2
- doctor.js: hideAddKeySection() at the start of the submit handler
(before awaiting runAll). Without this, a stale snippet from a
previous run remained visible — and clickable — during a new run,
so a user could copy or apply a snippet rooted at the wrong WebID.
- doctor.js: clearSignerOutput() when revealing the add-key section.
Without this, after diagnostics complete on a NEW WebID, the old
pubkey/snippet from the previous run was still visible until the
user clicked reconnect — same accidental-copy hazard.1 parent 86fc7a2 commit 5134fb9
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
| |||
186 | 190 | | |
187 | 191 | | |
188 | 192 | | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
189 | 197 | | |
190 | 198 | | |
191 | 199 | | |
| |||
0 commit comments